MatterVN / ModbusTCP2MQTT

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

Data collection failed #67

Closed farmamick closed 8 months ago

farmamick commented 8 months ago

Hi everyone.

Just trying to get my sungrow inverter connected to Home Integration. I've got Wifi-S dongle with a SG15RT invertor.

I can manually connect, with a browser, to the dongle at 192.168.5.52

But the ModbusTCP2MQTT addon is throwing errors, and doesn't seem to connect.

Basic config is as follows: Inverter_host: 192.168.5.52 Inverter_port: 8082 Inverter_model: SG15RT Smart_meter: true Connection: HTTP Scan_level: BASIC Scan_interval: 60 Scan_timeout: 5 Log_level: DEBUG

Log is below.

I'm very new to all of this - any thoughts please?

023-11-25 21:44:41 WARNING No data returned for hold, 4999:10 No data returned for hold, 4999:10 2023-11-25 21:44:41 DEBUG Modbus Error: [Connection] Failed to connect[SungrowModbusWebClient_0.3.2(192.168.5.52:8082)]') 2023-11-25 21:44:41 INFO Disconnecting: SungrowModbusWebClient_0.3.2(192.168.5.52:8082) 2023-11-25 21:44:41 INFO Disconnecting: None 2023-11-25 21:44:41 WARNING Data collection failed, skipped exporting data. Retying in 30 secs Data collection failed, skipped exporting data. Retying in 30 secs 2023-11-25 21:44:41 DEBUG Processing Time: 18.02 secs 2023-11-25 21:44:41 INFO Next scrape in 11 secs 2023-11-25 21:44:53 DEBUG Checking Modbus Connection 2023-11-25 21:44:53 INFO Modbus client is not connected, attempting to reconnect 2023-11-25 21:44:53 INFO Connection: SungrowModbusWebClient_0.3.2(192.168.5.52:8082) 2023-11-25 21:44:58 DEBUG Connection to websocket server failed: ws://192.168.5.52:8082/ws/home/overview, Message: timed out 2023-11-25 21:45:01 DEBUG Scraping: read, 5000:100 2023-11-25 21:45:01 DEBUG load_registers: read, 5000:100 2023-11-25 21:45:06 DEBUG Connection to websocket server failed: ws://192.168.5.52:8082/ws/home/overview, Message: timed out 2023-11-25 21:45:06 WARNING No data returned for read, 5000:100 No data returned for read, 5000:100 2023-11-25 21:45:06 DEBUG Modbus Error: [Connection] Failed to connect[SungrowModbusWebClient_0.3.2(192.168.5.52:8082)]') 2023-11-25 21:45:06 DEBUG Scraping: hold, 4999:10 2023-11-25 21:45:06 DEBUG load_registers: hold, 4999:10 2023-11-25 21:45:11 DEBUG Connection to websocket server failed: ws://192.168.5.52:8082/ws/home/overview, Message: timed out 2023-11-25 21:45:11 WARNING No data returned for hold, 4999:10 No data returned for hold, 4999:10 2023-11-25 21:45:11 DEBUG Modbus Error: [Connection] Failed to connect[SungrowModbusWebClient_0.3.2(192.168.5.52:8082)]') 2023-11-25 21:45:11 INFO Disconnecting: SungrowModbusWebClient_0.3.2(192.168.5.52:8082) 2023-11-25 21:45:11 INFO Disconnecting: None 2023-11-25 21:45:11 WARNING Data collection failed, skipped exporting data. Retying in 30 secs Data collection failed, skipped exporting data. Retying in 30 secs 2023-11-25 21:45:11 DEBUG Processing Time: 18.02 secs 2023-11-25 21:45:11 INFO Next scrape in 11 secs 2023-11-25 21:45:23 DEBUG Checking Modbus Connection 2023-11-25 21:45:23 INFO Modbus client is not connected, attempting to reconnect 2023-11-25 21:45:23 INFO Connection: SungrowModbusWebClient_0.3.2(192.168.5.52:8082) 2023-11-25 21:45:28 DEBUG Connection to websocket server failed: ws://192.168.5.52:8082/ws/home/overview, Message: timed out 2023-11-25 21:45:31 DEBUG Scraping: read, 5000:100 2023-11-25 21:45:31 DEBUG load_registers: read, 5000:100 2023-11-25 21:45:36 DEBUG Connection to websocket server failed: ws://192.168.5.52:8082/ws/home/overview, Message: timed out 2023-11-25 21:45:36 WARNING No data returned for read, 5000:100 No data returned for read, 5000:100 2023-11-25 21:45:36 DEBUG Modbus Error: [Connection] Failed to connect[SungrowModbusWebClient_0.3.2(192.168.5.52:8082)]') 2023-11-25 21:45:36 DEBUG Scraping: hold, 4999:10 2023-11-25 21:45:36 DEBUG load_registers: hold, 4999:10 2023-11-25 21:45:41 DEBUG Connection to websocket server failed: ws://192.168.5.52:8082/ws/home/overview, Message: timed out 2023-11-25 21:45:41 WARNING No data returned for hold, 4999:10 No data returned for hold, 4999:10 2023-11-25 21:45:41 DEBUG Modbus Error: [Connection] Failed to connect[SungrowModbusWebClient_0.3.2(192.168.5.52:8082)]') 2023-11-25 21:45:41 INFO Disconnecting: SungrowModbusWebClient_0.3.2(192.168.5.52:8082) 2023-11-25 21:45:41 INFO Disconnecting: None 2023-11-25 21:45:41 WARNING Data collection failed, skipped exporting data. Retying in 30 secs Data collection failed, skipped exporting data. Retying in 30 secs 2023-11-25 21:45:41 DEBUG Processing Time: 18.02 secs 2023-11-25 21:45:41 INFO Next scrape in 11 secs 2023-11-25 21:45:53 DEBUG Checking Modbus Connection 2023-11-25 21:45:53 INFO Modbus client is not connected, attempting to reconnect 2023-11-25 21:45:53 INFO Connection: SungrowModbusWebClient_0.3.2(192.168.5.52:8082) 2023-11-25 21:45:58 DEBUG Connection to websocket server failed: ws://192.168.5.52:8082/ws/home/overview, Message: timed out 2023-11-25 21:46:01 DEBUG Scraping: read, 5000:100 2023-11-25 21:46:01 DEBUG load_registers: read, 5000:100 2023-11-25 21:46:06 DEBUG Connection to websocket server failed: ws://192.168.5.52:8082/ws/home/overview, Message: timed out 2023-11-25 21:46:06 WARNING No data returned for read, 5000:100 No data returned for read, 5000:100 2023-11-25 21:46:06 DEBUG Modbus Error: [Connection] Failed to connect[SungrowModbusWebClient_0.3.2(192.168.5.52:8082)]') 2023-11-25 21:46:06 DEBUG Scraping: hold, 4999:10 2023-11-25 21:46:06 DEBUG load_registers: hold, 4999:10 2023-11-25 21:46:11 DEBUG Connection to websocket server failed: ws://192.168.5.52:8082/ws/home/overview, Message: timed out 2023-11-25 21:46:11 WARNING No data returned for hold, 4999:10 No data returned for hold, 4999:10 2023-11-25 21:46:11 DEBUG Modbus Error: [Connection] Failed to connect[SungrowModbusWebClient_0.3.2(192.168.5.52:8082)]') 2023-11-25 21:46:11 INFO Disconnecting: SungrowModbusWebClient_0.3.2(192.168.5.52:8082) 2023-11-25 21:46:11 INFO Disconnecting: None 2023-11-25 21:46:11 WARNING Data collection failed, skipped exporting data. Retying in 30 secs Data collection failed, skipped exporting data. Retying in 30 secs 2023-11-25 21:46:11 DEBUG Processing Time: 18.02 secs 2023-11-25 21:46:11 INFO Next scrape in 11 secs 2023-11-25 21:46:23 DEBUG Checking Modbus Connection 2023-11-25 21:46:23 INFO Modbus client is not connected, attempting to reconnect 2023-11-25 21:46:23 INFO Connection: SungrowModbusWebClient_0.3.2(192.168.5.52:8082) 2023-11-25 21:46:28 DEBUG Connection to websocket server failed: ws://192.168.5.52:8082/ws/home/overview, Message: timed out 2023-11-25 21:46:31 DEBUG Scraping: read, 5000:100 2023-11-25 21:46:31 DEBUG load_registers: read, 5000:100 2023-11-25 21:46:36 DEBUG Connection to websocket server failed: ws://192.168.5.52:8082/ws/home/overview, Message: timed out 2023-11-25 21:46:36 WARNING No data returned for read, 5000:100 No data returned for read, 5000:100 2023-11-25 21:46:36 DEBUG Modbus Error: [Connection] Failed to connect[SungrowModbusWebClient_0.3.2(192.168.5.52:8082)]') 2023-11-25 21:46:36 DEBUG Scraping: hold, 4999:10 2023-11-25 21:46:36 DEBUG load_registers: hold, 4999:10 2023-11-25 21:46:41 DEBUG Connection to websocket server failed: ws://192.168.5.52:8082/ws/home/overview, Message: timed out 2023-11-25 21:46:41 WARNING No data returned for hold, 4999:10 No data returned for hold, 4999:10 2023-11-25 21:46:41 DEBUG Modbus Error: [Connection] Failed to connect[SungrowModbusWebClient_0.3.2(192.168.5.52:8082)]') 2023-11-25 21:46:41 INFO Disconnecting: SungrowModbusWebClient_0.3.2(192.168.5.52:8082) 2023-11-25 21:46:41 INFO Disconnecting: None 2023-11-25 21:46:41 WARNING Data collection failed, skipped exporting data. Retying in 30 secs Data collection failed, skipped exporting data. Retying in 30 secs 2023-11-25 21:46:41 DEBUG Processing Time: 18.01 secs 2023-11-25 21:46:41 INFO Next scrape in 11 secs 2023-11-25 21:46:53 DEBUG Checking Modbus Connection 2023-11-25 21:46:53 INFO Modbus client is not connected, attempting to reconnect 2023-11-25 21:46:53 INFO Connection: SungrowModbusWebClient_0.3.2(192.168.5.52:8082)

farmamick commented 8 months ago

I had the wifi-s dongle on a different wireless network to the home assistant.... woops