<?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: app hangs on thermostat Setpoint Raise/Lower command</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46676/zigbee-app-hangs-on-thermostat-setpoint-raise-lower-command</link><description>Hello! 
 I&amp;#39;m trying to implement a thermostat cluster handling. I&amp;#39;ve managed to implement read/write thermostat attributes handling using zigbee device callback. The problem is that I can&amp;#39;t get thermostat cluster&amp;#39;s Setpoint Raise/Lower to work. I tried</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Nov 2020 14:44:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46676/zigbee-app-hangs-on-thermostat-setpoint-raise-lower-command" /><item><title>RE: zigbee: app hangs on thermostat Setpoint Raise/Lower command</title><link>https://devzone.nordicsemi.com/thread/279947?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2020 14:44:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fc91404-4ce7-4242-8fe4-29df7d1fdeb8</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/raffaela"&gt;Raffaela&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;This thread is quite old. Could you please open a new ticket with your question?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zigbee: app hangs on thermostat Setpoint Raise/Lower command</title><link>https://devzone.nordicsemi.com/thread/271948?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 07:32:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30e4ef79-f7ed-4fb0-b4ef-cae657ed385b</guid><dc:creator>Raffaela</dc:creator><description>&lt;p&gt;Hi to everyone,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have the same problem that KKoovalsky has.&amp;nbsp;I&amp;#39;m working with SDK 4.0.0 so I don&amp;#39;t see any stack level changes on this command.&amp;nbsp;Is there anything new or is it not possible to do anything but declare both attributes?&lt;/p&gt;
&lt;p&gt;Thank you so much.&lt;/p&gt;
&lt;p&gt;Raffaela&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zigbee: app hangs on thermostat Setpoint Raise/Lower command</title><link>https://devzone.nordicsemi.com/thread/186308?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 08:16:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0a791e1-4b32-47a2-8a38-bd1717bc5cf7</guid><dc:creator>KKoovalsky</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;thank you for the response.&lt;br /&gt;&lt;br /&gt;According to the section 1.4. of the Zigbee Cluster Library Specification:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&amp;quot;Should:&amp;nbsp;A &lt;/em&gt;key word&lt;em&gt; indicating &lt;/em&gt;the flexibility&lt;em&gt; of choice with a strongly preferred alternative. Equivalent to the phrase&amp;nbsp;is recommended.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;So it is&lt;em&gt; recommended &lt;/em&gt;to handle both attributes, but not &lt;em&gt;mandatory&lt;/em&gt;. The section you quoted contains more information, specifically:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&amp;quot;*Note&lt;/em&gt;: &amp;quot;&lt;em&gt;M*&amp;quot; designates that a server SHALL implement at least one of the attributes designated &amp;quot;M*.&amp;quot; For example, a radiator valve implementing the Thermostat Cluster server would only implement the OccupiedHeatingSetpoint attribute. Thermostats SHOULD implement both OccupiedCoolingSetpoint and OccupiedHeatingSetpoint attributes. The &amp;quot;M*&amp;quot; designation allows HVAC devices to implement the portions of Thermostat cluster germane to their operation&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;So that shall be possible to remove.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zigbee: app hangs on thermostat Setpoint Raise/Lower command</title><link>https://devzone.nordicsemi.com/thread/186251?ContentTypeID=1</link><pubDate>Thu, 09 May 2019 15:51:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10f2ce10-31be-4019-bfee-28cf2b2967b7</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. I am glad you found the problem. You can declare you own custom attribute list and remove local temperature calibration and start of the week if you want to. But according to the section 6.3.2.2.2 of the Zigbee Cluster Library Specification:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;Thermostats SHOULD implement both OccupiedCoolingSetpoint and OccupiedHeatingSetpoint attributes.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;so that&amp;#39;s not possible to remove.&lt;/p&gt;
&lt;p&gt;But you could define something like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define ZB_ZCL_DECLARE_THERMOSTAT_ATTRIB_LIST_CUSTOM(attr_list,                                                \
      local_temperature, local_temperature_calibration, occupied_cooling_setpoint,                      \
      occupied_heating_setpoint, control_seq_of_operation, system_mode, start_of_week) \
  ZB_ZCL_START_DECLARE_ATTRIB_LIST(attr_list)                                                           \
  ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_THERMOSTAT_LOCAL_TEMPERATURE_ID, (local_temperature))                \
  ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_THERMOSTAT_OCCUPIED_COOLING_SETPOINT_ID, (occupied_cooling_setpoint))        \
  ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_THERMOSTAT_OCCUPIED_HEATING_SETPOINT_ID, (occupied_heating_setpoint))        \
  ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_THERMOSTAT_CONTROL_SEQUENCE_OF_OPERATION_ID, (control_seq_of_operation))     \
  ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_THERMOSTAT_SYSTEM_MODE_ID, (system_mode))                            \
  ZB_ZCL_FINISH_DECLARE_ATTRIB_LIST
