<?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 brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89537/zigbee-brightness-cluster-attribute-and-cluster</link><description>Hello, 
 Using v1.9.1 nrfConnect and the Coordinator example on a nrf52840 -DK. From Nordic docs: I think I may be miss interpreting Zigbee Cluster spec... Below is example of an RGB light bulb I&amp;#39;m trying to change brightness on but can&amp;#39;t get it to change</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Aug 2022 10:06:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89537/zigbee-brightness-cluster-attribute-and-cluster" /><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/380798?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 10:06:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcc193ea-e7ea-442a-929a-3994d083381a</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yeah, I don&amp;#39;t expect you to change version mid developing at all.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve created an internal inquiry to see if we are able to create a PR that fixes this,&amp;nbsp;but&amp;nbsp;I can&amp;#39;t say when and if this inquiry will be fixed. I&amp;#39;ll let you know as soon as I know more.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/380416?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 13:59:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2651e159-6854-4173-b8cb-da59478eccf8</guid><dc:creator>JorgenM</dc:creator><description>&lt;p&gt;If you have the Coordinator design running on your eval board it may be easier to just try it. It&amp;#39;s very obvious error.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a bit complicated for us right now to jump to new version as we are in middle of writing code to parse messages.&lt;br /&gt;Thx, Jorgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/380395?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 13:11:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e72102ba-ab87-4794-bcf0-b10d3495ee4e</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;I will have to dig up and see if I can find anything about a change in the newer version and to verify that its a version error. Our ZigBee developers believe it might have been fixed in a newer version of NCS and that the error you&amp;#39;re seeing is related to older versions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll get back to you on monday.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/380197?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 15:21:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12bf8c05-2887-43ce-b703-8206e12d7045</guid><dc:creator>JorgenM</dc:creator><description>&lt;p&gt;Andreas,&lt;br /&gt;No I have not. Can you confirm that was a change in v2.0 ?&lt;br /&gt;&lt;br /&gt;I don&amp;#39;t mind moving to a newer version NCS once in a while, however doing this we have to regression test everything we know works in v1.9 since behavior is always a bit different.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Jorgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/380167?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 14:03:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4450da66-c07c-4981-ab3d-59c6a0684b53</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi Jorgen,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Apologies for the long response time. Have you checked if the error with the request pool is present in NCS v2.0.0 as well?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/378763?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2022 15:04:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4e83f2a-82ee-4aa7-a915-40fcfeec1be3</guid><dc:creator>JorgenM</dc:creator><description>&lt;p&gt;Andreas,&lt;br /&gt;No problem we have other things to work on .&lt;br /&gt;I believe once first error is generated it does not matter if I step down when at high limit or if I&amp;#39;m at low limit and step up. I will confirm this.&lt;br /&gt;( &amp;quot;waiting&amp;quot; does not help)&amp;nbsp;&lt;br /&gt;Thx, Jorgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/378744?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2022 13:59:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e489fa6d-49c9-42f2-9608-ca70554a027e</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I will see if I can dig up an explaination to this, however it might take some time (again due to vacation).&lt;br /&gt;&lt;br /&gt;My immediate thought is that the request pool only either has room for a given amount of orders (fixed bit number of orders can be held at a given time), or that the limit has been overstepped. Does the error clear if you step down after reaching the upper limit?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/378411?ContentTypeID=1</link><pubDate>Sat, 23 Jul 2022 20:16:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bd09e5a-bae0-456e-8472-102c567f455c</guid><dc:creator>JorgenM</dc:creator><description>&lt;p&gt;Thanks Andreas,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was able to step up and down now!&lt;/p&gt;
