<?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 IAS Zone example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71532/zigbee-ias-zone-example</link><description>Hi, 
 I need help to clarify the API for IAS zone server. If I can get example implementation, it would be great. 
 I have hard time understanding how zb_ias_zone_app_callback_t work. There is no documentation on it. Yes, I found a link to it that just</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Apr 2021 20:16:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71532/zigbee-ias-zone-example" /><item><title>RE: Zigbee IAS Zone example</title><link>https://devzone.nordicsemi.com/thread/306431?ContentTypeID=1</link><pubDate>Thu, 22 Apr 2021 20:16:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:887df505-bc89-4f08-96dd-8a6146a8a6c7</guid><dc:creator>Marjeris Romero</dc:creator><description>[quote user="iharyadi"]&lt;p&gt;Just FYI,&amp;nbsp; I am implementing the IAS Zone for a Gas Stove Sensor.&amp;nbsp; I am very happy with nrf52840.&amp;nbsp; &amp;nbsp;It is a very good platform for what I am trying to do.&lt;/p&gt;
&lt;p&gt;&lt;a title="Zigbee Gas Stove Sensor" href="https://www.linkedin.com/pulse/zigbee-gas-stove-sensor-iman-haryadi"&gt;https://www.linkedin.com/pulse/zigbee-gas-stove-sensor-iman-haryadi&lt;/a&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Wow, that&amp;#39;s such a cool implementation using Zigbee/BLE multiprotocol!&lt;/p&gt;
[quote user="iharyadi"] Just FYI,&amp;nbsp; I think the implementation (not specification) of the ZBOSS in nrf52840&amp;nbsp;does not automatically send the Zone Status Change when ZoneStatus attribute changes.&amp;nbsp; My code have to explicitly send zcl &amp;quot;&lt;span&gt;Zone Status Change Notification&amp;quot;&amp;nbsp;&lt;/span&gt;command in this case.[/quote]
&lt;p&gt;Thanks for letting me know, there could be a bug or perhaps I am misinterpretating the specification, anyways I will pass this information to our Zigbee team for more investigation. I have also noted your feedback for implementing an IAS zone server example, which I also think will be a nice addition to in our SDK!&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><item><title>RE: Zigbee IAS Zone example</title><link>https://devzone.nordicsemi.com/thread/305651?ContentTypeID=1</link><pubDate>Mon, 19 Apr 2021 19:25:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffb02219-9808-4d2a-b8db-955afadc61e8</guid><dc:creator>iharyadi</dc:creator><description>&lt;p&gt;Hi Marjeris,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your update.&amp;nbsp; Just FYI,&amp;nbsp; I think the implementation (not specification) of the ZBOSS in nrf52840&amp;nbsp;does not automatically send the Zone Status Change when ZoneStatus attribute changes.&amp;nbsp; My code have to explicitly send zcl &amp;quot;&lt;span&gt;Zone Status Change Notification&amp;quot;&amp;nbsp;&lt;/span&gt;command in this case.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In any case,&amp;nbsp; thank you for your help.&amp;nbsp; &amp;nbsp;I am able to figure out the implementation slowly.&amp;nbsp; It would be helpful if you can still give all of us an example for IAS Zone.&amp;nbsp; We may produce better or proper&amp;nbsp;implementation.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Just FYI,&amp;nbsp; I am implementing the IAS Zone for a Gas Stove Sensor.&amp;nbsp; I am very happy with nrf52840.&amp;nbsp; &amp;nbsp;It is a very good platform for what I am trying to do.&lt;/p&gt;
&lt;p&gt;&lt;a title="Zigbee Gas Stove Sensor" href="https://www.linkedin.com/pulse/zigbee-gas-stove-sensor-iman-haryadi"&gt;https://www.linkedin.com/pulse/zigbee-gas-stove-sensor-iman-haryadi&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thank you for all your help on this.&lt;/p&gt;
&lt;p&gt;br&lt;/p&gt;
&lt;p&gt;Iman&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee IAS Zone example</title><link>https://devzone.nordicsemi.com/thread/305646?ContentTypeID=1</link><pubDate>Mon, 19 Apr 2021 18:37:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a14bee1-acaf-422d-a41a-14e363df6b1f</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am sorry for the late reply. Did you manage to see the Zone Status Change Notification on the sniffer traffic after updating the ZoneStatus attribute?&lt;/p&gt;
[quote user="iharyadi"]So,&amp;nbsp; your suggestion is to write the&amp;nbsp;ZoneStatus attribute.&amp;nbsp; Then,&amp;nbsp; the stack will automatically send&amp;nbsp;Zone Status Change Notification command.&amp;nbsp; Please confirm that this is what you mean?[/quote]
&lt;p&gt;&amp;nbsp;Yes, this is exactly what the ZCL specification says, the stack should send the Zone Status Change notification when the ZoneStatus attribute changes: &amp;quot;The Zone Status Change Notification command is generated when a change takes place in one or more bits of the ZoneStatus attribute&amp;quot;.&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><item><title>RE: Zigbee IAS Zone example</title><link>https://devzone.nordicsemi.com/thread/297649?ContentTypeID=1</link><pubDate>Thu, 04 Mar 2021 02:43:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4eb87d1d-519d-4f0d-8ebc-7653b4647aa8</guid><dc:creator>iharyadi</dc:creator><description>[quote userid="73427" url="~/f/nordic-q-a/71532/zigbee-ias-zone-example/297428#297428"]You can register a callback for the Zone Status Change notification or register a general function callback with params zb_zcl_general_zb_params_e[/quote]
&lt;p&gt;I think we may have some miss understanding.&amp;nbsp; in IAS Zone cluster,&amp;nbsp; A server generate&amp;nbsp;&lt;span&gt;Zone Status Change Notification command.&amp;nbsp; It does not listen to&amp;nbsp;Zone Status Change Notification command.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am writing a IAS Zone.&amp;nbsp; &amp;nbsp;So,&amp;nbsp; your suggestion is to write the&amp;nbsp;ZoneStatus attribute.&amp;nbsp; Then,&amp;nbsp; the stack will automatically send&amp;nbsp;Zone Status Change Notification command.&amp;nbsp; Please confirm that this is what you mean?&amp;nbsp; I am confused now.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I tried your suggestion as follow.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;    newValue = 1;
    ZB_ZCL_SET_ATTRIBUTE(MULTI_SENSOR_ENDPOINT, 
                       ZB_ZCL_CLUSTER_ID_IAS_ZONE,    
                       ZB_ZCL_CLUSTER_SERVER_ROLE,  
                       ZB_ZCL_ATTR_IAS_ZONE_ZONESTATUS_ID,
                       (zb_uint8_t *)&amp;amp;newValue,                        
                       ZB_FALSE);&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I don&amp;#39;t&amp;nbsp;think the stack send out&amp;nbsp;Zone Status Change Notification command.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for the help.&amp;nbsp; &amp;nbsp;I hope you can clarify.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Iman&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee IAS Zone example</title><link>https://devzone.nordicsemi.com/thread/297428?ContentTypeID=1</link><pubDate>Wed, 03 Mar 2021 09:55:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:925385f3-31f1-470c-bf30-5367ec333540</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. This function can be called by the IAS zone server in order to register internal application callbacks. You can register a callback for the Zone Status Change notification or register a general function callback with params zb_zcl_general_zb_params_e&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;enum zb_zcl_general_cb_params_e
{
 ZB_ZCL_VALID_CIE_ADDR_SET = 1,
 ZB_ZCL_CURR_ZONE_SENSITIVITY_LEVEL_SET = 2,
 ZB_ZCL_INIT_TEST_MODE = 3,
 ZB_ZCL_INIT_NORMAL_MODE = 4,
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The Zone Status Change notification is generated spontaneously by the server once the Zone Status attribute changes, the documentation in ZCL spec mentions: &amp;quot;The Zone Status Change Notification command is generated when a change takes place in one or more bits of the ZoneStatus attribute&amp;quot; and is under &amp;#39;Commands generated&amp;#39; by the IAS zone server.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee IAS Zone example</title><link>https://devzone.nordicsemi.com/thread/295198?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2021 17:08:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30ddc804-405b-423d-bf27-a9e9cc7fed3d</guid><dc:creator>iharyadi</dc:creator><description>&lt;p&gt;Hi Marjeris,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the help.&amp;nbsp; Please confirm that the callback is only used when you write ias zone client.&amp;nbsp; Is this correct?&amp;nbsp; If you write ias zone server, you are the one that change the status.&amp;nbsp; &amp;nbsp;If this correct, so why a client need notification of ieee address change?&lt;/p&gt;
&lt;p&gt;Please clarify a scenario where you want to get notification for ZB_ZCL_VALID_CIE_ADDR_SET.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In my guess due to the lack of documentation, this notification is use full for ias zone server during pairing when ias cie set its own address to an ias server.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please help with a specific example on the above example when you use it as ias server.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee IAS Zone example</title><link>https://devzone.nordicsemi.com/thread/295006?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2021 08:42:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9bc7df1-f5c1-4c88-a8ec-1240a40c9808</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am sorry for the late reply. It looks like you can use this function to register a callback for to process the results for from the &amp;#39;Zone Status Change Notification&amp;#39;. I think there is a typo and it should say &amp;#39;Register&amp;#39; instead of &amp;#39;Registry&amp;#39;, if that makes more sense? I don&amp;#39;t think it&amp;#39;s necessary to register a callback unless you want to do something else after the notification is sent, since I don&amp;#39;t see anything mention in the ZCL specification.&lt;br /&gt;I have given feedback to the developers about the need for an example implementation of the IAS zone cluster, it will perhaps come into the roadmap in the future but I can&amp;#39;t make any promises. In the meantime if you have any more question I can try to help the best I can, if you have already partly implemented the cluster but are struggling you can share your code in here so I can test and help you debug at our side as well.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>