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-Touch not reporting state when pushing the button manually. #2185

Closed
DaPeace opened this issue Mar 17, 2018 · 3 comments
Closed

Sonoff-Touch not reporting state when pushing the button manually. #2185

DaPeace opened this issue Mar 17, 2018 · 3 comments
Labels
help needed Action - Asking for help from the community stale Action - Issue left behind - Used by the BOT to call for attention

Comments

@DaPeace
Copy link

DaPeace commented Mar 17, 2018

I have flashed a 2-gang LX-Wifi03o with Tasmota and set up as a 2gang Sonoff Touch. The Button works and a figured out how to use it with mqtt and homebridge.
But what i did not figure out is how i get the status of the relay when i manually push the button on the switch.

I followed the wiki with this:

If you want to found out what state your sonoff is, issue this command with an empty payload to trigger a status response (see below for how to listen): mosquitto_pub -h control_central -t cmnd/my_house_living_room/status -n
But when i subscribe to mqtt and listen to all the topics and run the command there is no change.

Any help with this?

@arendst arendst added the help needed Action - Asking for help from the community label Mar 17, 2018
@fallingcats
Copy link

fallingcats commented Mar 17, 2018

The issue seems to be that it publishes its state to the configured topic only when
pushing the button, and to the default topic when responding to some mqtt message (which it should not).

I am not sure if the issue is known but I am experiencing it with the latest precompiled release on a Sonoff Basic R2.
The "Full Topic" is set to switch/%topic%/%prefix% in the web interface, the "Topic" is set to sonoff1

From the log (in response to switch/sonoff1/cmnd/power ON):

19:54:44 MQT: stat/sonoff1/RESULT = {"POWER":"ON"}
19:54:44 MQT: stat/sonoff1/POWER = ON

When pushing the button:

19:54:50 MQT: switch/sonoff1/stat/RESULT = {"POWER":"ON"}
19:54:50 MQT: switch/sonoff1/stat/POWER = ON

EDIT:
Seems to be because of #1893
This issue can probably be closed now

@stale
Copy link

stale bot commented Jun 6, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Action - Issue left behind - Used by the BOT to call for attention label Jun 6, 2018
@stale
Copy link

stale bot commented Jun 21, 2018

This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem.

@stale stale bot closed this as completed Jun 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help needed Action - Asking for help from the community stale Action - Issue left behind - Used by the BOT to call for attention
Projects
None yet
Development

No branches or pull requests

3 participants