I would like to use rulle with the shutter(s).
So I changed the format of the message (FUNC_JSON_APPEND) that is JSON fromat supported by rules mechansim.
Biseds I add to the code that it sends out a mqtt message with postion and direction when it stops.
So we can have rules like:
when we top moving
on SHUTTER-1#direction=0 do ..... endon
I would like to use rulle with the shutter(s). So I changed the format of the message (FUNC_JSON_APPEND) that is JSON fromat supported by rules mechansim. Biseds I add to the code that it sends out a mqtt message with postion and direction when it stops.
So we can have rules like: when we top moving on SHUTTER-1#direction=0 do ..... endon
on TELE-SHUTTER-1#position>50 do ..... endon