Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Move button control from subscriber to publisher #2

Closed
federicorossifr opened this issue Dec 26, 2018 · 0 comments
Closed

Move button control from subscriber to publisher #2

federicorossifr opened this issue Dec 26, 2018 · 0 comments
Assignees

Comments

@federicorossifr
Copy link
Owner

Subscriber should only listen for "ALARM" messages on the topic without any control, only lighting on the leds when "ALARM" is notified and lighting them off when something else is received.

Publisher should instead be able to enable/disable the alarming functionality (i.e. publish to the ps/intrusion topic the proper value according to sensed forces) when the button is pressed.
When the alarming functionality is disabled it updates ONLY ONCE the topic with "QUIET" or something else.

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

No branches or pull requests

3 participants