to write to it I used unit: 1 which in the official documentation says that unit it the slave address (Modbus - Home Assistant).
Although the slider for the Address in the button card only goes to 255 I can manually enter 325 which is the correct register as my sensor can read from it fine.
When pressing the button I get this error in the botom left in my browser window: Error calling the modbus / write_register service. 'modbus_hub''
My logs show only this entry:
2021-09-11 12:36:16 DEBUG (SyncWorker_0) [pymodbus.client.sync] New Transaction state 'SENDING'
Hello, thanks for this helpful post. This also worked for me. With these information I was able to built buttons on my lovelace for Pluggit Fan Speed and Modes (Schedule Mode, Automatic Mode, etc …).
I now would like to automate this using Node-Red (Example: if a window is open for more than 5 minutes the ventilation should switch to Summer mode.)
Generally I know how to read the Window-Sensors and use the state to start a flow. But how do I translate the modbus-buttons (from above) to Node-Red. I tried using the flow for Modbus-Write, but it did not work, they always say “active”.
Hello Ladys & Gentlemen,
I have created a Video and uploaded to youtube in case you need video guidance.
You can see everything step by step.
But it is in german language