Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sonoff Basic switch double press #837

Closed
icovada opened this issue Sep 5, 2017 · 2 comments
Closed

Sonoff Basic switch double press #837

icovada opened this issue Sep 5, 2017 · 2 comments

Comments

@icovada
Copy link

icovada commented Sep 5, 2017

Hello
Ever since one of the previous updates a double tap on a Sonoff Basic turns on the primary relay even if a secondary relay is configured.

Since I was using the double tap to send commands over MQTT to turn on/off something else is there a way to enable this feature again?

@icovada
Copy link
Author

icovada commented Sep 5, 2017

Found it

As explained in this table all I needed to do was typing these commands in the console

SetOption1 1
SetOption11 1
ButtonTopic othertopic

Now when I double tap the button I get a TOGGLE command sent to ButtonTopic, and if I hold it 4 seconds I get a HOLD command

@icovada icovada closed this as completed Sep 5, 2017
@PeggyFree
Copy link

PeggyFree commented Sep 5, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants