rule "Reset button"
when
Item voordeur received command ON
then
createTimer(now.plusMillis(500), [ | voordeur .sendCommand(OFF) ] )
end
And this worked perfectly, I’m now trying to remake everything trough the gui for easy of acces,
but I can’t seem to find how to replicate a simple auto off after x seconds,
anyone have an idea how to do this via the rule builder (worst case via the code tab in the rule editor)