<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Zigbee Cluster Library (Zcl) issues</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58845/zigbee-cluster-library-zcl-issues</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Mar 2020 17:28:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58845/zigbee-cluster-library-zcl-issues" /><item><title>RE: Zigbee Cluster Library (Zcl) issues</title><link>https://devzone.nordicsemi.com/thread/238929?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2020 17:28:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d263c278-d4c4-42db-a6fe-c8a120b925c2</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Question1&lt;/strong&gt;. Color control cluster has cluster ID 0x0300 and command ID 0x07 Move to Color is describe in section 5.2.2.3.10 of the ZCL spec.&lt;/p&gt;
&lt;p&gt;Since the payload consists for 3 x 16 bits then you should write a total of 12 characters in the payload. The last four characters will be the transition time.&lt;/p&gt;
&lt;p&gt;There is also some information about the CurrentX and CurrentY color values in the specification, and both values have a range of 0000-feff&lt;/p&gt;
&lt;p&gt;&lt;em&gt;CurrentX Attribute&lt;/em&gt;&lt;br /&gt;The CurrentX attribute contains the current value of the normalized chromaticity value x, as defined in the CIE xyY Color Space. It is updated as fast as practical during commands that change the color.&lt;br /&gt;The value of x SHALL be related to the CurrentX attribute by the relationship&lt;br /&gt;x = CurrentX / 65536 (CurrentX in the range 0 to 65279 inclusive)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;em&gt;CurrentY Attribute&lt;/em&gt;&lt;br /&gt;The CurrentY attribute contains the current value of the normalized chromaticity value y, as defined in the CIE xyY Color Space. It is updated as fast as practical during commands that change the color.&lt;br /&gt;The value of y SHALL be related to the CurrentY attribute by the relationship&lt;br /&gt;y = CurrentY / 65536 (CurrentY in the range 0 to 65279 inclusive)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Question2&lt;/strong&gt;. If you are using the CLI agent example you should now that this example erased the zigbee network data after reset by default, since it&amp;#39;s mean to be used as a developing tool. You will need to commission the lights again after reseting the example. If you want to store the network data in NVRAM you need to set ERASE_PERSISTENT_CONFIG to ZB_FALSE in the source code. For a product that is going to be release to the market you will usually want to make a custom coordinator, so the thought is that you can use the CLI example as a developing tool to see which commands you need to implement in your coordinator and then add them to the Light control coordinator for example.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>