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

adjust color and brightness space #5

Open
dominikberse opened this issue Dec 1, 2022 · 2 comments
Open

adjust color and brightness space #5

dominikberse opened this issue Dec 1, 2022 · 2 comments

Comments

@dominikberse
Copy link
Owner

For color change it seems working, but not all the time, need to dig a bit. Maybe its a value min/max issue.

About Dimming, I need to add this here to make it work:
https://github.com/dominikberse/homeassistant-bluetooth-mesh/blob/master/gateway/mesh/nodes/light.py#L95

        lightness = lightness * 1000

It is not the good solution, because home assistant get a value of 3000% for example.

Is there a way to get dimming & color min/max value from BLE device while provisioning and setup the entity with this ?

Thanks again, I finally have a hope to integrate my BLE Mesh light :-)

Originally posted by @Minims in #3 (comment)

@Minims
Copy link
Contributor

Minims commented Jan 26, 2023

New version currently working for me #12

@Minims
Copy link
Contributor

Minims commented Feb 27, 2023

I finally make my 2 mesh light working with my fork on the repo and the python bluetooth mesh lib.
I can make a PR in your repo if you want, here is the diff :

https://github.com/dominikberse/homeassistant-bluetooth-mesh/compare/master...Minims:homeassistant-bluetooth-mesh:master?expand=1

https://github.com/dominikberse/python-bluetooth-mesh/compare/master...Minims:python-bluetooth-mesh:master?expand=1

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