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

Request status after startup and handle binary status report response #31

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Nik19792000
Copy link

@Nik19792000 Nik19792000 commented Dec 24, 2021

If lights have been switched on before lib_cbus is started, then this latest status is currently not conveyed. With this PR a status request is sent 5 seconds after startup. The response is evaluated and any light status (on or off) is conveyed to MQTT. This ensures that MQTT has the latest status of all lights.

@Nik19792000
Copy link
Author

Ping

Copy link

@CABrouwers CABrouwers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accept

Copy link

@CABrouwers CABrouwers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

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.

2 participants