One other glitch I’ve noticed that I’d like to figure out. Pertaining to the dimmer.
I have an item:
Dimmer Milight_Kitch_dim "Kitch dim" ["Lighting"] {channel="espmilighthub:rgbw:001:0x14BA1:level"}
.sitemap
Text label="EntryHallway" icon="light"
{
Slider item=Milight_Kitch_dim
}
(PS, I mostly have been working with Habpanel, just did the sitemap for this item to test it out)
This dimmer functions, in that, when I adjust the slider to a certain level, say for example 50% the light dims to 50% , although the odd thing I see, is that the slider itself on the sitemap jumps back up to 100% after the setting is sent to the bulb. The bulb retains the level adjustment (be it, anywhere from 1%-99%) but the slider itself always jumps up to 100%. I have the same issue when I add a dimmer to Habpanel.
On/Off status of bulbs seems to work properly, even if I turn bulb on/off with milight remote, the status updates on Habpanel (light ON/OFF). Also I note that if I switch the light off, either with the remote or the switch on Habpanel, the slider indicator will flip from 0% (when off) and 100% (when on)
note: adjusting the dimmer on the remote has no affect on the slider status on the UI.
also…not sure if they are supposed to, but hue/color updates on the remote doesn’t affect the indicator in the UI as well.
Not sure if these are bugs, or if I’m missing something or have an error in my setup. or perhaps even some of these things are not implemented yet.
here’s what I see in mosquitto when adjusting slider.
milight/commands/0x14BA/rgbw/1 {"state":"ON","level":8}
milight/states/0x14BA/rgbw/1 {"state":"ON"}
milight/states/0x14BA/rgbw/1 {"brightness":20}
Thanks again this is a really great binding, so far loving it.
PPS. I have Homekit for iphone setup, and light (ON/OFF) status seems to work well, it is synced across iphone/habpanel/and remote. but I notice the same thing happen with the dimmer, I will adjust it on the iphone and the indicator jumps back to 100% (but the light dims to the desired level and holds it’s setting) I do however notice that when I adjust the dimmer on the iphone, this syncs with the Habpanel dimmer, (although it always jumps back to 100%)