Hi,
I have a central heating unit that speaks modbus (De Dietrich), and for the last 2 years I’ve been using Home assistant to poll its status (temperatures, operation mode) succesfully. However I have not been able to succesfully write modbus commands to it. Nothing seems to happen.
E.g. I have a Home Assistant script that looks like this :
service: modbus.write_register
data_template:
hub: Waveshare
unit: 10
address: 15
value:
- 12
If I run the script, the script seems to ‘hang’ : when I get the scripts status, minutes after launching it, it is still ‘executing’.
There seems nothing usefull in the trace of the script, or the logging.
It seems very related to this topic.
Does anybody know how to solve it? I would like to avoid a 3rd party modbus library, as I think it might do some modbus ‘writes’ at the same time on my cyclic polling of some modbus registers, which might get things garbled.
PS regarding my example code : I know that in the last line, I should not use the syntax for multiple values, but this is to avoid a small modbus bug in my heater. See here.