&lt;/pre&gt;&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: app hangs on thermostat Setpoint Raise/Lower command</title><link>https://devzone.nordicsemi.com/thread/185669?ContentTypeID=1</link><pubDate>Tue, 07 May 2019 09:45:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60bc876f-bd52-4cf5-8a58-2b026e65368b</guid><dc:creator>KKoovalsky</dc:creator><description>&lt;p&gt;After some struggling, I&amp;#39;ve managed to make it work. The problem is that the ZBOSS stack is not able to handle custom set of thermostat&amp;#39;s cluster attributes. When I declare the attribute list for the thermostat cluster like so:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define JUNGLES_ZB_ZCL_DECLARE_THERMOSTAT_ATTRIB_LIST_1( \
    attr_list, local_temperature, occupied_cooling_setpoint, control_sequence_of_operation, system_mode) \
    ZB_ZCL_START_DECLARE_ATTRIB_LIST(attr_list) \
    ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_THERMOSTAT_LOCAL_TEMPERATURE_ID, (local_temperature)) \
    ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_THERMOSTAT_OCCUPIED_COOLING_SETPOINT_ID, (occupied_cooling_setpoint)) \
    ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_THERMOSTAT_CONTROL_SEQUENCE_OF_OPERATION_ID, (control_sequence_of_operation)) \
    ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_THERMOSTAT_SYSTEM_MODE_ID, (system_mode)) \
    ZB_ZCL_FINISH_DECLARE_ATTRIB_LIST&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;then device hangs on the reception of Setpoint Raise/Lower ZigBee command.&lt;br /&gt;&lt;br /&gt;but when I use the default ZBOSS ZCL macro ZB_ZCL_DECLARE_THERMOSTAT_ATTRIB_LIST, which is declared like that:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define ZB_ZCL_DECLARE_THERMOSTAT_ATTRIB_LIST(attr_list,                                                \
      local_temperature, local_temperature_calibration, occupied_cooling_setpoint,                      \
      occupied_heating_setpoint, control_seq_of_operation, system_mode, start_of_week) \
  ZB_ZCL_START_DECLARE_ATTRIB_LIST(attr_list)                                                           \
  ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_THERMOSTAT_LOCAL_TEMPERATURE_ID, (local_temperature))                \
  ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_THERMOSTAT_LOCAL_TEMPERATURE_CALIBRATION_ID, (local_temperature_calibration))                        \
  ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_THERMOSTAT_OCCUPIED_COOLING_SETPOINT_ID, (occupied_cooling_setpoint))        \
  ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_THERMOSTAT_OCCUPIED_HEATING_SETPOINT_ID, (occupied_heating_setpoint))        \
  ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_THERMOSTAT_CONTROL_SEQUENCE_OF_OPERATION_ID, (control_seq_of_operation))     \
  ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_THERMOSTAT_SYSTEM_MODE_ID, (system_mode))                            \
  ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_THERMOSTAT_START_OF_WEEK_ID, (start_of_week)) \
  ZB_ZCL_FINISH_DECLARE_ATTRIB_LIST&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;everything works as expected.&lt;br /&gt;&lt;br /&gt;The thing is that I wanted to support only Mandatory attributes. The basic attribute list, which ZBOSS supports, contains extra optional attributes:&lt;br /&gt;&lt;br /&gt;* local temperature calibration&lt;/p&gt;
&lt;p&gt;* occupied heating setpoint&lt;/p&gt;
&lt;p&gt;* start of the week&lt;/p&gt;
&lt;p&gt;And I don&amp;#39;t want to support these extra attributes, so it is a bug.&lt;br /&gt;&lt;br /&gt;Please, fix this problem, because I want to support only mandatory thermostat cluster attributes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>