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

MQTT relay topic not updating when button pressed and relay turns off on DUAL #127

Closed
xoseperez opened this issue Apr 16, 2017 · 5 comments

Comments

@xoseperez
Copy link
Owner

Originally reported by: dscoolx6 (Bitbucket: dscoolx6, GitHub: dscoolx6)


When i press buttons on the DUAL, the relays switch on and off, but MQTT relay topic does not update. Domoticz topic also does not update. Alexa triggers do not work ie "turn off" voice command will not work if relay is switched on via button.
My use case is - domoticz control, alexa control and button control at the same time.

@xoseperez
Copy link
Owner Author

What version of the firmware are you using?

I cannot reproduce the issue. I have tested the latest 1.7.1 version with a Dual, MQTT messages received, Domoticz works and I had no problem to toggle both relays with Alexa.

Didn't quite understand what you mean by "turn off voice command will not work if relay is switched on via button".

@xoseperez
Copy link
Owner Author

Original comment by dscoolx6 (Bitbucket: dscoolx6, GitHub: dscoolx6):


SW v1.7.1
0. set pulse time to 10s (OK)

  1. push button 0 or 1 (OK)
  2. relay should turn on (OK)
  3. MQTT button topic broadcast (NOTOK)
  4. MQTT relay topic broadcast(NOTOK)
  5. MQTT domoticz/in broadcast(NOTOK)
    6a. Ask Alexa to turn relay off(NOTOK) OR wait for 10s- relay should turn off(NOTOK)

The relays can be controlled by Alexa and Domoticz just fine, the issue is only with button 0 and 1 control. What i mean is when using the buttons to turn on, you cannot use Alexa?Domoticz to turn off. They are unaware of the relay state when controlled by button.

@xoseperez
Copy link
Owner Author

I see. Buttons 0 and 1 (the ones in the header) in the DUAL were not linked to the proper actions. Should be fixed in dev branch with commit 1346477.

@xoseperez
Copy link
Owner Author

Pushed to master branch with version 1.8.0.

@xoseperez
Copy link
Owner Author

Removing milestone: 1.8.0 (automated comment)

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

No branches or pull requests

1 participant