(solved) long press switch via http / mqtt

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

(solved) long press switch via http / mqtt

#1 Post by riker1 » 18 Feb 2019, 13:34

Hi

how can I trigger a long press switch command via http or Mqtt?

Thanks T
Last edited by riker1 on 18 Feb 2019, 14:29, edited 1 time in total.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: long press switch via http / mqtt

#2 Post by grovkillen » 18 Feb 2019, 14:26

Yes, just use the event command and send the event name.

Example: Event,Switch#State=10
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: long press switch via http / mqtt

#3 Post by riker1 » 18 Feb 2019, 14:29

ok, thanks will try

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 27 guests