Closed Pel1can111 closed 3 weeks ago
I run this with a 1 sec update interval with no issues to an Easton SDM230 using https://www.waveshare.com/product/iot-communication/wired-comm-converter/ethernet-to-uart-rs232-rs485/rs485-to-wifi-eth.htm.
Are you able to increase the logging on pymodbus & modbus_local_gateway to help diagnose this issue.
Thanks.
I have the same problem, it works for the first minute then it stops updating, it then works only sporadically. the strange thing is, when i go to the configuration webpage or reload it, it is updating the values again for a short time
are you able to provide any more details on your configuration or debug output in order to fault find.
I get this errors And i use the Waveshare rs485 to eth (b), but should be basically the same just without wifi.
Edit: I tried the same as @Pel1can111, as long as the Shortbus Modbus Scanner is running it works.
Update interval is 3sec, i disconnected the Shortbus Software around 20sec before the screenshot.
home-assistant_modbus_local_gateway_2024-01-17T23-30-00.228Z.log
This is the Debug Log, it is only a fiew seconds, at first it was working fine, then it stopped working.
Do not wonder, i removed some entities from the yaml file, i do not need so much informations from the power meter, but it is the same case with the original yaml file
This should be resolved in release v1.4.0
Everything seems to work fine when using the default update frequency of 30s but reducing this to 10s seems to stop values updating. At first everything works fine but after a few minutes values stop updating.
Using https://www.waveshare.com/product/rs232-485-422-to-poe-eth-b.htm to connect to a Eastron SDM230
Curious if this is just a hardware limitation or something else.
EDIT: turns out it happens regardless of update frequency. If i leave Shortbus modbus scanner polling the TCP server it continues to update in HA fine. Once I stop Shortbus modbus scanner updates stop in HA.