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

Add toggle command to mqtt topics #188

Open
psych0d0g opened this issue Sep 22, 2024 · 3 comments
Open

Add toggle command to mqtt topics #188

psych0d0g opened this issue Sep 22, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@psych0d0g
Copy link

as a user i have a battery powered 433mhz button near my bed to toggle the bedroom lights..
i can trigger custom mqtt messages by it using an sonoff rf_bridge.
to toggle the bedroom lights from this button it would be needed for the nspanel code to be able to react to toggle commands in addition to 0 and 1 sent to the corresponding mqtt queues.

@tpanajott tpanajott self-assigned this Sep 22, 2024
@tpanajott tpanajott added the enhancement New feature or request label Sep 22, 2024
@tpanajott tpanajott added this to the Version 2.0 release milestone Sep 22, 2024
@tpanajott
Copy link
Collaborator

This should be easy enough to implement. I'm thinking that sending "2" would be a toggle instead.

@psych0d0g
Copy link
Author

that "should" work aswell for me :)

tpanajott added a commit that referenced this issue Sep 28, 2024
…MQTT message. Also implemented issue #188, ability to toggle the relays.
@psych0d0g
Copy link
Author

tested locally and working fine so far

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

No branches or pull requests

2 participants