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

Publish a message on Light Power ON #7

Open
Minims opened this issue Dec 2, 2022 · 2 comments
Open

Publish a message on Light Power ON #7

Minims opened this issue Dec 2, 2022 · 2 comments

Comments

@Minims
Copy link
Contributor

Minims commented Dec 2, 2022

Hello,

Is there a way to publish a message when the light is Power ON.

I mean when the bulb is power via a switch. Mesh might get a message on the network to see the device connected.

@Minims
Copy link
Contributor Author

Minims commented Dec 2, 2022

I have the same question with the light state. Do I open a new issue for it ? Currently the state is set to OFF by default on software boot. Can you read the BLE build state and publish it on boot ? I don't know the code/command to use to make such a thing.

@dominikberse
Copy link
Owner

Is there a way to publish a message when the light is Power ON.

I am not sure if that is possible, probably depends on the light itself.

Currently the state is set to OFF by default on software boot. Can you read the BLE build state and publish it on boot ?

That is actually a different thing from an implementation point of view, actively reading the light state should not be a problem. I thought I actually already implemented this, but maybe I am mistaken. I'll have a look when I find some time.

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

No branches or pull requests

2 participants