<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Node Auto ID not firing requestNodeId()]]></title><description><![CDATA[<p dir="auto">I start my node with</p>
<pre><code>gw.begin();
</code></pre>
<p dir="auto">And I would assume that would send out a message to the controller to request an id.  But that does not appear to happen.</p>
<p dir="auto">MySensors.cpp shows my nc.nodeID as</p>
<pre><code>Node id (0) : 0
</code></pre>
<p dir="auto">So the code in MySensors.cpp, never fires the requestNodeId() function to retrieve an id since nc.nodeId = 0 and not AUTO.<br />
How do I get nc.nodeId to equal AUTO.  I am not seeing anywhere in the MySensors code where that would get written to EEPROM.  Am I doing something wrong? Overlooking something?</p>
<pre><code>nc.nodeId == AUTO &amp;&amp; isValidParent(nc.parentNodeId)) 
</code></pre>
<pre><code>		if (_nodeId != AUTO) {
			// Set static id
			nc.nodeId = _nodeId;
			// Save static id in eeprom
			hw_writeConfig(EEPROM_NODE_ID_ADDRESS, _nodeId);
		} else if (nc.nodeId == AUTO &amp;&amp; isValidParent(nc.parentNodeId)) {
			// Try to fetch node-id from gateway
			requestNodeId();
		}
</code></pre>
]]></description><link>https://forum.mysensors.org/topic/2877/node-auto-id-not-firing-requestnodeid</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 13:00:39 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/2877.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 21 Jan 2016 08:22:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Node Auto ID not firing requestNodeId() on Thu, 21 Jan 2016 09:01:46 GMT]]></title><description><![CDATA[<p dir="auto">Do you have something in your eeprom already blocking? Try clearing it using the provided ClearEprom sketch in examples.</p>
]]></description><link>https://forum.mysensors.org/post/29152</link><guid isPermaLink="true">https://forum.mysensors.org/post/29152</guid><dc:creator><![CDATA[hek]]></dc:creator><pubDate>Thu, 21 Jan 2016 09:01:46 GMT</pubDate></item></channel></rss>