I have created a MQTT Import that looks like this:
And I also have a Switch that is configured like this:
I know want to set the state of GPIO 17 to HIGH if the value of my MQTT topic is 1. For that I created the following rule:
Code: Select all
On MQTT_sprinkler_1#valve01=1 do
GPIO,17,1
endon
Do you see any mistakes in my rule? What could be a reason for it not working as expected?
Thanks!
philipp