I’m using version 1.10.7 25-11-20 FW (previously had 1.10.5 but udated it to try and fix this issue) on my Nodemcuv2 ESP8266-12E with nRF24 radio, the native FW Web UI updates fine when using the Remote Control.
The version of the binding I’m using is espmilighthub-3.1.0-SNAPSHOT date 29-12-20.
Now if I understand correctly, you want me to disable my 100+ other perfectly working items to use the OH3 UI to configure this binding which is only supporting 4 items, because, as I understand it, OH3 won’t let you mix textual configs and UI configs, this seems rather drastic to me. I can post all my text configs for this binding (which I did in previous thread I’m sure), but to disable/abandon my whole working setup just to re-create an LED Bulb instance is nonsense.
Thing is, the Remote Control events are being seen by the binding, the binding in turn is not relaying those events back to the UI (OH3 or BasicUI), the callback code seems to be buggy.
Here’s my configs.
Things:
Bridge mqtt:broker:0x123A "Milight LEDs" [ host="127.0.0.1", port=1883, secure=false, username="", password="", qos=1]
Thing mqtt:rgbw:0x123A0 "All Milight Lights" (mqtt:broker:0x123A) @ "Home" [powerFailsToMinimum=false]
Thing mqtt:rgbw:0x123A1 "Milight Bedroom Lamp" (mqtt:broker:0x123A) @ "Bedroom" [powerFailsToMinimum=false]
Thing mqtt:rgbw:0x123A2 "Milight Bedroom Light" (mqtt:broker:0x123A) @ "Bedroom" [powerFailsToMinimum=false]
Thing mqtt:rgbw:0x123A3 "Milight Lounge Light" (mqtt:broker:0x123A) @ "Lounge" [powerFailsToMinimum=false]
Thing mqtt:rgbw:0x123A4 "Milight Bathroom Light" (mqtt:broker:0x123A) @ "Bathroom" [powerFailsToMinimum=false]
Items:
// Lights
/* All Lights */
Switch All_LightsSw "All Lights Switch - On/Off [%s]" (Home,Lights,AllLights) ["Switchable"] {channel="mqtt:rgbw:0x123A0:level"}
Dimmer All_LightsLD "All Lights Brightness [%s]" <slider> (Home,Lights,AllLights) ["Lighting"] {channel="mqtt:rgbw:0x123A0:level"}
Color All_LightsCM "All Lights Colour [%s]" (Home,Lights,AllLights) ["Lighting"] {channel="mqtt:rgbw:0x123A0:colour"}
String All_Lights_Cmd "All Lights Command" (Home,Lights,AllLights) ["Lighting"] {channel="mqtt:rgbw:0x123A0:command"}
String All_LightsCBM "All Lights Current Bulb Mode [%s]" (Home,Lights,AllLights) ["Lighting"] {channel="mqtt:rgbw:0x123A0:bulbMode"}
Number All_LightsDM "All Lights Disco Mode [%d]" (Home,Lights,AllLights) ["Lighting"] {channel="mqtt:rgbw:0x123A0:discoMode"}
/* Bedroom Lamp */
Switch Bedroom_LampSw "Bedroom Lamp Switch - On/Off [%s]" (Bedroom,Lights) ["Switchable"] {channel="mqtt:rgbw:0x123A1:level"}
Dimmer Bedroom_LampLD "Bedroom Lamp Brightness [%s]" <slider> (Bedroom,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A1:level"}
Color Bedroom_LampCM "Bedroom Lamp Colour [%s]" (Bedroom,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A1:colour"}
String Bedroom_Lamp_Cmd "Bedroom Lamp Command" (Bedroom,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A1:command"}
String Bedroom_LampCBM "Bedroom Lamp Current Bulb Mode [%s]" (Bedroom,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A1:bulbMode"}
Number Bedroom_LampDM "Bedroom Lamp Disco Mode [%d]" (Bedroom,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A1:discoMode"}
/* Bedroom Light */
Switch Bedroom_LightSw "Bedroom Light Switch - On/Off [%s]" (Bedroom,Lights) ["Switchable"] {channel="mqtt:rgbw:0x123A2:level"}
Dimmer Bedroom_LightLD "Bedroom Light Brightness [%s]" <slider> (Bedroom,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A2:level"}
Color Bedroom_LightCM "Bedroom Light Colour [%s]" (Bedroom,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A2:colour"}
String Bedroom_Light_Cmd "Bedroom Light Command" (Bedroom,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A2:command"}
String Bedroom_LightCBM "Bedroom Light Current Bulb Mode [%s]" (Bedroom,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A2:bulbMode"}
Number Bedroom_LightDM "Bedroom Light Disco Mode [%d]" (Bedroom,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A2:discoMode"}
/* Lounge Light */
Switch Lounge_LightSw "Lounge Light Switch - On/Off [%s]" (Lounge,Lights) ["Switchable"] {channel="mqtt:rgbw:0x123A3:level"}
Dimmer Lounge_LightLD "Lounge Light Brightness [%s]" <slider> (Lounge,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A3:level"}
Color Lounge_LightCM "Lounge Light Colour [%s]" (Lounge,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A3:colour"}
String Lounge_Light_Cmd "Lounge Light Command" (Lounge,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A3:command"}
String Lounge_LightCBM "Lounge Light Current Bulb Mode [%s]" (Lounge,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A3:bulbMode"}
Number Lounge_LightDM "Lounge Light Disco Mode [%d]" (Lounge,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A3:discoMode"}
/* Bathroom Light */
Switch Bathroom_LightSw "Bathroom Light Switch - On/Off [%s]" (Bathroom,Lights) ["Switchable"] {channel="mqtt:rgbw:0x123A4:level"}
Dimmer Bathroom_LightLD "Bathroom Light Brightness [%s]" <slider> (Bathroom,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A4:level"}
Color Bathroom_LightCM "Bathroom Light Colour [%s]" (Bathroom,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A4:colour"}
String Bathroom_Light_Cmd "Bathroom Light Command" (Bathroom,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A4:command"}
String Bathroom_LightCBM "Bathroom Light Current Bulb Mode [%s]" (Bathroom,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A4:bulbMode"}
Number Bathroom_LightDM "Bathroom Light Disco Mode [%d]" (Bathroom,Lights) ["Lighting"] {channel="mqtt:rgbw:0x123A4:discoMode"}
Sitemap
Group item=AllLights {
Frame label="All Lights" icon="light" {
Switch item=All_LightsSw
Slider item=All_LightsLD
Colorpicker item=All_LightsCM
// [next_mode='next_mode', previous_mode='previous_mode', mode_speed_up='mode_speed_up', mode_speed_down='mode_speed_down', set_white='set_white', pair='pair',unpair='unpair',level_down='level_down',level_up='level_up',temperature_down='temperature_down',temperature_up='temperature_up',night_mode='night_mode',favourite_white='favourite_white']
Selection item=All_Lights_Cmd mappings=[favourite_white='favourite_white', set_white='set_white',night_mode='night_mode', level_up='level_up', level_down='level_down', next_mode='next_mode', previous_mode='previous_mode', mode_speed_up='mode_speed_up', mode_speed_down='mode_speed_down', pair='pair', unpair='unpair'] icon="blinds-100"
Setpoint item=All_LightsDM minValue=0 maxValue=8 step=1
Text item=All_LightsCBM
}
Frame label="Bedroom Lamp" icon="light" {
Switch item=Bedroom_LampSw
Slider item=Bedroom_LampLD
Colorpicker item=Bedroom_LampCM
Selection item=Bedroom_Lamp_Cmd mappings=[favourite_white='favourite_white', set_white='set_white',night_mode='night_mode', level_up='level_up', level_down='level_down', next_mode='next_mode', previous_mode='previous_mode', mode_speed_up='mode_speed_up', mode_speed_down='mode_speed_down', pair='pair', unpair='unpair'] icon="blinds-100"
// Setpoint item=Bedroom_LampDM minValue=0 maxValue=8 step=1
Selection item=Bedroom_LampDM
Text item=Bedroom_LampCBM
}
Frame label="Bedroom Light" icon="light" {
Switch item=Bedroom_LightSw
Slider item=Bedroom_LightLD
Colorpicker item=Bedroom_LightCM
Selection item=Bedroom_Light_Cmd mappings=[favourite_white='favourite_white', set_white='set_white',night_mode='night_mode', level_up='level_up', level_down='level_down', next_mode='next_mode', previous_mode='previous_mode', mode_speed_up='mode_speed_up', mode_speed_down='mode_speed_down', pair='pair', unpair='unpair'] icon="blinds-100"
Setpoint item=Bedroom_LightDM minValue=0 maxValue=8 step=1
Text item=Bedroom_LightCBM
}
Frame label="Lounge Light" icon="light" {
Switch item=Lounge_LightSw
Slider item=Lounge_LightLD
Colorpicker item=Lounge_LightCM
Selection item=Lounge_Light_Cmd mappings=[favourite_white='favourite_white', set_white='set_white',night_mode='night_mode', level_up='level_up', level_down='level_down', next_mode='next_mode', previous_mode='previous_mode', mode_speed_up='mode_speed_up', mode_speed_down='mode_speed_down', pair='pair', unpair='unpair'] icon="blinds-100"
Setpoint item=Lounge_LightDM minValue=0 maxValue=8 step=1
Text item=Lounge_LightCBM
}
Frame label="Bathroom Light" icon="light" {
Switch item=Bathroom_LightSw
Slider item=Bathroom_LightLD
Colorpicker item=Bathroom_LightCM
Selection item=Bathroom_Light_Cmd mappings=[favourite_white='favourite_white', set_white='set_white',night_mode='night_mode', level_up='level_up', level_down='level_down', next_mode='next_mode', previous_mode='previous_mode', mode_speed_up='mode_speed_up', mode_speed_down='mode_speed_down', pair='pair', unpair='unpair'] icon="blinds-100"
Setpoint item=Bathroom_LightDM minValue=0 maxValue=8 step=1
Text item=Bathroom_LightCBM
}