&lt;div id="1658606508.087769" class="c-virtual_list__item c-virtual_list__item--initial-activeitem" data-qa="virtual-list-item" data-item-key="1658606508.087769"&gt;
&lt;div class="c-message_kit__background p-message_pane_message__message c-message_kit__message" data-qa="message_container" data-qa-unprocessed="false" data-qa-placeholder="false"&gt;
&lt;div class="c-message_kit__hover" data-qa-hover="true"&gt;
&lt;div class="c-message_kit__actions c-message_kit__actions--default"&gt;
&lt;div class="c-message_kit__gutter"&gt;
&lt;div class="c-message_kit__gutter__right" data-qa="message_content"&gt;
&lt;div class="c-message_kit__blocks c-message_kit__blocks--rich_text"&gt;
&lt;div class="c-message__message_blocks c-message__message_blocks--rich_text" data-qa="message-text"&gt;
&lt;div class="p-block_kit_renderer" data-qa="block-kit-renderer"&gt;
&lt;div class="p-block_kit_renderer__block_wrapper p-block_kit_renderer__block_wrapper--first"&gt;
&lt;div class="p-rich_text_block" dir="auto"&gt;
&lt;div class="p-rich_text_section"&gt;If I step too many times down or up and device is all the way to it&amp;#39;s upper or lower limit already&amp;nbsp;I get error msg saying=&amp;quot;request pool is full, wait a little&amp;quot;.&lt;br /&gt;&lt;br /&gt;Can you tell me what causes this error?&lt;br /&gt;&lt;br /&gt;I should not have to keep track of where I am on the step scale for a device, right? &lt;br /&gt;It should just reject or do nothing if I keep stepping beyond full/lowest brightness, please confirm.&lt;br /&gt;&lt;br /&gt;The &amp;quot;request pool...&amp;quot; error does not clear unless I push reset on eval brd and then I have to restart stack.&lt;br /&gt; So it&amp;#39;s probably related to Nordic FW.&lt;br /&gt;Is there a way to clear this message with command?&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id="1658606643.592499" class="c-virtual_list__item" data-qa="virtual-list-item" data-item-key="1658606643.592499"&gt;
&lt;div class="c-message_kit__background c-message_kit__background--hovered p-message_pane_message__message c-message_kit__message p-message_pane_message__message--last" data-qa="message_container" data-qa-unprocessed="false" data-qa-placeholder="false"&gt;
&lt;div class="c-message_kit__hover c-message_kit__hover--hovered" data-qa-hover="true"&gt;
&lt;div class="c-message_kit__actions c-message_kit__actions--above"&gt;
&lt;div class="p-autoclog__hook"&gt;
&lt;div class="c-message_kit__gutter"&gt;
&lt;div class="c-message_kit__gutter__right" data-qa="message_content"&gt;
&lt;div class="c-message_kit__blocks c-message_kit__blocks--rich_text"&gt;
&lt;div class="c-message__message_blocks c-message__message_blocks--rich_text" data-qa="message-text"&gt;
&lt;div class="p-block_kit_renderer" data-qa="block-kit-renderer"&gt;
&lt;div class="p-block_kit_renderer__block_wrapper p-block_kit_renderer__block_wrapper--first"&gt;
&lt;div class="p-rich_text_block" dir="auto"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Thanks again!&lt;br /&gt;Jorgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/377374?ContentTypeID=1</link><pubDate>Mon, 18 Jul 2022 09:13:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6721bd14-d3a8-4529-82e7-90c9bbcd9ef2</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi again Jorgen,&lt;br /&gt;&lt;br /&gt;I took another look into the ZigBee Cluster Library (version 7) and found something that I hope will clarify how to use the command&lt;/p&gt;
&lt;p&gt;For the step command:&amp;nbsp;&lt;span&gt;zcl cmd 0x8041 10 0x0008 0x02 -l 00A01400&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1658135437452v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;we have that the long payload 00A01400 is formated as 0x00 0xA0 0x14 0x00.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Here 0x00 = &amp;quot;step mode&amp;quot; which says to step up&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1658135489524v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;0xA0 = &amp;quot;step size&amp;quot;, which is to be changed by 160 (0xA0 = 160)&lt;/li&gt;
&lt;li&gt;0x14 = &amp;quot;transition time&amp;quot;, which is stated as &amp;quot;The Transition time field specifies the time that SHALL be taken to perform the step, in tenths of a seconds&lt;/li&gt;
&lt;li&gt;0x00 = &amp;quot;option&amp;quot;, which is just 0 since its not used&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These can be seen in chapter 5.2.2.3.6 in the specification&lt;/p&gt;
&lt;p&gt;I hope this clarifies this command for you!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/377227?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2022 13:47:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:103a8539-9e69-4f36-ba5b-8f806815cf5f</guid><dc:creator>JorgenM</dc:creator><description>&lt;p&gt;Thanks Andreas!&lt;/p&gt;
&lt;p&gt;Examples would be great on the payload format for lighting in general with short explanation of range parameters.&lt;br /&gt;It would save a lot of dev time....:)&lt;br /&gt;&lt;br /&gt;Since lighting control is such a common requirement an appnote with examples on this topic would be extremely useful or even a &amp;quot;real&amp;quot; lighting controller design example.&amp;nbsp;&lt;br /&gt;There are many ways to dim a light and change color etc.&lt;br /&gt;Some implementations (step vs. move to level as example) has impact on real-time response as well as flooding network with messages and instead using broadcast group etc. depending on how many lightbulbs are on the network.&lt;br /&gt;Just some food for thought...&lt;/p&gt;
&lt;p&gt;Cheers, Jorgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/377006?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2022 13:58:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57b5527a-5d9f-4755-96db-c76cab22000d</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;br /&gt;&lt;br /&gt;I will see if I can test this myself either tomorrow or on&amp;nbsp;Monday. The commands were fetched from an internal course a way back and they might have changed&amp;nbsp;in newer SDKs&lt;/p&gt;
[quote user="JorgenM"]How is 160 level represented in the payload?[/quote]
&lt;p&gt;160 should be represented by A0 in the payload, but I see now that it is not as clear as it might have been. However, there are a part of that payload that has data that are not 160. I will have to look into what the other bytes in the&amp;nbsp;&lt;em&gt;long&lt;/em&gt; payload is.&lt;/p&gt;
[quote user="JorgenM"]What table is this defined in in the Cluster doc?[/quote]
&lt;p&gt;I will also find this again and supply it to you&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/376820?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2022 15:33:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7b748b0-c02c-466b-a6f5-7c16b7bf34ce</guid><dc:creator>JorgenM</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;br /&gt;Yes your command worked but haven&amp;#39;t been able to get others to work like &amp;quot;step up&amp;quot; or &amp;quot;move to level&amp;quot;.&lt;br /&gt;Is it possible for you to elaborate on the payload in your example&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;zcl cmd 0x8041 10 0x0008 0x02&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;-l 00A01400&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;quot;currentLevel&amp;quot; being &amp;quot;160&amp;quot; ? What is the range of current level attribute? &lt;br /&gt;How is 160 level represented in the payload? &lt;br /&gt;What table is this defined in in the Cluster doc?&lt;br /&gt;&lt;br /&gt;&lt;span&gt;If I use &amp;quot;&lt;/span&gt;move to Level&amp;quot; command 0x00 what is the range? An example on this would be great.&lt;br /&gt;&lt;br /&gt;I think I&amp;#39;m entering the wrong payload parameters.&lt;br /&gt;&lt;br /&gt;Thanks, Jorgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/376620?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2022 13:01:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7aa34bb-d641-42e6-a161-282070bdc78a</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;br /&gt;&lt;br /&gt;How is the progress going? Did the commands I posted work, and can we close this ticket? If not, please let me know if you have any additional questions regarding this specific ticket!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/376078?ContentTypeID=1</link><pubDate>Thu, 07 Jul 2022 18:30:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bf5c58a-1427-4c91-9771-3abb0574234e</guid><dc:creator>JorgenM</dc:creator><description>&lt;p&gt;Continued.. &lt;br /&gt;Yes I meant the &amp;quot;light switch&amp;quot; example you are referring to above.&lt;br /&gt;You assume correct. I can retrieve node ID&amp;#39;s, clusters number of endpoints etc. as per screenshot I sent.&lt;br /&gt;Thanks for your help!&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Jorgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/376076?ContentTypeID=1</link><pubDate>Thu, 07 Jul 2022 17:56:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13f406ad-9683-4901-95fc-e6bb9f33c3b7</guid><dc:creator>JorgenM</dc:creator><description>&lt;p&gt;Thanks Andreas!&lt;br /&gt;Yes looks like I missed the payload format. I will have to decipher this a bit.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;zcl cmd 0x8041 10 0x0008 0x02 &lt;span style="background-color:#00ff00;"&gt;-l 00A01400&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I will try this.&lt;/p&gt;
&lt;p&gt;Thanks, Jorgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/376046?ContentTypeID=1</link><pubDate>Thu, 07 Jul 2022 14:11:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a506ef22-7592-4a45-8195-54bc9eda4cc2</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I see you have the ZigBee Cluster Specification available, so I will also be using some snippets from the ZCL Spec V7 in my example below. I am also making an assumption that you know your devices ID and how to find their addresses and the correct end point values, so if I am assuming wrong on this, please correct me!&lt;/p&gt;
[quote user="JorgenM"] Nordic zigbee light bulb controller example[/quote]
&lt;p&gt;By this, do you mean the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/zigbee/light_switch/README.html"&gt;the light switch sample&lt;/a&gt;?&lt;/p&gt;
[quote user="JorgenM"]I assume it&amp;#39;s not the same as &amp;quot;level&amp;quot; cluster which is 0x0800 as per below.[/quote]
&lt;p&gt;The level control attribute id is correct (0x0800) as per ZigBee Cluster Library Specification 7 states, but the command to change the value of the light is another command&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1657201135061v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]#1&amp;nbsp; Based on below cluster info etc. can you give example of ZCL commend format to set brightness to 50%?[/quote]
&lt;p&gt;Here is a few examples of how to &amp;quot;mock&amp;quot; a light switch with commands:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Off command with example:&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;zcl cmd [-d] &amp;lt;h:dst_addr&amp;gt; &amp;lt;d:ep&amp;gt; &amp;lt;h:cluster&amp;gt; [-p h:profile] &amp;lt;cmd_ID&amp;gt; [-l h:payload]&lt;/li&gt;
&lt;li&gt;zcl cmd -d 0x8041 10 0x0006 0x00&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step command (dimmer function):&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1657202264179v4.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;zcl cmd [-d] &amp;lt;h:dst_addr&amp;gt; &amp;lt;d:ep&amp;gt; &amp;lt;h:cluster&amp;gt; [-p h:profile] &amp;lt;cmd_ID&amp;gt; [-l h:payload]
&lt;ul&gt;
&lt;li&gt;for clarity: &amp;quot;-l&amp;quot; in [-l h:payload] = lower case L&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;zcl cmd 0x8041 10 0x0008 0x02 -l 00A01400&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This example is sent to the device at address 0x8041,&amp;nbsp; at the endpoint 10 (light bulb), and utilizes the ZigBee Home Automation Profile (0x0104) by default. When it is recived by the bulb, it should gradually increase the value of CurrentLevel attribute by 160 over 2 seconds&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1657202230296v3.png" alt=" " /&gt;&lt;/p&gt;
[quote user=""]We can use &amp;quot;move to level&amp;quot; to 50%. I believe range is&amp;nbsp;0x000 - 0xfe if I read it right?[/quote]
&lt;p&gt;So to do this, you need to replace the cmd_ID in the example above from step (0x02) to &amp;quot;move to level 0x00. I am not 100% certain about the range, but my current best guess is that it is a long hexadecimal number. I will see if I can find someone who can verify this for me, but try with the same range you were trying the previous command with&lt;/p&gt;
[quote user=""]&lt;p&gt;#2&amp;nbsp; Can you me show ZCL command example of how to read this?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;From Nordic doc:&amp;nbsp;&lt;br /&gt;&lt;span style="font-weight:400;"&gt;zcl attr read &lt;/span&gt;&lt;i&gt;&lt;span style="font-weight:400;"&gt;h:dst_addr&lt;/span&gt;&lt;/i&gt; &lt;i&gt;&lt;span style="font-weight:400;"&gt;d:ep&lt;/span&gt;&lt;/i&gt; &lt;i&gt;&lt;span style="font-weight:400;"&gt;h:cluster&lt;/span&gt;&lt;/i&gt;&lt;span style="font-weight:400;"&gt; [-c] &lt;/span&gt;&lt;i&gt;&lt;span style="font-weight:400;"&gt;h:profile&lt;/span&gt;&lt;/i&gt; &lt;i&gt;&lt;span style="font-weight:400;"&gt;h:attr_id&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;[/quote]
&lt;p&gt;In my sample, sending the command &amp;quot;zcl attr_read 0x8041 10 0x0006 0x0104 0x0000&amp;quot; returns ID: 0 Type: 10 Value: True, so I&amp;nbsp; think you just misinput the order of the parameters based on your screen shot.&lt;/p&gt;
&lt;p&gt;Let me know if this clarifies things for you or answers your questions!&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/375880?ContentTypeID=1</link><pubDate>Wed, 06 Jul 2022 18:32:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96045778-23ee-4fb4-95bf-c32af7751d1a</guid><dc:creator>JorgenM</dc:creator><description>&lt;p&gt;Hi Andreas, It&amp;#39;s just a generic Zigbee HA1.2 RGB light bulb with dimming and color control.&amp;nbsp;&lt;br /&gt;The Nordic zigbee light bulb controller example is a eval board &amp;quot;light switch&amp;quot; so it doesn&amp;#39;t show actual codes that are sent.&amp;nbsp;&lt;br /&gt;At least I could not find it...?&lt;br /&gt;I think I&amp;#39;m not sending the correct a&lt;em&gt;ttr_id&amp;nbsp;&lt;br /&gt;&lt;/em&gt;In fact I&amp;#39;m not sure where I can find the &lt;em&gt;att_id ,&amp;nbsp;&lt;/em&gt;for &amp;quot;level&amp;quot; (dimming) as example.&lt;/p&gt;
&lt;p&gt;I assume it&amp;#39;s not the same as &amp;quot;level&amp;quot; cluster which is 0x0800 as per below.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1657132333368v1.png" alt=" " /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;An example of the just the command would be great.&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;Jorgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/375872?ContentTypeID=1</link><pubDate>Wed, 06 Jul 2022 17:36:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e6408d0-3012-4056-b7aa-28aa6d19d3f7</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;br /&gt;&lt;br /&gt;Is the light bulb application based on a sample application or is the firmware written from scratch? And is the RGB bulb a specific device, or just a bulb that is ZigBee-compatible?&lt;/p&gt;
[quote user=""]#1&amp;nbsp; Based on below cluster info etc. can you give example of ZCL commend format to set brightness to 50%?[/quote]
&lt;p&gt;If you have not seen the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/samples_zigbee.html"&gt;zigbee samples&lt;/a&gt;&amp;nbsp;already I believe the light bulb sample is a dimmable ZigBee device which might contain the functionality you are looking for. And I will take a look and see if I have a sample available tomorrow morning&lt;/p&gt;
[quote user=""]#2&amp;nbsp; Can you me show ZCL command example of how to read this?[/quote]
&lt;p&gt;I believe I also have a sample for this, but I will need to find it first&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/375123?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 13:31:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fae377b5-0e09-40fb-8404-e66e7b6be202</guid><dc:creator>JorgenM</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;No problem. Thanks for letting me know.&lt;br /&gt;&lt;br /&gt;J&amp;ouml;rgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee brightness cluster attribute and cluster</title><link>https://devzone.nordicsemi.com/thread/375086?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 12:05:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:367d5c15-1787-46dc-bd80-ae9046c9ca28</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve also replied this to the other case you&amp;#39;ve posted that I&amp;#39;m working on, but I&amp;#39;m writing it here as well! This is just a note that I&amp;#39;ve picked up your case and will begin investigating it. However due to summer holidays here in Norway we are currently running with a reduced support staff, so the reply time might be longer than normal. I hope I can get back to you during early next week with more answers.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>