I am using this Rule
Code: Select all
on shpy#HintertuerZiel=1 do
Publish %sysname%/setze,1
gpio,15,1
delay 100
gpio,15,0
endon
on shpy#HintertuerZiel=0 do
Publish %sysname%/setze,0
gpio,13,1
delay 100
gpio,13,0
endon
The rule is executed and I see the message "%sysname%/setze,0" via MQTT, bu it seems that the gpio is not set to 1/0.
Is there anything I am missing?
Then I set the value via MQTT while the system is not in Sleep, everything works. But when sending it while in Sleep, the rule *is* executed (otherwise I would not see the message "%sysname%/setze,0". Only the GPIO part does not work.
Greetings,
Hendrik