Search found 1 match

by jokketech
23 Oct 2017, 17:22
Forum: ESP Easy: Projects / Applications
Topic: short and long press button mqtt
Replies: 8
Views: 7876

short and long press button mqtt

on button1#state=1 do timerset 1,1 endon on rules#timer=1 do if [button1#state]=0 Publish /esp01/button1/state,short else Publish /esp01/button1/state,long endif endon button is a pushbutton on gpio14, normal switch, internal pullup. Its not working :-( cant see the messages on mqtt. Anyone got an ...