[BUG REPORT] Missing field in setHue Zigbee method

According to Zigbee specs, there should be 3 fields in a "Move to Hue" command. But the setHue method misses the middle "Direction" field. For example, setHue(50) generates this command:

[he cmd 0x33BB 0x01 0x0300 0x00 {7F 1000}, delay 2000]

But it should rather look like...

[he cmd 0x33BB 0x01 0x0300 0x00 {7F 00 1000}, delay 2000]

Direction is optional apparently or the command wouldn't work at all, and it obviously does.

According to the specs, it is required. And I've tested it with a Sengled bulb: it doesn't work using the zigbee.setHue method. But it works if I add the missing field using the generic zigbee.command method.

image

Anyhow, I don't need this. I just wanted to help by mentioning it. :slight_smile:

Something here isnt making sense, not specifically what youre saying. Ill check into it.

1 Like

Yes, there is indeed the mentioned bug in the zigbee.setHue method.
We'll get this fixed in one way or another.

5 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.