hi, I have a basic sonoff modified with an external button.
I wish:
- pressing the button once do on / off on the relay 1
- keeping the button pressed modifies the pwm value of the gpio14
how can I do this ?
sonoff basic and click/long click
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: sonoff basic and click/long click
Yes you can. Please make sure you have the latest version and then use the long press setting for generic switch. Make a rule to act upon the long press.
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
Who is online
Users browsing this forum: No registered users and 123 guests