<?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>Adding cluster custom into mater light_bulb</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119199/adding-cluster-custom-into-mater-light_bulb</link><description>Adding clusters to Matter application 
 -im using nrf52840dk , nrf connect sdk v2.7.0 
 - Edit clusters using the ZAP tool 
 https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/matter/getting_started/adding_clusters.html 
 
 adding cluster</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Feb 2025 08:30:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119199/adding-cluster-custom-into-mater-light_bulb" /><item><title>RE: Adding cluster custom into mater light_bulb</title><link>https://devzone.nordicsemi.com/thread/524503?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2025 08:30:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9dc0cb2-cf59-4443-8e05-1ef34e01d2ed</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The issue is that the bash terminal does not have the environment set up unless you are inside the SDK folders. Can you try running it from an nRF Connect terminal in VS Code instead of bash? You can open an nRF Connect terminal by clicking the error next to the plus sign in the terminal and selecting &amp;quot;nRF Connect,&amp;quot; or by opening the command palette (Ctrl + Shift + P) and finding the &amp;quot;nRF Connect: Create Shell Terminal&amp;quot; option.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1740472144966v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1740472192372v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding cluster custom into mater light_bulb</title><link>https://devzone.nordicsemi.com/thread/524473?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2025 04:07:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43b2e6f4-f10c-4b48-8e86-7fe351eacda4</guid><dc:creator>Prajwal Tayade</dc:creator><description>&lt;p&gt;following interface open when &amp;quot;west zap-gui&amp;quot; command use&amp;nbsp;&lt;/p&gt;
&lt;p&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/Screenshot-from-2025_2D00_02_2D00_25-09_2D00_18_2D00_44.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:198px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x396/__key/communityserver-discussions-components-files/4/Screenshot-from-2025_2D00_02_2D00_25-09_2D00_18_2D00_53.png" /&gt;&lt;/p&gt;
&lt;p&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/0513.Screenshot-from-2025_2D00_02_2D00_21-17_2D00_17_2D00_49.png" /&gt;&lt;/p&gt;
&lt;p&gt;after addition of cluster i generate&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="height:auto;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x0/__key/communityserver-discussions-components-files/4/Screenshot-from-2025_2D00_02_2D00_25-09_2D00_28_2D00_54.png" /&gt;&lt;/p&gt;
&lt;p&gt;using this we can add cluster as above correct me if i&amp;#39;m wrong.&lt;/p&gt;
&lt;p&gt;after generating cluster i use &amp;quot;&lt;span&gt;west zap-generate&lt;/span&gt;&amp;quot;&amp;nbsp; command showing error&amp;nbsp;&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/Screenshot-from-2025_2D00_02_2D00_25-09_2D00_31_2D00_52.png" /&gt;&lt;/p&gt;
&lt;p&gt;path for &amp;quot;west zap-gui&amp;quot; on same path i use &amp;quot;&lt;span&gt;west zap-generate&amp;quot; showing &amp;quot;No valid .zap file provided&amp;quot; because zap file inside the sample code light_bulb so at that location i use&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;quot;west zap-generate&amp;quot; command then showing error &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;&lt;strong&gt;usage: west [-h] [-z ZEPHYR_BASE] [-v] [-q] [-V] &amp;lt;command&amp;gt; ...&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;west: unknown command &amp;quot;zap-generate&amp;quot;; workspace /home/nistantritech/light_bulb_3 does not define this extension command -- try &amp;quot;west help&amp;quot; and &amp;quot;west -vv status&lt;/strong&gt;&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Are you running the command from a terminal where the nRF Connect SDK environment is set up, such as an nRF Connect terminal in VS Code?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;yes, Command running form terminal where nRF Connect SDK environment is set up.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding cluster custom into mater light_bulb</title><link>https://devzone.nordicsemi.com/thread/524329?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2025 12:15:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:850d0eda-1435-4241-a61a-5ff5980d14c7</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are there any errors when running the &amp;quot;west zap-gui&amp;quot; command, or only when using the &amp;quot;west zap-generate&amp;quot; command? Are you running the command from a terminal where the nRF Connect SDK environment is set up, such as an nRF Connect terminal in VS Code?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>