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

Fan with Light dimming not functional #480

Open
Bry5on opened this issue Jul 18, 2024 · 1 comment
Open

Fan with Light dimming not functional #480

Bry5on opened this issue Jul 18, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Bry5on
Copy link

Bry5on commented Jul 18, 2024

Checklist

  • [X ] I have read the common issues wiki page
  • [ X] I have checked to make sure the plugin is up to date

Describe the bug
"devices": [
{
"type": "FanLight",
"name": "Bedroom Ceiling Fan",
"id": "id",
"key": "key",
"manufacturer": "NOPAARD",
"model": "60 inch ceiling fan",
"dpLightOn": 20,
"useBrightness": true,
"dpBrightness": 22,
"dpFanOn": 60,
"dpRotationSpeed": 62,
"fanDefaultSpeed": 8,
"maxSpeed": 100
}
]

With the above settings, the fan behaves as expected (0-100% speed operation), but the light dimming is non functional. The dimming slider shows full (like 100% brightness normally would) but the light sets itself to 10% brightness in reality. Home app reports the accurate 10% state in the summary/room view, but not the light detail view (where it reports 100%). If I ask Siri to set the light to 200%, it will set the light state to an actual 20%. See screenshots below

To Reproduce
The behavior is constant from start, and does not require steps to reproduce

Expected behavior
I expect to be able to set the light from 1% to 100% in 1% increments via the Home app and have that set the Fan Light bulb to the corresponding equal % state

Screenshots
IMG_3159
IMG_3160
IMG_3161
IMG_3162

Environment (please complete the following information):

  • OS: iOS
  • iOS version:
  • Homehubs: Homebridge
  • Node Version: 18.17.1
  • Plugin Version: 3.1.1
  • Accessory Type: Ceiling Fan with built-in dimmable LED Light bulb

Additional context
Add any other context about the problem here.

@Bry5on Bry5on added the bug Something isn't working label Jul 18, 2024
@onichan88
Copy link

I have the same issue.
In homekit if I put 100%, it really puts at 10%.
But if I do from accesory tab of homebridge webui, I can put to 900, but if I put to 1000 it sticks to 900 (maybe the limit value is 999?).
Note that the values of brightness in tuya goes from 0 to 1000, in steps of 10, but in homekit goes from 0% to 100%.
I think there might be an scaleBrightness or something that multiplies the value from homekit per 10, and divide the value get from tuya by 10 to show it correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants