<?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>Alexa Identify Cluster</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91578/alexa-identify-cluster</link><description>nRF Connect SDK v1.8.0, Zephyr, Zigbee, ZBOSS I have an issue with Alexa Echo Gen 4 Zigbee Discovery and a malformed packet when modifying the nrf/samples/zigbee/light_bulb to be a Door Lock instead of a Light Bulb. 
 I am using the nRF Zigbee sniffer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Sep 2022 22:18:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91578/alexa-identify-cluster" /><item><title>RE: Alexa Identify Cluster</title><link>https://devzone.nordicsemi.com/thread/385394?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 22:18:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3c61a72-04ef-4112-a0f2-1d7f5ef9a6a3</guid><dc:creator>J.P. Hutchins</dc:creator><description>&lt;p&gt;Hi Marte,&lt;br /&gt;&lt;br /&gt;I&amp;#39;m afraid that I had nasty error in my door lock cluster list declaration - fixing it resolved the Identify Time issue:&lt;br /&gt;&lt;br /&gt;I had:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;ZB_HA_DECLARE_DOOR_LOCK_CLUSTER_LIST(
	door_lock_clusters,
	basic_attr_list,
	identify_attr_list,
	groups_attr_list,
	scenes_attr_list,
	door_lock_attr_list);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Instead of:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;ZB_HA_DECLARE_DOOR_LOCK_CLUSTER_LIST(
	door_lock_clusters,
    door_lock_attr_list,
	basic_attr_list,
	identify_attr_list,
	groups_attr_list,
	scenes_attr_list);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I hope that this can resolve your investigation.&lt;br /&gt;&lt;br /&gt;J.P.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alexa Identify Cluster</title><link>https://devzone.nordicsemi.com/thread/385305?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 13:10:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47b0951b-c05e-4019-8308-649e22354828</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi J.P,&lt;/p&gt;
&lt;p&gt;Good to hear that you seem to be close to a resolution. So you are able to connect to the Echo as long as the door lock state is not undefined?&lt;/p&gt;
&lt;p&gt;This still does not explain why the data type of identify time is incorrect when using the door lock cluster.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alexa Identify Cluster</title><link>https://devzone.nordicsemi.com/thread/385121?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2022 21:17:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:def63f87-6617-4500-b091-d6dd9c766c83</guid><dc:creator>J.P. Hutchins</dc:creator><description>&lt;p&gt;Hi Marte,&lt;br /&gt;&lt;br /&gt;Important update: &amp;quot;got em&amp;quot;&lt;br /&gt;&lt;br /&gt;After fixing the syntax error in the door lock cluster list I realized that Alexa is just raising error when it receives LOCK_STATE_DEFAULT AKA LOCK_STATE_UNDEFINED 0xff.&amp;nbsp; So this is very very close to a resolution.&amp;nbsp; I&amp;#39;d like to leave the ticket open for the time being but hope to close it soon after a bit more testing.&lt;br /&gt;&lt;br /&gt;Sorry for any bug hunt just over a typo in a macro...&lt;br /&gt;&lt;br /&gt;J.P.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alexa Identify Cluster</title><link>https://devzone.nordicsemi.com/thread/385118?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2022 20:58:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:796e565a-94f0-456e-8d17-3efdbdb8c9fa</guid><dc:creator>J.P. Hutchins</dc:creator><description>&lt;p&gt;Thanks Marte!&amp;nbsp; Important update - I had a mistake in my Door Lock Cluster List declaration that was causing the malformed packet (and likely lots of other problems&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f62c.svg" title="Grimacing"&gt;&amp;#x1f62c;&lt;/span&gt;).&lt;br /&gt;&lt;br /&gt;I had the door lock attr list in the wrong position!&lt;br /&gt;&lt;br /&gt;Error:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;ZB_HA_DECLARE_DOOR_LOCK_CLUSTER_LIST(
	door_lock_clusters,
	basic_attr_list,
	identify_attr_list,
	groups_attr_list,
	scenes_attr_list,
	door_lock_attr_list);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Fixed:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;ZB_HA_DECLARE_DOOR_LOCK_CLUSTER_LIST(
	door_lock_clusters,
    door_lock_attr_list,
	basic_attr_list,
	identify_attr_list,
	groups_attr_list,
	scenes_attr_list);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This fixes the malformed packet in the identify responses.&lt;br /&gt;&lt;br /&gt;However, the primary problem remains, that is that Alexa App says &amp;quot;Device doesn&amp;#39;t support the requested value.&amp;quot;&amp;nbsp; It would be HUGE if NRF could set this up with an Echo Gen 4 as Zigbee coordinator and/or work with Amazon directly to understand what they are looking for!&lt;br /&gt;&lt;br /&gt;I have attached a new PCAP that shows the correct identify response - I will be analyzing it to see if the Echo is requesting something that I&amp;#39;m not replying to but so far I just don&amp;#39;t see it.&amp;nbsp; It is titled &amp;quot;pcap-for-nrf-support-2.pcap&amp;quot;.&lt;br /&gt;&lt;br /&gt;Thanks again,&lt;br /&gt;J.P.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pcap_2D00_for_2D00_nrf_2D00_support_2D00_2.pcap"&gt;devzone.nordicsemi.com/.../pcap_2D00_for_2D00_nrf_2D00_support_2D00_2.pcap&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alexa Identify Cluster</title><link>https://devzone.nordicsemi.com/thread/385060?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2022 14:01:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa4a5cd0-1e5f-450d-b14e-9f3aa888d06f</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;J.P.,&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;tested this on my side and was able to reproduce the issue, both in v1.8.0 and v2.0.2. And as you said, I only saw the issue when the device was a door lock, not light bulb. I will investigate some more and check with the development team if this is a bug.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alexa Identify Cluster</title><link>https://devzone.nordicsemi.com/thread/384867?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2022 20:16:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb228db5-af81-408c-8ad0-6dab53087652</guid><dc:creator>J.P. Hutchins</dc:creator><description>&lt;p&gt;Good progress,&amp;nbsp;Marte!&amp;nbsp; I have setup the shell example on 52840 DK, set its role as coordinator, the production Lock joins, and we can read the identify attribute like so:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;uart:~$ zcl attr read 0x9d8c 10 0x0003 0x0104 0x00
