I have openHAB2 sending a MQTT to the ESP and the rule I set below to turn the switch off.
Any help or advice would be great.
Code: Select all
on Garage_Door#ON do
gpio,5,1
timerSet,1,1
endon
On Rules#Timer=1 do
gpio,5,0
endon
Moderators: grovkillen, Stuntteam, TD-er
Code: Select all
on Garage_Door#ON do
gpio,5,1
timerSet,1,1
endon
On Rules#Timer=1 do
gpio,5,0
endon
bfabien wrote: ↑08 Sep 2017, 14:55 You have the pulse command for that
https://www.letscontrolit.com/wiki/inde ... ort_pulses
I've used it for a remote controller, and it works quite well!
Users browsing this forum: No registered users and 13 guests