<?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 binary_input sensor unable to notify reportable attribute</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67685/zigbee-binary_input-sensor-unable-to-notify-reportable-attribute</link><description>hi, 
 we are trying to add third sensor to the multi sensor example , new sensor is of type binary_input (0x000F) ZB_ZCL_CLUSTER_ID_BINARY_INPUT. 
 We are unable to subscribe to notification for the newly added binary_input sensor. other temp/press sensor</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 28 Nov 2020 15:17:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67685/zigbee-binary_input-sensor-unable-to-notify-reportable-attribute" /><item><title>RE: zigbee binary_input sensor unable to notify reportable attribute</title><link>https://devzone.nordicsemi.com/thread/282342?ContentTypeID=1</link><pubDate>Sat, 28 Nov 2020 15:17:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9daa9486-9ad6-4485-bfe2-d4b8b162379d</guid><dc:creator>AtomicDev</dc:creator><description>&lt;p&gt;Setting the&amp;nbsp;attribute&amp;nbsp; type correctly got it working&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;zcl subscribe on f4ce36ec7343be67 10 0x000F 0x0104 55 &lt;strong&gt;16&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zigbee binary_input sensor unable to notify reportable attribute</title><link>https://devzone.nordicsemi.com/thread/278314?ContentTypeID=1</link><pubDate>Tue, 03 Nov 2020 15:24:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07ca02c8-3679-4899-b1fd-4f525afa95b7</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/atomicdev"&gt;AtomicDev&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Can you try setting &amp;#39;16&amp;#39; in the attr_type field instead of 10 in both the &amp;#39;bind on&amp;#39; and the &amp;#39;subscribe on&amp;#39; commands? Both commands take only decimal numbers as parameters.&lt;/p&gt;
