Hi,
I been running ESP8266 Milight Hub with HASS to control my bulb Milight RGB-CCT and it work perfectly. I can control state, color, brightness, color temperature, and the effects. Only Saturation doesn’t work since HA expect to have “white_value” instead of “saturation” which is another problem I’ll fix later.
So the issue I’m having is with the status in the frontend panel (Standard and Lovelace), it only update when it is ON or OFF event. If I dim/bright or change the color of the light from the milight remote, iOS device or another browser, it doesn’t update on the frontend panel.
I’m running HASSIO v80.3 on RP3 with Mosquitto MQTT.
# Milight Type: MQTT_JSON
- name: "Bureau_lamp-States"
platform: mqtt_json
command_topic: "milight/commands/0x72C6/rgb_cct/1"
state_topic: "milight/states/0x72C6/rgb_cct/1"
brightness: true
rgb: true
color_temp: true
white_value: true
qos: 0
optimistic: false
effect: true
effect_list: [0, 1, 2, 3, 4 ,5, 6, 7, 8]
Result from MQTT client:
Topic: milight/states/0x72C6/rgb_cct/1
{“state”:“ON”,“brightness”:255,“color_temp”:153}
Topic: milight/updates/0x72C6/rgb_cct/1
{“brightness”:255}
I know my state_topic work since I’m receiving the state status ON or OFF, but any reason why other status doesn’t update on the front panel?
Thanks