ID: 0 Type: 18 Value: 0
Done
[00:15:42.676,940] &amp;lt;inf&amp;gt; zigbee.eprxzcl: Received ZCL command (4): src_addr=0x9d8c(short) src_ep=10 dst_ep=64 cluster_id=0x0003 profile_id=0x0104 cmd_dir=1 common_cmd=1 cmd_id=0x01 cmd_seq=6 disable_def_resp=1 manuf_code=void payload=[0000001800] (4)
[00:15:43.734,985] &amp;lt;inf&amp;gt; zigbee_app_utils: Unimplemented signal (signal: 50, status: 0)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;If I have executed correctly, I believe we are seeing the same error?&amp;nbsp; Very strange!&amp;nbsp; I will look into updating the SDK.&amp;nbsp; Is there another lock example (albeit from another SDK) that I should refer to?&amp;nbsp; It would be interesting to see if NRF can recreate this.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;J.P.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alexa Identify Cluster</title><link>https://devzone.nordicsemi.com/thread/384862?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2022 19:01:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8541b47e-5316-42eb-ad0a-c9d07c703dfa</guid><dc:creator>J.P. Hutchins</dc:creator><description>&lt;p&gt;Small update: I have put the sniffer on a USB DK dongle and tested the samples/zigbee/light_bulb example &amp;quot;modified to be a lock&amp;quot; on the 52840 DK confirming the same interaction with Alexa.&amp;nbsp; I will proceed to put the Zigbee shell example on the DK as Marte has recommended:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;&lt;span&gt;If so, can you test by programming the&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.2/nrf/samples/zigbee/shell/README.html"&gt;Zigbee shell&lt;/a&gt;&lt;span&gt;&amp;nbsp;sample on one of them, and then send read attribute command (zcl attr read) to the lock device and see if the data type is still incorrect?&lt;/span&gt;&lt;br /&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alexa Identify Cluster</title><link>https://devzone.nordicsemi.com/thread/384856?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2022 18:00:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44dbf458-5937-42dc-94be-619de9db29fa</guid><dc:creator>J.P. Hutchins</dc:creator><description>&lt;p&gt;Thank you for your assistance!&amp;nbsp; Confirmed that the macro at line 401 of zb_zcl_identify.h matches:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_IDENTIFY_IDENTIFY_TIME_ID(data_ptr)  \
{                                                               \
  ZB_ZCL_ATTR_IDENTIFY_IDENTIFY_TIME_ID,                               \
  ZB_ZCL_ATTR_TYPE_U16,                                         \
  ZB_ZCL_ATTR_ACCESS_READ_WRITE,                                \
  (void*) data_ptr                                         \
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I will look around the lab for another DK.&amp;nbsp; At the same time I will also load the sample on the DK (instead of using DK as sniffer) - to be clear, so far the Lock is running on a revision of a released product.&lt;br /&gt;&lt;br /&gt;I have not tried different versions of the nRF Connect SDK.&amp;nbsp; Perhaps I can stub it and give this a shot.&lt;br /&gt;&lt;br /&gt;I have recorded a fresh PCAP that shows Alexa begin the discovery, Lock gets bound, and malformed packet.&amp;nbsp; The example ends with inspecting the lock in the Alexa app to show that the lock is responding to polling (even though the Alexa app says &amp;quot;Device doesn&amp;#39;t support requested value&amp;quot; and &amp;quot;There is a problem with First lock&amp;quot; &amp;quot;Please check on your lock&amp;quot;.)&amp;nbsp; I hope I missed some request it is sending!&lt;br /&gt;&lt;br /&gt;It would be great if NRF could try with an Amazon Alexa Echo Gen4 as Zigbee coordinator to see if anything needs to be address with Amazon&amp;#39;s Zigbee implementation.&amp;nbsp; They do not respond to my inquiries&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f613.svg" title="Sweat"&gt;&amp;#x1f613;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Thanks again,&lt;br /&gt;J.P. Hutchins&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pcap_2D00_for_2D00_nrf_2D00_support_2D00_1.pcap"&gt;devzone.nordicsemi.com/.../pcap_2D00_for_2D00_nrf_2D00_support_2D00_1.pcap&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alexa Identify Cluster</title><link>https://devzone.nordicsemi.com/thread/384630?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2022 14:39:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:335d1c80-0025-4c7c-85eb-2a3a9a6e56b9</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am not sure if it is related to WWAHu, as the issue is that the data type in the read attribute response is incorrect. What I find strange is that the data type is 8-bit bitmap, even though it is clearly set to uint16 in zb_zcl_identify.h, as you can see&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrfxlib/blob/v1.8.0/zboss/include/zcl/zb_zcl_identify.h#L404"&gt;here&lt;/a&gt;. Can you verify that this is correct in your SDK as well?&lt;/p&gt;
&lt;p&gt;Do you have multiple DKs? If so, can you test by programming the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.2/nrf/samples/zigbee/shell/README.html"&gt;Zigbee shell&lt;/a&gt;&amp;nbsp;sample on one of them, and then send read attribute command (zcl attr read) to the lock device and see if the data type is still incorrect? Have you checked with other versions of nRF Connect SDK?&lt;/p&gt;
&lt;p&gt;Is it possible for you to upload the sniffer logs as pcap file?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alexa Identify Cluster</title><link>https://devzone.nordicsemi.com/thread/384434?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2022 17:06:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34b40c46-ecda-4911-abe5-b34f37963fbf</guid><dc:creator>J.P. Hutchins</dc:creator><description>&lt;p&gt;&lt;span&gt;I can get past the malformed packet by hardcoding the 8bit field type to be 0x21 (identifying itself as uint16). Obviously that&amp;rsquo;s terrible. It causes the Lock to respond with a well formed packet containing the value 3, the same value that Alexa sends for the identify time. The problem with this is that it will identify forever because they keep saying 3 to one another without one saying 0 meaning the identification has ended.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;So, I restarted the lock which ended the identify loop but I still have the same issue with Alexa saying &amp;quot;Device does not support the requested value.&amp;quot;&lt;br /&gt;&lt;br /&gt;I have tickets in with Amazon.&lt;br /&gt;&lt;br /&gt;Do you have any ideas?&amp;nbsp; Could it be WWAHu?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>