decrease modbus timeout
This commit is contained in:
parent
b35b19a007
commit
c02c770776
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class SDM630_MQTT:
|
|||
port=config["modbus"]["port"],
|
||||
unit_id=config["modbus"]["unit_id"],
|
||||
)
|
||||
self.modbus.timeout = 10
|
||||
self.modbus.timeout = 1
|
||||
|
||||
self.mqtt = mqtt.Client()
|
||||
self.mqtt_host = config["mqtt"]["host"]
|
||||
|
|
Loading…
Reference in a new issue