Anyone can suggest some solution? I tried also with another Hassio instance on another pc, but same problem. I tried to change connection type (rtuovertcp and tcp), tried other registers… No luck.
2021-06-29 15:32:29 DEBUG (SyncWorker_2) [pymodbus.client.sync] New Transaction state 'SENDING'
2021-06-29 15:32:34 ERROR (SyncWorker_2) [homeassistant.components.modbus.modbus] Pymodbus: Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)
2021-06-29 15:32:39 DEBUG (SyncWorker_4) [pymodbus.client.sync] Connection to Modbus server established. Socket ('192.168.1.233', 37137)
2021-06-29 15:32:39 DEBUG (SyncWorker_4) [pymodbus.client.sync] New Transaction state 'SENDING'
2021-06-29 15:32:44 DEBUG (SyncWorker_4) [homeassistant.components.modbus.modbus] Pymodbus: Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response
2021-06-29 15:32:49 DEBUG (SyncWorker_0) [pymodbus.client.sync] Connection to Modbus server established. Socket ('192.168.1.233', 34393)
2021-06-29 15:32:49 DEBUG (SyncWorker_0) [pymodbus.client.sync] New Transaction state 'SENDING'
2021-06-29 15:32:54 DEBUG (SyncWorker_0) [homeassistant.components.modbus.modbus] Pymodbus: Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response
2021-06-29 15:32:59 DEBUG (SyncWorker_3) [pymodbus.client.sync] Connection to Modbus server established. Socket ('192.168.1.233', 43055)
2021-06-29 15:32:59 DEBUG (SyncWorker_3) [pymodbus.client.sync] New Transaction state 'SENDING'
2021-06-29 15:33:04 DEBUG (SyncWorker_3) [homeassistant.components.modbus.modbus] Pymodbus: Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response
2021-06-29 15:33:09 DEBUG (SyncWorker_5) [pymodbus.client.sync] Connection to Modbus server established. Socket ('192.168.1.233', 41139)
2021-06-29 15:33:09 DEBUG (SyncWorker_5) [pymodbus.client.sync] New Transaction state 'SENDING'
2021-06-29 15:33:14 DEBUG (SyncWorker_5) [homeassistant.components.modbus.modbus] Pymodbus: Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response
2021-06-29 15:33:19 DEBUG (SyncWorker_1) [pymodbus.client.sync] Connection to Modbus server established. Socket ('192.168.1.233', 47439)
2021-06-29 15:33:19 DEBUG (SyncWorker_1) [pymodbus.client.sync] New Transaction state 'SENDING'
2021-06-29 15:33:24 DEBUG (SyncWorker_1) [homeassistant.components.modbus.modbus] Pymodbus: Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response
2021-06-29 15:33:29 DEBUG (SyncWorker_2) [pymodbus.client.sync] Connection to Modbus server established. Socket ('192.168.1.233', 56267)
2021-06-29 15:33:29 DEBUG (SyncWorker_2) [pymodbus.client.sync] New Transaction state 'SENDING'
2021-06-29 15:33:34 DEBUG (SyncWorker_2) [homeassistant.components.modbus.modbus] Pymodbus: Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response
2021-06-29 15:33:39 DEBUG (SyncWorker_4) [pymodbus.client.sync] Connection to Modbus server established. Socket ('192.168.1.233', 36459)
2021-06-29 15:33:39 DEBUG (SyncWorker_4) [pymodbus.client.sync] New Transaction state 'SENDING'
2021-06-29 15:33:44 DEBUG (SyncWorker_4) [homeassistant.components.modbus.modbus] Pymodbus: Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response
2021-06-29 15:33:49 DEBUG (SyncWorker_0) [pymodbus.client.sync] Connection to Modbus server established. Socket ('192.168.1.233', 47155)
2021-06-29 15:33:49 DEBUG (SyncWorker_0) [pymodbus.client.sync] New Transaction state 'SENDING'
2021-06-29 15:33:54 DEBUG (SyncWorker_0) [homeassistant.components.modbus.modbus] Pymodbus: Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response
2021-06-29 15:33:59 DEBUG (SyncWorker_3) [pymodbus.client.sync] Connection to Modbus server established. Socket ('192.168.1.233', 40595)
2021-06-29 15:33:59 DEBUG (SyncWorker_3) [pymodbus.client.sync] New Transaction state 'SENDING'
2021-06-29 15:34:04 DEBUG (SyncWorker_3) [homeassistant.components.modbus.modbus] Pymodbus: Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response
2021-06-29 15:34:09 DEBUG (SyncWorker_5) [pymodbus.client.sync] Connection to Modbus server established. Socket ('192.168.1.233', 52607)
2021-06-29 15:34:09 DEBUG (SyncWorker_5) [pymodbus.client.sync] New Transaction state 'SENDING'
2021-06-29 15:34:14 DEBUG (SyncWorker_5) [homeassistant.components.modbus.modbus] Pymodbus: Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response
2021-06-29 15:34:19 DEBUG (SyncWorker_1) [pymodbus.client.sync] Connection to Modbus server established. Socket ('192.168.1.233', 43417)
2021-06-29 15:34:19 DEBUG (SyncWorker_1) [pymodbus.client.sync] New Transaction state 'SENDING'
2021-06-29 15:34:24 DEBUG (SyncWorker_1) [homeassistant.components.modbus.modbus] Pymodbus: Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response
2021-06-29 15:34:29 DEBUG (SyncWorker_2) [pymodbus.client.sync] Connection to Modbus server established. Socket ('192.168.1.233', 57429)
2021-06-29 15:34:29 DEBUG (SyncWorker_2) [pymodbus.client.sync] New Transaction state 'SENDING'
2021-06-29 15:34:34 DEBUG (SyncWorker_2) [homeassistant.components.modbus.modbus] Pymodbus: Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response
2021-06-29 15:34:39 DEBUG (SyncWorker_4) [pymodbus.client.sync] Connection to Modbus server established. Socket ('192.168.1.233', 32769)
2021-06-29 15:34:39 DEBUG (SyncWorker_4) [pymodbus.client.sync] New Transaction state 'SENDING'
I tried with both rtuovertcp and tcp. Tried also with 40001. No luck.
I tried also with nodered, but I receive another error (“Error: Data length error, expected 7 got 8”). Tried also to install some old library in nodered, but when start polling, the first poll is ok (it gets the correct value), the other polls are errors.
At the moment I found a not so elegant solution: I use a PC with a command line (modpoll.exe), get the values from the command line and send them to nodered using an endpoint
Do you know if there is such modbus script in python to use on Hassio by command line and how to install it?
I have got a similar problem. The strange thing is that some values return a value and some return just zero. I had no errors for the modbus. Now i reverted to 2021.6.1 and everything is back to normal. Could it be some number relate problem? int or uint for example?
I also ran into the same issues after updating before everything was fine.
I own 2 different modbus devices:
Modbus TCP Server with SDM630 Power meter is working perfectly.
Modbus TCP in Stiebel Eltron Heatpump is giving this error:
[homeassistant.components.modbus.modbus] Pymodbus: Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response
I can get the first and the second sensor data, randomly. Sometimes I can get the data of the first, sometimes of the second. The other one become unavailable. I continue to receive the following errors:
2021-08-12 12:39:25 DEBUG (SyncWorker_1) [pymodbus.client.sync] Connection to Modbus server established. Socket ('192.168.1.192', 52251)
2021-08-12 12:39:25 DEBUG (SyncWorker_1) [pymodbus.client.sync] New Transaction state 'SENDING'
2021-08-12 12:39:37 DEBUG (SyncWorker_6) [pymodbus.client.sync] New Transaction state 'SENDING'
2021-08-12 12:39:37 ERROR (SyncWorker_6) [homeassistant.components.modbus.modbus] Pymodbus: Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response
2021-08-12 12:39:49 DEBUG (SyncWorker_4) [pymodbus.client.sync] Connection to Modbus server established. Socket ('192.168.1.192', 54251)
2021-08-12 12:39:49 DEBUG (SyncWorker_4) [pymodbus.client.sync] New Transaction state 'SENDING'
Tried to us retry_on_empty and retries with also timeout and delay. Nothing to do
I set an interval of 10/12 seconds. Hassio get the value of one sensor at time. But sometimes get the right value, sometimes get “unknown”. Futher, Hassio don’t get
the two sensor values simultaneously.