I have a modbus unit from waveshare with 8 inputs and 8 outputs
What i want to do is read the inputs, preferable send an alarm when an inputs changes by mqtt
i have tried a lot of settings but cannot get it to work.
Maybe because my knowledge is to low…
If you want to read the input values of your modbus unit, you need to configure RUT956 as Modbus Serial Client. Then, alarms can be triggered using Modbus Alarm under Modbus Serial Client. MQTT as an action is available on the same instance.
Can you try to do this settings to read input values?
Got it working
Was trying it on tcp instead of modbus serial client.
Now the next challenge. As i understand correct i can use the alarm function to send data at the moment the input changes. Is this correct?
When i set this up as bool read input status (2) with first register number 1 cannot get it working.
Can you give me an example how to do this?
The goal is to send a mqtt message on alarm.