-
Notifications
You must be signed in to change notification settings - Fork 15
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
Support for simple dimmer with RGBW(W) (Hue) devices #23
Comments
I agree on the need for a better suited widget, but I'm not sure how we can do that. Two questions come to my mind:
|
Good questions.
Like the linked issue is describing it is actually an issue with groups only. Single Hue Ambiance lights show up correctly as plain dimmable lights in domoticz, and therefore also Reacticz:
|
Domoticz has now been updated #2229 such that:
|
Thanks for the heads up @emontnemery Is this available in the beta channel already? Am I correct assuming that @mattijsf 's Hue Ambiance bulbs will then show up with subtype WW? I suppose I'll create a new type of dimmer widget with warmth instead of the full hue range. Which subtypes should get that instead of the old one ? |
Yeah, already available in beta channel. I can't link to Domoticz wiki as it seems to be inaccessible from Europe today.. |
Ok so to summarize, if the device has type Color Switch, Reacticz should display a dimmer widget with either:
Makes sense ? @mattijsf could you please confirm (if you have the beta channel) that the Hue Ambiance bulbs show up with WW subtype ? Regarding HSL triplet, this is what the reacticz widget uses. It converts it to hex values before sending commands, so it's not necessary to add direct HSL support just for that (but it would still be nice to have I guess). |
@t0mg I'm currently running a stable version of Domoticz. For stability sake I don't want to move that to a beta channel (yet). I will try running a beta version in parallel this weekend to have a look at this update and provide more details. |
Warmth and hue is different, it should preferably be possible to set either hue or warmth for RGBWW and RGBWWZ.
Are you using http or mqtt domoticz/in to control the lights? |
No, dimmers are currently using http/JSON to send updates because as far as I remember it wasn't working over mqtt. Mqtt is used whenever was possible at the time of writing the widgets (eg on/off switches use mqtt, but scenes toggles and dimmers don't). I agree it would be better to be able to set either hue or warmth when the light supports both, but I can't picture how a widget with that many options could remain simple (and small) enough. |
Maybe it is out of the scope unrelated to this issue but I have these lights to find the correct warmth just once. In day-to-day use I prefer just to have a plain dimmer because the color / warmth is already fine. Especially from a dashboard point of view a plain dimmer would be perfect. Of course this won't be the case for all users... |
MQTT support is there now for setting color and warmth, but i forgot to update the Domoticz wiki, I'll try to get it done soon. The clutter issue is typically solved by having some small UI element to allow choosing mode of the color picker, like in the attached picture. I agree with @mattijsf, dimlevel has highest priority, probably warmth second and hue last. Edit: Wiki updated, https://www.domoticz.com/wiki/MQTT#Sending_a_Switch_Command |
Ok. I think I have an idea. We already have the concept of widgets that hide away parts of their ui when resized horizontally (for example a dimmer becomes a simple toggle). Maybe I can do the same vertically to show/hide the third bar (which would be hue). |
(if we hid both hue and warmth at default height - which is already the minimum height - then I'm afraid existing users would see the suddenly missing hue bar as a bug) |
A majority of my lights are based on Hue Ambiance bulbs. These are white lights with a configurable warmth color. Domoticz classifies these lights as RGBW devices and in Reacticz they ultimately show up as RGB dimmers. Is there a way to enforce Reacticz to render these switches as the following?
Currently they always show as RGB dimmers:
The text was updated successfully, but these errors were encountered: