<?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>Multi_sensor Zigbee example - wrong device type using official Nordic nrf52840DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92662/multi_sensor-zigbee-example---wrong-device-type-using-official-nordic-nrf52840dk</link><description>Hi, I am trying to test multi_sensor example from Zigbee and Thread SDK 4.2 using official Nordic nrf52840DK with few Zigbee hubs. Example is located in \examples\zigbee\experimental\multi_sensor\pca10056\blank\ses\ Only adjustments made are setting/confirming</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Nov 2022 02:31:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92662/multi_sensor-zigbee-example---wrong-device-type-using-official-nordic-nrf52840dk" /><item><title>RE: Multi_sensor Zigbee example - wrong device type using official Nordic nrf52840DK</title><link>https://devzone.nordicsemi.com/thread/395665?ContentTypeID=1</link><pubDate>Tue, 15 Nov 2022 02:31:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27aff941-f64a-4d7d-8f18-5512d072087f</guid><dc:creator>inixie</dc:creator><description>&lt;div&gt;&lt;span&gt;Thanks Charlie,&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr"&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;span class="s1"&gt;Just a quick FYI that removing pressure from Nordic example didn&amp;rsquo;t correct the issue, and type of &amp;ldquo;Thing&amp;rdquo; was still showing as device type in SmartThings hub. &lt;/span&gt;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;span class="s1"&gt;Detected &amp;ldquo;Thing&amp;rdquo; type as I mentioned in previous post was actually just a first selection in Smartthings drop-down box that is &amp;ldquo;2015 Samsung Smart TV&amp;rdquo;.&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;span class="s1"&gt;Whole issue and way to correct it, is related to providing correct fingerprint. Fingerprint is needed to avoid getting &amp;ldquo;Thing&amp;rdquo; type and to get at least some manufacturer model through auto-scan. &lt;/span&gt;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;span class="s1"&gt;I was able to somewhat make it work, i.e. detect simulated motion sensor by SW2 button pressing, so far by:&lt;/span&gt;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;span class="s1"&gt;1) adding motion instead of pressure (temp can stay or can be removed)&lt;/span&gt;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;span class="s1"&gt;2) setting Manufacturer name and Model (from zigbee-plugin-motion-sensor.groovy) &lt;/span&gt;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;span class="s1"&gt;3) using nrfx_gpiote_in_is_set to detect press on SW2 &lt;/span&gt;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;span class="s1"&gt;4) using zb_zcl_set_attr_val to send occupied value to SmartThings hub&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;span class="s1"&gt;Note that SmartThings auto-scan, after detecting sensor, will assign it correct read-only type of &amp;ldquo;placeholder&amp;rdquo;.&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;span class="s1"&gt;Due to the lack of, or my inability to find, &amp;ldquo;generic&amp;rdquo; Manufacturer name and Model in SmartThings for zigbee motion/battery/temp/etc sensors, this approach is not really useable in production, unless one is able to get approval from Manufacturer mentioned in groovy file, or able to write SmartThings Edge driver (mandatory groovy replacement).&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;span class="s1"&gt;Regards&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi_sensor Zigbee example - wrong device type using official Nordic nrf52840DK</title><link>https://devzone.nordicsemi.com/thread/392880?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2022 14:21:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea242fa8-3703-45c5-ae04-3ad4c325dea2</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Igor,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply, Elfving is still on a business trip and I will try to help you with your concerns.&lt;/p&gt;
[quote user=""]Unfortunately Nordic nrf52840DK loaded with multi_sensor firmware is showing as &amp;quot;Thing&amp;quot; in Smartthings Zigbee hub, and not showing at all in standard Zigbee hub in Tuya.&lt;br /&gt;Till now I was able only to confirm that only &amp;quot;Light bulb&amp;quot; (ble_zigbee_dynamic_door_lock_nus) and &amp;quot;Door lock&amp;quot; (ble_zigbee_dynamic_door_lock_nus) examples do work both in Tuya and Smartthings.[/quote]
&lt;p&gt;As you have realised these compability issue only appears with multi_sensor example. The main reason is that &lt;span&gt;this Zigbee Multi Sensor example&amp;nbsp;added a&amp;nbsp;custom cluster implemented for pressure in zb_zcl_pressure_measurement.h and zb_zcl_pressure_measurement.c.This cluster is not like temperature&amp;nbsp;defined by the ZCL specification, so it will confuse other standered devices and cause different compibility issues if you add it to other Zigbee hubs.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If you read this article from&amp;nbsp;&lt;a href="https://community.smartthings.com/t/faq-zigbee-application-profiles-or-why-not-all-zigbee-devices-work-with-smartthings/76219"&gt;FAQ: Zigbee Application Profiles, or why not all zigbee devices work with SmartThings - Wiki / FAQ - SmartThings Community&lt;/a&gt;, you would not be surprised that Zigbee world is quite devided. Some companies like IKEA and&amp;nbsp;Philips Hue even close their Zigbee ecosystem only for their own product usage for different reasons. I have some personal advice for your smart home application development if you are still in the early stage.&lt;/p&gt;
&lt;p&gt;1) You should consider the solutions with the following priority for your smart home development. &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.1/nrf/ug_matter.html"&gt;Matter NCS&lt;/a&gt;&amp;gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.1/nrf/ug_zigbee.html"&gt;Zigbee NCS&lt;/a&gt;&amp;gt; Zigbee nRF5 SDK&lt;/p&gt;
&lt;p&gt;2) Why &lt;span&gt;Zigbee NCS&amp;gt; Zigbee nRF5 SDK?&amp;nbsp;&lt;/span&gt;nRF5 SDK is currently in the maintenance stage now, you may hard to get support and have Zigbee certification compliance issues in the future. See&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;nRF Connect SDK and nRF5 SDK statement&lt;/a&gt;&amp;nbsp;to learn the reasons why you should switch to NCS in general.&amp;nbsp;nRF Connect SDK have a production-level Zigbee solution that supports the latest Zigbee specification and complies with Zigbee product certification requirements.&lt;/p&gt;
&lt;p&gt;3) Why&amp;nbsp;&lt;span&gt;Matter NCS&amp;gt;Zigbee NCS? The matter is a new smart home application layer protocol defined by Connectivity Standards Alliance(former Zigbee Alliance), it reused many technologies from Zigbee but added more features required by modern smart home applications like IP connection, more security and multi-smart home ecosystems supported and so on,&amp;nbsp; with similar HW requirements as Zigbee running on top of&amp;nbsp;&amp;nbsp;IEEE 802.15.4&amp;nbsp;physical layer. It even defined Matter-Zigbee Hub to allow you to connect previous Zigbee devices.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Charlie&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi_sensor Zigbee example - wrong device type using official Nordic nrf52840DK</title><link>https://devzone.nordicsemi.com/thread/391515?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2022 17:02:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:578ab957-e076-4bba-b4ba-e36aaab3692a</guid><dc:creator>inixie</dc:creator><description>&lt;p&gt;Hi Elfving,&lt;br /&gt;&lt;br /&gt;Would be possible to get some follow-up, or at least advice about possible developer/company proficient with nrf52xx multi-sensors Zigbee implementation that I could contract regarding this?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Workaround suggested re adjusting detected sensor type at Smartthings web account, is really not something that I can pass to future customers.&lt;br /&gt;None of the nrf52 related sensor code (mostly from github), other that light bulb/lock related, doesn&amp;#39;t seems able to seamlessly join Smarthings or join at least standard Zigbee hub in Tuya. &lt;br /&gt;&lt;br /&gt;In the meantime I did order few Zigbee sensors made with different manufacturer&amp;#39;s SoC other than Nordic nrf52xx SoC; those sensors are joining okay both Smartthings and standard Zigbee hubs under Tuya. In addition I did check one SoC manufacturer&amp;#39;s zigbee sensor IAR source code.&lt;br /&gt;Their official code from github and its Tuya implementation, that apparently is working, seems to not have/use basic attribute list nor identify attribute list: &lt;br /&gt;&lt;br /&gt;Contact sensor IAR code - non-nrf52 - working with Tuya/Smarthings:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;// application cluster&lt;br /&gt;const cluster_t app_server_cluster_list[] ={&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF_CLUSTER_POWER_CLUSTER_ID( power_attr_list )&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF_CLUSTER_IAS_ZONE_CLUSTER_ID( ias_zone_attr_list )&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;Multi sensor SES code - nrf52 - not working with Tuya/Smarthings: &lt;br /&gt;ZB_DECLARE_MULTI_SENSOR_CLUSTER_LIST(multi_sensor_clusters,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basic_attr_list,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; identify_client_attr_list,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; identify_server_attr_list,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; temperature_attr_list,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pressure_attr_list);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I really prefer to continue with Nordic SoC and SES, due to easy coding, detailed comments, as well as due to the time and investment put into development so far, but uncertainty/inability to work with major physical hub(s) is show stopper.&lt;br /&gt;&lt;br /&gt;Thanks in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi_sensor Zigbee example - wrong device type using official Nordic nrf52840DK</title><link>https://devzone.nordicsemi.com/thread/390525?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2022 22:09:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a125e191-dc5d-475a-af54-8c7efbd8ba77</guid><dc:creator>inixie</dc:creator><description>&lt;p&gt;Thanks Elfving,&lt;/p&gt;
&lt;p&gt;In initial attachment was sniffer log for Smartthings on channel 14, and here is sniffer log for Tuya on channel 15.&lt;/p&gt;
&lt;p&gt;As per advice for adjusting Smartthings sensor type at Samsung website, I did attempt that, with mixed results (screenshots attached showing intermittent successful change). Basically sometime it works, but sensor did appear differently after repeated adjustments (sensor either shows just &amp;quot;Connected&amp;quot; or do show values like Temp etc). This behavior seems to partially depend on device initially chosen to do the scan (auto-scan doesn&amp;#39;t seems to work). Initially I was able to change &amp;quot;Thing&amp;quot; (first choice of all devices in the list, maybe due to passing wrong ID to Smartthins) type to Zigbee Motion/Temp/Humidity Sensor. Unfortunately I wasn&amp;#39;t able to replicate it consistently.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Capturemulti_2D00_sensorChannel15Tuya.pcapng"&gt;devzone.nordicsemi.com/.../Capturemulti_2D00_sensorChannel15Tuya.pcapng&lt;/a&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Samsung-website-account-re-Zigbee-device-type-adjustment.jpg" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Smartthings-appearance-in-app.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi_sensor Zigbee example - wrong device type using official Nordic nrf52840DK</title><link>https://devzone.nordicsemi.com/thread/390209?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 09:17:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c58aa804-6693-4a94-a10a-00d84ed32de5</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
[quote user=""]Unfortunately Nordic nrf52840DK loaded with multi_sensor firmware is showing as &amp;quot;Thing&amp;quot; in Smartthings Zigbee hub,[/quote]
&lt;p&gt;You can change what sort of Zigbee thing this is in the app, &lt;a href="https://community.smartthings.com/t/my-yale-zigbee-lock-shows-up-as-thing-in-the-new-smartthings-app-and-wont-fully-connect/139224"&gt;for more info see here.&lt;/a&gt;&lt;/p&gt;
[quote user=""] not showing at all in standard Zigbee hub in Tuya[/quote]
&lt;p&gt;That is odd. Could you provide a sniffer log of it attempting to connect to the Tuya? You&amp;#39;ve provided &lt;em&gt;a&amp;nbsp;&lt;/em&gt;sniffer log, but I&amp;#39;m not sure which of the two issues it is showing.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi_sensor Zigbee example - wrong device type using official Nordic nrf52840DK</title><link>https://devzone.nordicsemi.com/thread/389827?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2022 12:34:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c426d661-12e3-4de6-8898-8cd4007a1c64</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I will have to get back to you on this next week.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>