Closed rechichidaniel closed 1 year ago
I'm not sure why but the Home Assistant Dev Tools menu does send the correct XY values. It's just the Z2M dev console and direct MQTT messaging that doesn't. Did I set something in my tests up wrong?
The datatype of x/y is a uint16
, not a float. Multiply the float by 65535
and round it.
Thanks Koen. That worked. Sorry to waste your time on this one.
What happened?
Sending the
Move to Color (0x07)
command sendscolorx = 0
andcolory = 0
regardless of what colorx and colory are set to.transtime
does send.I tried using these settings for
Payload
but any values for colox and colory send a 0I also put this json message in a Node Red MQTT node which produced the exact same result.
What did you expect to happen?
The expectation was for
colorx = 0.7010
andcolory = 0.2990
to be sent instead of0.000
.How to reproduce it (minimal and precise)
I used the Z2M Dev Console to send the above command and payload, and Wireshare with nRF52840 to observe the network traffic.
Zigbee2MQTT version
1.29.2
Adapter firmware version
20220219
Adapter
TubeZB's CC2652P2 Based Coordinator
Debug log
See screenshots.