Skip to content

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

Open
Nik19792000 wants to merge 3 commits intomicolous:masterfrom
Nik19792000:master
Open

Request status after startup and handle binary status report response#31
Nik19792000 wants to merge 3 commits intomicolous:masterfrom
Nik19792000:master

Conversation

@Nik19792000
Copy link
Copy Markdown

@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
Copy Markdown
Author

Ping

Copy link
Copy Markdown

@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
Copy Markdown

@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