Hi Joe,
Apologies, life and work got the better of me over the last few months.
My system is working well generally, but I am still not seeing the on/off state update in Indigo. This applies whether I turn the device on or off with indigo, or set the brightness (to 0 for example) even though mqtt reports the state change.
The full mqtt message is
- Code: Select all
{"brightness":254,"color":{"x":0.339715260382228,"y":0.347215989076895},"color_temp":192,"linkquality":94,"state":"OFF","update_available":false}
and I have tried setting teh status request payload to this
- Code: Select all
{"brightness":"","color":{"x":"","y":""},"color_temp":"","linkquality":"","state":"","update_available":""}. from just having the state
This is from debug turning it on, from off. The bulb responds correctly, but the indigo doesnt change,
- Code: Select all
MQTT Shims Debug Kitchen Pendant 1: processMessages: '##HueBulb##' zigbee2mqtt/HueBulb/Kitchen1 -> {"brightness":254,"color":{"x":0.339715260382228,"y":0.347215989076895},"color_temp":192,"linkquality":94,"state":"OFF","update_available":false}
MQTT Shims Debug Kitchen Pendant 1: state = OFF
MQTT Shims Debug Kitchen Pendant 1: shimColor, state_key = state, value_key = brightness, data = {u'color_temp': 192, u'linkquality': 94, u'update_available': False, u'brightness': 254, u'color': {u'y': 0.347215989076895, u'x': 0.339715260382228}, u'state': u'OFF'}, state = OFF, value = 254
MQTT Shims Debug Kitchen Pendant 1: No brightnessLevel, setting onOffState to False
MQTT Shims Debug Kitchen Pendant 1: Updating brightnessLevel to 100
MQTT Shims Debug Kitchen Pendant 1: convert_color_space_import input: {u'y': 0.347215989076895, u'x': 0.339715260382228}
MQTT Shims Debug Kitchen Pendant 1: xy_to_rgb output: 255 250 232
MQTT Shims Debug Kitchen Pendant 1: convert_color_space_import output: {'greenLevel': 98.03921568627452, 'redLevel': 100.0, 'blueLevel': 90.98039215686275}
MQTT Shims Debug Kitchen Pendant 1: Updating color values to {'greenLevel': 98.03921568627452, 'redLevel': 100.0, 'blueLevel': 90.98039215686275}
MQTT Shims Debug Kitchen Pendant 1: Updating states: [{'value': False, 'key': 'onOffState'}, {'value': 100, 'key': 'brightnessLevel'}, {'value': 100.0, 'key': 'redLevel'}, {'value': 98.03921568627452, 'key': 'greenLevel'}, {'value': 90.98039215686275, 'key': 'blueLevel'}]
MQTT Shims Debug Kitchen Pendant 1: Updating color temperature to 5208
However when on and I Set brightness to zero in ingido, the icon does go to off
- Code: Select all
MQTT Shims Debug Kitchen Pendant 1: processMessages: '##HueBulb##' zigbee2mqtt/HueBulb/Kitchen1 -> {"brightness":0,"color":{"x":0.339715260382228,"y":0.347215989076895},"color_temp":192,"linkquality":94,"state":"OFF","update_available":false}
MQTT Shims Debug Kitchen Pendant 1: state = OFF
MQTT Shims Debug Kitchen Pendant 1: shimColor, state_key = state, value_key = brightness, data = {u'color_temp': 192, u'linkquality': 94, u'update_available': False, u'brightness': 0, u'color': {u'y': 0.347215989076895, u'x': 0.339715260382228}, u'state': u'OFF'}, state = OFF, value = 0
MQTT Shims Debug Kitchen Pendant 1: No brightnessLevel, setting onOffState to False
MQTT Shims Debug Kitchen Pendant 1: Updating brightnessLevel to 0
MQTT Shims Debug Kitchen Pendant 1: convert_color_space_import input: {u'y': 0.347215989076895, u'x': 0.339715260382228}
MQTT Shims Debug Kitchen Pendant 1: xy_to_rgb output: 255 250 232
MQTT Shims Debug Kitchen Pendant 1: convert_color_space_import output: {'greenLevel': 98.03921568627452, 'redLevel': 100.0, 'blueLevel': 90.98039215686275}
MQTT Shims Debug Kitchen Pendant 1: Updating color values to {'greenLevel': 98.03921568627452, 'redLevel': 100.0, 'blueLevel': 90.98039215686275}
MQTT Shims Debug Kitchen Pendant 1: Updating states: [{'value': False, 'key': 'onOffState'}, {'value': 0, 'key': 'brightnessLevel'}, {'value': 100.0, 'key': 'redLevel'}, {'value': 98.03921568627452, 'key': 'greenLevel'}, {'value': 90.98039215686275, 'key': 'blueLevel'}]
MQTT Shims Debug Kitchen Pendant 1: Updating color temperature to 5208
Any ideas? is this an issue in my setup?
Thanks
Simon