refactor for better support with ch341 and other unreliable rs232 adapters
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
#This is the settings file, all comment lines should start with a hash mark.
|
||||
# Basic configuration options for the actual inverter polling process...
|
||||
|
||||
# The device to read from...
|
||||
# Use: /dev/ttyS0 if you have a serial device or /dev/hidraw0 if you're connecting via USB.
|
||||
device=/dev/ttyS0
|
||||
# Use: /dev/ttyS0 if you have a serial device,
|
||||
# /dev/ttyUSB0 if a USB<>Serial,
|
||||
# /dev/hidraw0 if you're connecting via the USB port on the inverter.
|
||||
|
||||
device=/dev/ttyUSB0
|
||||
|
||||
# How many times per hour is the program going to run...
|
||||
# This is used to calculate the PV & Load Watt Hours between runs...
|
||||
@@ -11,7 +14,7 @@ device=/dev/ttyS0
|
||||
# (120 = every 30 seconds)...
|
||||
run_interval=120
|
||||
|
||||
# This allos you to modify the amperage in case the inverter is giving an incorrect
|
||||
# This allows you to modify the amperage in case the inverter is giving an incorrect
|
||||
# reading compared to measurement tools. Normally this will remain '1'
|
||||
amperage_factor=1.0
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"server": "10.16.10.5",
|
||||
"server": "10.16.10.4",
|
||||
"port": "1883",
|
||||
"topic": "homeassistant",
|
||||
"devicename": "voltronic"
|
||||
|
||||
Reference in New Issue
Block a user