before I start, I would like to know if it is possible
i've mqtt server , the channel is : actions_bouton
i publish : sonnette#on , sonnette#off
from the espeasy side I would like
example :
Code: Select all
On Clock#Time=All,**:** Do
if mqtt#sonnette = on
if %syssec_d% > 28800 and %syssec_d% < 72000 //de 7h a 20h
gpio,13,0
else
gpio,13,1
endif
endif
if mqtt#sonnette = off
gpio,13,1
endif
endon
but now, I don't know how to do it