{
"state":"ON",
"brightness":84,
"color":
{"x":0.520197971485871,
"y":0.414169012151805},
"color_temp":484.027105517909,
"linkquality":42,"elapsed":100116,
"last_seen":"2020-06-15T08:51:20.975Z"
}
{
"state":"OFF",
"brightness":254,
"color_temp":312.5,
"update_available":false,
"last_seen":"2020-06-15T12:13:23.160Z"
}
FlyingDiver wrote:Great, that helps. I've built a node-red flow that acts like a bulb simulator, so I can use those payloads to test the plugin and device configuration.
.
siclark wrote:The full JSON back from the hue bulb is
- Code: Select all
{
"state":"ON",
"brightness":84,
"color":
{"x":0.520197971485871,
"y":0.414169012151805},
"color_temp":484.027105517909,
"linkquality":42,"elapsed":100116,
"last_seen":"2020-06-15T08:51:20.975Z"
}
{"state": "ON", "brightness": 255 }
{"state":"ON","brightness":0,"color_temp":200}
Also the get topic only needs a blank payload. Adding anything there doesnt seem to change the response.
MQTT Shims Debug shimColor 1965234729: publish_topic: zigbee2mqtt/1965234729/set -> {"state": "ON", "brightness": 255 }
MQTT Shims Debug shimColor 1965234729: publish_topic: zigbee2mqtt/1965234729/set -> OFF
MQTT Shims Debug shimColor 1965234729: publish_topic: zigbee2mqtt/1965234729/set -> ON
MQTT Shims Debug shimColor 1965234729: actionColorVals: 'ActionProps : (dict)
whiteTemperature : 5498 (integer)'
MQTT Shims Debug shimColor 1965234729: SetColorLevels, changing color temperature to: 5498.0
MQTT Shims Debug shimColor 1965234729: publish_topic: zigbee2mqtt/1965234729/set -> {"state":"ON","brightness":0,"color_temp":182}
FlyingDiver wrote:I'm just going by the published spec....
siclark wrote:Strangely Indigo 100 = zigbee 255 on a dimmer device, but 254 on a colour device. ...
Changing colour device does appear to be sending zero.
- Code: Select all
MQTT Shims Debug shimColor 1965234729: publish_topic: zigbee2mqtt/1965234729/set -> {"state": "ON", "brightness": 255 }
MQTT Shims Debug shimColor 1965234729: publish_topic: zigbee2mqtt/1965234729/set -> OFF
MQTT Shims Debug shimColor 1965234729: publish_topic: zigbee2mqtt/1965234729/set -> ON
MQTT Shims Debug shimColor 1965234729: actionColorVals: 'ActionProps : (dict)
whiteTemperature : 5498 (integer)'
MQTT Shims Debug shimColor 1965234729: SetColorLevels, changing color temperature to: 5498.0
MQTT Shims Debug shimColor 1965234729: publish_topic: zigbee2mqtt/1965234729/set -> {"state":"ON","brightness":0,"color_temp":182}
Users browsing this forum: No registered users and 2 guests