Search found 4 matches
- 07 Jan 2022, 23:46
- Forum: ESP Easy: General Discussion
- Topic: Longpress event fires also shortpress?
- Replies: 0
- Views: 26010
Longpress event fires also shortpress?
Hello! If my Switch is shortpressed I want to fire event 2 and event 1 when longpressed On TorRunter#Switch do if %eventvalue% = 11 event,EVENT_TOR_LUEFTUNG elseif %eventvalue% = 1 event,EVENT_TOR_RUNTER endif endon shortpressed works fine. But longpress fires EVENT_TOR_RUNTER and event EVENT_TOR_LU...
- 14 Dec 2021, 00:03
- Forum: ESP Easy: General Discussion
- Topic: Control Relais via MQTT and Switch Input
- Replies: 18
- Views: 9688
Re: Control Relais via MQTT and Switch Input
Well you are using the value, only you needed to 'flip' the value, which is done with the negation ("!") And you're just acting on the event of the value update, not just on the update matching a specific value. I think he is implying that he is only using MQQT just to store the value whi...
- 12 Dec 2021, 21:42
- Forum: ESP Easy: General Discussion
- Topic: Control Relais via MQTT and Switch Input
- Replies: 18
- Views: 9688
Re: Control Relais via MQTT and Switch Input
Thanks! I'll give it a try But to be honest, I've hope to get something much more simple. I have some devices with Tasmota and in ioBroker I have a state "Power" for a switch which is True or False. And I don't have to do anything. Just use it. Maybe such a simple/ easy solution will be av...
- 12 Dec 2021, 00:55
- Forum: ESP Easy: General Discussion
- Topic: Control Relais via MQTT and Switch Input
- Replies: 18
- Views: 9688
Control Relais via MQTT and Switch Input
Hello, I have a Switch Input with an external switch connected which controls a relais A Relais connected via Switch Input and I want to control the relais via MQTT via ioBroker and the Switch Imput Following configuration works, but it seems a little bit cumbersome to me. And I have two MQTT values...