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

two lightbulb accessories on one Particle device #131

Open
guussie opened this issue Feb 29, 2020 · 1 comment
Open

two lightbulb accessories on one Particle device #131

guussie opened this issue Feb 29, 2020 · 1 comment

Comments

@guussie
Copy link

guussie commented Feb 29, 2020

How would one be able to have two different lightbulb accessories running on the same Particle device?

For an on/off device this would not be a problem because a different function name could be specified I think. But how could that work for two dimmablelightbulbs?

Thanks!

@tbnilsen
Copy link

tbnilsen commented Dec 1, 2020

I have the same issue. On a dimmable light bulb the function_name is hard coded to ‘brightness’. I have two such items in my Particle Photon so it’s ambiguous as to which switch the query and set is for. At present, I use the most recent lightbulb function query for onoff state which works well for setting the brightness, but not for its query.
Could the function_name be the top level function name with ‘brightness’ appended to it?

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