&lt;p&gt;In the enum &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/group__zb__zcl__common__attrs.html"&gt;zb_zcl_attr_type_e&lt;/a&gt;, the &lt;a class="el" href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/group__zb__zcl__common__attrs.html#ggad511c15105fdaaa77480162bc730505faf46eb6e0cf3a772de87c18917b816991"&gt;ZB_ZCL_ATTR_TYPE_BOOL&lt;/a&gt; is defined in hex numbers as 0x10, so it would be 16 in decimal.&lt;/p&gt;
&lt;p&gt;You can see that for the Temperature and Pressure measurement clusters the attribute type of the MeasuredValue attribute corresponds to int16 (signed) in the ZCL specification, so it corresponds to &lt;a class="el" href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/group__zb__zcl__common__attrs.html#ggad511c15105fdaaa77480162bc730505fa1ab8b7f684523762005445810a1e2abe"&gt;ZB_ZCL_ATTR_TYPE_S16&lt;/a&gt;= 0x29, so in decimal 41, not to be confused with &lt;a class="el" href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/group__zb__zcl__common__attrs.html#ggad511c15105fdaaa77480162bc730505fad788efe23665b3fe7803d402ace786dd"&gt;ZB_ZCL_ATTR_TYPE_OCTET_STRING&lt;/a&gt; = 0x41&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 binary_input sensor unable to notify reportable attribute</title><link>https://devzone.nordicsemi.com/thread/277949?ContentTypeID=1</link><pubDate>Mon, 02 Nov 2020 05:36:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9081d70a-1555-4d1f-9761-fcc02472cfb6</guid><dc:creator>AtomicDev</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;Yes the project is created similar to the multi sensor example, you can copy the project in the same example folder as multi sensor project.&lt;/p&gt;
&lt;p&gt;path reference&lt;/p&gt;
&lt;p&gt;&amp;quot;nRF52840_DK\nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\examples\zigbee\experimental\my_simple_sensor&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zigbee binary_input sensor unable to notify reportable attribute</title><link>https://devzone.nordicsemi.com/thread/277825?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2020 13:33:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:120138d9-eb4a-4e2a-9f66-b1826a2f3b70</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m looking into your issue. I don&amp;#39;t know what might cause the problem, as I can&amp;#39;t see anything wrong with the implementation yet.&amp;nbsp;I&amp;#39;ll try to reproduce the issue on my side and see what I can figure out. In order to do so, it would help to know where you have created your project folder with regards to the SDK folders, to minimize linker errors when building, as well as any other changes you might have done in the SDK, and where the SDKs are located with regards to each other (the nRF5 SDK and the nRF5 SDK for T&amp;amp;Z).&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: zigbee binary_input sensor unable to notify reportable attribute</title><link>https://devzone.nordicsemi.com/thread/277469?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 17:11:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0ff16e1-c65c-49ac-a3c1-20d5da1fc7c7</guid><dc:creator>Patrick</dc:creator><description>&lt;p&gt;You&amp;#39;ll probably need to wait for a response from someone from Nordic but I&amp;#39;d start by trying to figure out what status 141 means.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zigbee binary_input sensor unable to notify reportable attribute</title><link>https://devzone.nordicsemi.com/thread/277466?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 16:52:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7245ce45-7e43-42d3-a3cd-e20b83632b74</guid><dc:creator>AtomicDev</dc:creator><description>&lt;p&gt;&lt;strong&gt;#define ZB_SIMPLE_SENSOR_REPORT_ATTR_COUNT&lt;/strong&gt;&lt;span&gt;&amp;nbsp;4&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;also gives the same error as in earlier cases&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;[TX] - zcl subscribe on f4ce36ec7343be67 10 0x000F 0x0104 55 10&lt;/p&gt;
&lt;p&gt;[RX] - zcl subscribe on f4ce36ec7343be67 10 0x000F 0x0104 55 10&lt;br /&gt;Error: Unable to configure attribute 55 reporting. Status: 141&lt;/p&gt;
&lt;p&gt;Error: One or more attributes reporting were not configured successfully&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;thanks and regards&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zigbee binary_input sensor unable to notify reportable attribute</title><link>https://devzone.nordicsemi.com/thread/277464?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 16:44:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d75aad8-3d8c-43b1-a4fb-7de318d94f0e</guid><dc:creator>AtomicDev</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;same error&lt;/p&gt;
&lt;p&gt;[TX] - zcl subscribe on f4ce36ec7343be67 10 0x000F 0x0104 55 10&lt;/p&gt;
&lt;p&gt;&amp;nbsp;[RX] - zcl subscribe on f4ce36ec7343be67 10 0x000F 0x0104 55 10 &lt;br /&gt;Error: Unable to configure attribute 55 reporting. Status: 141&lt;/p&gt;
&lt;p&gt;Error: One or more attributes reporting were not configured successfully&lt;/p&gt;
&lt;p&gt;after changing the value of from 2 to 3&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;#define ZB_SIMPLE_SENSOR_REPORT_ATTR_COUNT&lt;/strong&gt; 3 /**&amp;lt; Number of attributes mandatory for reporting in the Temperature and Pressure Measurement cluster. */&lt;br /&gt;#define ZB_DEVICE_VER_SIMPLE_SENSOR 0 /**&amp;lt; Multisensor device version. */&lt;br /&gt;#define ZB_SIMPLE_SENSOR_IN_CLUSTER_NUM 5 /**&amp;lt; Number of the input (server) clusters in the multisensor device. BASIC,IDENTIFY,TEMP,PRESS,BINARY_INPUT*/&lt;br /&gt;#define ZB_SIMPLE_SENSOR_OUT_CLUSTER_NUM 1 /**&amp;lt; Number of the output (client) clusters in the multisensor device. IDENTIFY */&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I there a guide line to calculate these values correctly , binary_input has 3 reportable attributes&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;also in the header&amp;nbsp; file&amp;nbsp;&lt;/p&gt;
&lt;p&gt;/*! Number of attributes mandatory for reporting in Binary Input cluster */&lt;br /&gt;&lt;strong&gt;#define ZB_ZCL_BINARY_INPUT_REPORT_ATTR_COUNT 2&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;should i add2 to the original count as (&lt;strong&gt;ZB_SIMPLE_SENSOR_REPORT_ATTR_COUNT&lt;/strong&gt;&lt;span&gt;&amp;nbsp;4)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks and regards&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zigbee binary_input sensor unable to notify reportable attribute</title><link>https://devzone.nordicsemi.com/thread/277459?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 16:25:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da9403a3-788f-44dc-afa2-3daa843dfad0</guid><dc:creator>Patrick</dc:creator><description>&lt;p&gt;I have not used this particular cluster but I assume you are trying to bind to the Present Value attribute (0x0055), which does have the reporting flag set (see zb_zcl_binary_input.h, line 266). One change I usually forget to make is to increase &lt;code&gt;&lt;span class="n"&gt;ZB_MULTI_SENSOR_REPORT_ATTR_COUNT to the right number (found in zb_multi_sensor.h in the example). &lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The functions you asked about should be implemented in the zboss library. The pressure measurement cluster is a strange case in my opinion since I would think that cluster would have been included in the same way as all of the others in zboss but it was not. Regardless of why the pressure measurement cluster is the way it is, its a good example for implementing your own cluster.&lt;code&gt;&lt;span class="n"&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zigbee binary_input sensor unable to notify reportable attribute</title><link>https://devzone.nordicsemi.com/thread/277449?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 15:43:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:210c8e29-6050-48f6-ab11-e7dc4fcbd349</guid><dc:creator>AtomicDev</dc:creator><description>&lt;p&gt;hi Patric,&lt;/p&gt;
&lt;p&gt;This is our first time involved in a zigbee based project , please excuse our limited knowledge in the full details of the stack usage , we are still learning form the examples provided&lt;/p&gt;
&lt;p&gt;Thanks for your insight , still we are clueless about how to enable reporting with binary_input sensor.&lt;/p&gt;
&lt;p&gt;pleas can you guid how to enable the reporting part in the code,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;as for the read_only , we are unable to&amp;nbsp; follow what is to be done( should we make it writable )&amp;nbsp; , we dond see it being done in pressure sensor example.&lt;/p&gt;
&lt;p&gt;we followed the pressure measurement sample implementation in the example&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;do we need to implement the init function&amp;nbsp; or they are already available in the sdk .&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;zb_void_t zb_zcl_binary_input_init_server(void);&lt;br /&gt;zb_void_t zb_zcl_binary_input_init_client(void);&lt;/p&gt;
&lt;p&gt;as&amp;nbsp; in the example of multi sensor pressure sensor init are code is available in&amp;nbsp; &amp;quot;&lt;strong&gt;components\zigbee\pressure_cluster\zb_zcl_pressure_measurement.c&lt;/strong&gt;&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;we assumed for binary_input part&amp;nbsp; these are already implemented internally in the sdk similar to the temperature sensor(could not find source code file for it ) .&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;thanks and regards&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zigbee binary_input sensor unable to notify reportable attribute</title><link>https://devzone.nordicsemi.com/thread/277264?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 01:00:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c47142fa-747b-420c-81fb-9b1111123952</guid><dc:creator>Patrick</dc:creator><description>&lt;p&gt;Check the binary input header file and look for the attribute definition you&amp;rsquo;re trying to get a report from. Some of the attributes are set as read only and you&amp;rsquo;ll need to enable reporting on that particular attribute.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>