<?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>Can CHIP tool control switch to turn on/off bulb?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117275/can-chip-tool-control-switch-to-turn-on-off-bulb</link><description>Dear Devzone: 
 I have setup done matter environment as blow: 
 
 NB: Ubuntu 22.04 with WIFI and BT, installed CHIP tool from official pre-built (V2.8.0 corresponding version: chip-tool-linux_x64.zip ) 
 Raspberry Pi4 with OTBR configured 
 DK: nRF52840DK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Dec 2024 02:28:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117275/can-chip-tool-control-switch-to-turn-on-off-bulb" /><item><title>RE: Can CHIP tool control switch to turn on/off bulb?</title><link>https://devzone.nordicsemi.com/thread/515213?ContentTypeID=1</link><pubDate>Tue, 17 Dec 2024 02:28:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:211dfcba-49a4-45e3-a640-ec80d958d154</guid><dc:creator>susepc</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/amanda"&gt;Amanda Hsieh&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Got it，thx&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can CHIP tool control switch to turn on/off bulb?</title><link>https://devzone.nordicsemi.com/thread/515173?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2024 15:48:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c813efea-3eca-4e3c-9fd6-e8e34ae6c0bf</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Our Light Switch sample is not prepared to be used in this way. There is no callback implementation for receiving the on/off command from the CHIP tool, hence the mentioned error. Our sample is prepared to use the onboard button and send a command to the connected Light Bulb device in this way. If&amp;nbsp;you want to use it by sending an on/off command by Chuptool to Light Switch, you need to implement the &lt;code&gt;emberAfOnOffClusterInitCallback&lt;/code&gt; and &lt;code&gt;MatterPostAttributeChangeCallback&lt;/code&gt; callbacks in your Light Switch application.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can CHIP tool control switch to turn on/off bulb?</title><link>https://devzone.nordicsemi.com/thread/515007?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2024 01:19:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4edd847-154c-471b-a011-3eade99e495a</guid><dc:creator>susepc</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/amanda"&gt;Amanda Hsieh&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sure, I can use this command to control bulb on/off, as below:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span&gt;$ ./chip-tool onoff toggle &amp;lt;node_id&amp;gt; &amp;lt;endpoint_id&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; But when I send this command to switch, it popup do not support of/off cluster.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; So I want to know whether&amp;nbsp;CHIP tool can send command to switch to turn on/off bulb? (as case 3)&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case1: CHIP tool&amp;nbsp; -&amp;gt; bulb : pass&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case2: Switch - &amp;gt; bulb: pass&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case3: CHIP tool -&amp;gt; switch -&amp;gt; bulb: ???&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can CHIP tool control switch to turn on/off bulb?</title><link>https://devzone.nordicsemi.com/thread/514908?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2024 14:02:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ccde09d-f91b-4246-b6f1-a7a9794f31c6</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;See this&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.8.0/page/matter/chip_tool_guide.html"&gt;Chip tool guide&lt;/a&gt;/&lt;span&gt;Step 7: Control application Data Model clusters.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>