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

Brightness cannot be controlled thru the home app #18

Open
turbidWaters opened this issue Dec 18, 2024 · 1 comment
Open

Brightness cannot be controlled thru the home app #18

turbidWaters opened this issue Dec 18, 2024 · 1 comment

Comments

@turbidWaters
Copy link

When the brightness slider is used in the home app, an empty payload is sent to ( i.e. "{}") and so the brightness of the bulb stays the same while the slider in the home app changes. This is true only for the brightness slider on the home app. All other controls send the appropriate payload affecting the bulb correctly. Note that this issue is not true when using siri to control brightness.

I have annotated the lines taken from homebridge logs below:
logs:

cmnd/milighthub/CommonMiLightHub/0x1/fut089/4 { state: 'On', level: 60 } (button in the home app used to turn ON the light)
cmnd/milighthub/CommonMiLightHub/0x1/fut089/4 {} (brightness slider used in the home app)
cmnd/milighthub/CommonMiLightHub/0x1/fut089/4 { state: 'Off' } (button in the home app used to turn OFF the light)
cmnd/milighthub/CommonMiLightHub/0x1/fut089/4 { color_temp: 357 } (color temp set from the home app)
cmnd/milighthub/CommonMiLightHub/0x1/fut089/4 { state: 'On', level: 90 } (brightness set thru siri)

Hope this is fixable.

Thank you for this plugin!

@turbidWaters
Copy link
Author

I have never created a fork or initiated a pull request as I am not so familiar with it. However, I have used an AI tool to help fix the issue and it is working, after I replaced the index.js file.

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

1 participant