new switch plugin with longpress, how to use?
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 230
- Joined: 13 Apr 2017, 23:09
new switch plugin with longpress, how to use?
hi, i see that on new version of espeasy there are inside the standard plugin switch new function:
Advanced event management:
if i want to use "longress" function i see that there is longpress event that give me 3 choice: if for example i want after longpress of a push button about 4seconds, a command send MQTT what i should write on the rules?
neme of the task is = relay_up
value is = B_UP
switch button = push button active high
command that i want to send is: Publish domoticz/in,{"command":"setuservariable","idx":7,"value":"blind_1;Down;36"}
i think that i should select: active only on high (EVENT=11 [NORMAL] or 10 [INVERSED]
longpress min interval = 4000
but on the rules what i have to write?
what is EVENT 11 ??
i do not find nothing on the wiki
last question: what's the purpose of the debounce ?
what it do if it's setted?
thanks
Advanced event management:
if i want to use "longress" function i see that there is longpress event that give me 3 choice: if for example i want after longpress of a push button about 4seconds, a command send MQTT what i should write on the rules?
neme of the task is = relay_up
value is = B_UP
switch button = push button active high
command that i want to send is: Publish domoticz/in,{"command":"setuservariable","idx":7,"value":"blind_1;Down;36"}
i think that i should select: active only on high (EVENT=11 [NORMAL] or 10 [INVERSED]
longpress min interval = 4000
but on the rules what i have to write?
what is EVENT 11 ??
i do not find nothing on the wiki
last question: what's the purpose of the debounce ?
what it do if it's setted?
thanks
-
- Normal user
- Posts: 230
- Joined: 13 Apr 2017, 23:09
Re: new switch plugin with longpress, how to use?
nothing to help on usege of new function?
thanks
thanks
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: new switch plugin with longpress, how to use?
I'm currently converting the wiki to "read the docs" and hopefully it will be clear by then.
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
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
-
- Normal user
- Posts: 230
- Joined: 13 Apr 2017, 23:09
Re: new switch plugin with longpress, how to use?
Thanks grovkillen it for sure help a lot
I see many update every build release but without descriptions it's hard to use it and understand the purpose
Where do you place this docs?
When you think that could be avaliable?
Thanks so much for all your effort
I see many update every build release but without descriptions it's hard to use it and understand the purpose
Where do you place this docs?
When you think that could be avaliable?
Thanks so much for all your effort
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: new switch plugin with longpress, how to use?
It's already online: https://espeasy.readthedocs.io
A work in progress and will be 100% converted by the time we releases the stable.
A work in progress and will be 100% converted by the time we releases the stable.
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
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: new switch plugin with longpress, how to use?
Any news on the timeframe for the release of the stable version?grovkillen wrote: ↑25 Nov 2018, 19:47 A work in progress and will be 100% converted by the time we releases the stable.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: new switch plugin with longpress, how to use?
Christmas is coming
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
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
-
- Normal user
- Posts: 230
- Joined: 13 Apr 2017, 23:09
Re: new switch plugin with longpress, how to use?
hi, i'm trying to understand how to use new Advanced event management inside switch imput option
how i have to setup longpress and shortpress
so i select: active only on high (EVENT=11 [NORMAL] or 10 [INVERSED]
now when the trigger is shortpress i need to perform this:
Publish domoticz/in,{"command":"setuservariable","idx":7,"value":"blind_1;Down;36"}
when the trigger is long press that:
Publish domoticz/in,{"command":"setuservariable","idx":7,"value":"blind_1;Down;0.5"}
neme of the task is = relay_down
value is = B_DOWN
how i can setup it the rules?
how i have to setup longpress and shortpress
so i select: active only on high (EVENT=11 [NORMAL] or 10 [INVERSED]
now when the trigger is shortpress i need to perform this:
Publish domoticz/in,{"command":"setuservariable","idx":7,"value":"blind_1;Down;36"}
when the trigger is long press that:
Publish domoticz/in,{"command":"setuservariable","idx":7,"value":"blind_1;Down;0.5"}
neme of the task is = relay_down
value is = B_DOWN
how i can setup it the rules?
Who is online
Users browsing this forum: Bing [Bot] and 0 guests