MatterVN / ModbusTCP2MQTT

Sungrow & SMA Solar Inverter addon for Home Assistant using mobusTCP
MIT License
68 stars 51 forks source link

Modbus client is not connected, attempting to reconnect #55

Open bows33r opened 1 year ago

bows33r commented 1 year ago

Hi! I cant get this to work, i get following message.

I have a SG20RT with the wifi dongle, Using port 8082 and http.

s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started [08:35:58] INFO: Configured'core-mosquitto' mqtt broker. [08:35:58] INFO: Generated config file. 2022-12-21 08:35:59 INFO Starting SunGather 0.3.8 2022-12-21 08:35:59 INFO Loaded config: config.sg 2022-12-21 08:35:59 INFO Loaded registers: //registers-sungrow.yaml 2022-12-21 08:35:59 INFO Registers file version: 0.2.0 2022-12-21 08:35:59 INFO Logging to console set to: INFO 2022-12-21 08:35:59 INFO Modbus client is not connected, attempting to reconnect 2022-12-21 08:35:59 INFO Connection: SungrowModbusWebClient_0.3.2(192.168.1.:8082) 2022-12-21 08:36:12 WARNING No data returned for read, 4999:1 No data returned for read, 4999:1 2022-12-21 08:36:12 INFO Model detection failed, please set model in config.py 2022-12-21 08:36:12 INFO Loading Export: exports\mqtt 2022-12-21 08:36:12 ERROR Failed loading export: 'NoneType' object has no attribute 'replace' Please make sure mqtt.py exists in the exports folder Failed loading export: 'NoneType' object has no attribute 'replace' Please make sure mqtt.py exists in the exports folder 2022-12-21 08:36:12 INFO Modbus, Connecting new session 2022-12-21 08:36:22 WARNING No data returned for read, 5000:100 No data returned for read, 5000:100 2022-12-21 08:36:27 WARNING No data returned for read, 5100:100 No data returned for read, 5100:100 2022-12-21 08:36:32 WARNING No data returned for hold, 4999:10 No data returned for hold, 4999:10 2022-12-21 08:36:37 WARNING No data returned for hold, 5009:10 No data returned for hold, 5009:10 2022-12-21 08:36:42 WARNING No data returned for hold, 5034:10 No data returned for hold, 5034:10 2022-12-21 08:36:42 INFO Disconnecting: SungrowModbusWebClient_0.3.2(192.168.1.:8082) 2022-12-21 08:36:42 INFO Disconnecting: None 2022-12-21 08:36:42 WARNING Data collection failed, skipped exporting data. Retying in 30 secs Data collection failed, skipped exporting data. Retying in 30 secs 2022-12-21 08:36:42 WARNING SunGather is taking 30.02 to process, which is longer than interval 30, Please increase scan interval