Behaviour #5
Replies: 1 comment 18 replies
-
Currently, I provide no ability to set brightness (control). I do, however, provide status in the form of a percent derived from RGB values. When I change color, the behavior of the integration changes and RGB gets scaled by either the Home app or HomeKit. HomeKit is something I was vaguely aware of in the context of a dedicated hub, but after reading a bit it appears to be a component of iOS. So, I guess it's an element of the frontend along with Home. Curiously, when I open the Home app, it knows the correct value of brightness even as Homebridge reports NaN. Here's a screen snippet: Unfortunately, the brightness control is not responsive. Here's a capture of the Homebridge console output before and after a change of color. RGB scaling is working using the brightness control:
The config.json file is attached. The file name had to be changed to transfer it. Thanks again. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The communication is roughly as follows:
iPhone -> Apple Home App or Eve --HSV--> HomeKit --HSV--> Homebridge --HSV--> hombridge-http-rgb-push --RGB--> Your device.
As you see the plugin receives HSV from HomeKit always (and optionally brightness when configured in
config.json
), translates it to RGB values and a brightness and calls your device.Correct, but I cannot match this with your earlier statement: "The light has RGB capability, so there is no brightness control."
The plugin is written such that if you disable brightness it will indeed tell HomeKit to remove the brightness characteristic from its controls.
Regarding the
_setRGB() failed: options.uri is a required argument
the error is a bit misleading, but make sure you have set_url correctly set in your config.Can you paste your configuration?
Beta Was this translation helpful? Give feedback.
All reactions