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

Feature/add watchdog helper #151

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

corneliusclaussen
Copy link
Contributor

Adds watchdog functionality to the framework

Each module has a WatchdogSupervisor in its main module class that sends out watchdog feed heartbeats via MQTT.
This can be monitored by the manager (not yet implemented here). This at least ensures that the watchdog supervising thread in the module is still alive and MQTT communication works.

The module code can register multiple internal watchdogs, which is useful if it has looping threads.

Signed-off-by: Cornelius Claussen <cc@pionix.de>
Signed-off-by: Cornelius Claussen <cc@pionix.de>
Signed-off-by: Cornelius Claussen <cc@pionix.de>
Signed-off-by: Cornelius Claussen <cc@pionix.de>
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

Successfully merging this pull request may close these issues.

1 participant