Hello,
I would like someone to explain to me payload for Zigbee cluster library (Zcl)
i was following this guide to control my lights:
https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v4.0.0%2Fzigbee_example_cli_agent.html
For now i have two issues:
1- How do I control my lights colors using the 'zcl cmd' and what is the payload for 'x,y' color parameter?
code according to Zcl cli reference for temperature:
'zcl cmd 000b57fffebb86b8 1 0x0300 -p 0x0104 0x0a -l af000000'
format according to Zigbee Cli refernce of Nordic (https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v4.0.0%2Fzigbee_example_cli_agent.html), The format is:
'zcl cmd [-d] <h:dst_addr> <d:ep> <h:cluster> [-p h:profile] <h:cmd_ID> [-l h:payload]'
according to the zigbee cluster library the parameters should be the same instead '0x0a' -> '0x07' to change color. And payload
which i didn't find any documentation to explain the payload and how it should be written the only thing i found it is that (x,y,transitiontime) are the parameters and they are 48-bits in total (16 bit each).
How should I write them?
the only thing i was able to do was change my hue and saturation which i don't find very accurate i would prefer to use the x,y color spectrum.
2- My lights were successfully discovered and changed my hue levels for all 3 philips hue products ('Hue Go', 'Hue striplight', 'Hue Colored lightbulb'). But after reseting my system and coming back to search for the lights using 'zdo match_desc' they don't appear anymore.
How can I make my lights discoverable again? ( I did factory reset multiple times still didn't work)