<?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[child_id 0 already exists in children of node after loading other sketch]]></title><description><![CDATA[<p dir="auto">Hello, I am having an issue with a sensor with a BMP180 sensor. I can't get the sensor to properly register it seems.<br />
A fews months ago I tested the same arduino with bmp180 with a modified PressurSensor sketch from the MySensorsArduinoExamples git repo.<br />
Now I wanted to load the normal PressureSensor sketch with also has a weather prediction included.</p>
<p dir="auto">I loaded the PressureSensor sketch on the arduino and it starts but in the HomeAssistant logs i get a message like this :</p>
<blockquote>
<p dir="auto">Sep 09 15:59:05 keo hass[18926]: WARNING:mysensors:child_id 1 already exists in children of node 6, cannot add child</p>
</blockquote>
<p dir="auto">So I stopped HA and deleted the whole '6' device from the persistence/mysensors.json<br />
Started HA and switched on the sensor, same message.<br />
I record all the readings in a mysql database so I thought maybe that could be the problmen so I deleted the old recordings of the '6_*' entity_id from the states table, stopped HA, removed the '6_' entries from persistence file and switched on the arduino.. Same message again.<br />
So it appears HA or the gateway arduino already finds the devices somewhere and therefore can't add the new ones. But I fail to see why that is.</p>
<p dir="auto">Here is the output of the serial terminal from when I load the sketch on the sensor.</p>
<blockquote>
<p dir="auto">0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1<br />
3 TSM:INIT<br />
4 TSF:WUR:MS=0<br />
11 TSM:INIT:TSP OK<br />
13 TSF:SID:OK,ID=6<br />
14 TSM:FPAR<br />
51 TSF:MSG:SEND,6-6-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:<br />
781 TSF:MSG:READ,0-0-6,s=255,c=3,t=8,pt=1,l=1,sg=0:0<br />
785 TSF:MSG:FPAR OK,ID=0,D=1<br />
2058 TSM:FPAR:OK<br />
2059 TSM:ID<br />
2060 TSM:ID:OK<br />
2062 TSM:UPL<br />
2065 TSF:MSG:SEND,6-6-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1<br />
2075 TSF:MSG:READ,0-0-6,s=255,c=3,t=25,pt=1,l=1,sg=0:1<br />
2079 TSF:MSG:PONG RECV,HP=1<br />
2082 TSM:UPL:OK<br />
2083 TSM:READY:ID=6,PAR=0,DIS=1<br />
2091 TSF:MSG:SEND,6-6-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100<br />
2098 TSF:MSG:READ,0-0-6,s=255,c=3,t=15,pt=6,l=2,sg=0:0100<br />
2109 TSF:MSG:SEND,6-6-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.1.1<br />
2117 TSF:MSG:SEND,6-6-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0<br />
2132 TSF:MSG:READ,0-0-6,s=255,c=3,t=6,pt=0,l=1,sg=0:M<br />
2146 TSF:MSG:SEND,6-6-0-0,s=255,c=3,t=11,pt=0,l=22,sg=0,ft=0,st=OK:TemperatureAndPressure<br />
2156 TSF:MSG:SEND,6-6-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.1<br />
2164 TSF:MSG:SEND,6-6-0-0,s=0,c=0,t=8,pt=0,l=0,sg=0,ft=0,st=OK:<br />
2171 TSF:MSG:SEND,6-6-0-0,s=1,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=OK:<br />
2178 MCO:REG:REQ<br />
2183 TSF:MSG:SEND,6-6-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2<br />
2189 TSF:MSG:READ,0-0-6,s=255,c=3,t=27,pt=1,l=1,sg=0:1<br />
2194 MCO:PIM:NODE REG=1<br />
2196 MCO:BGN:STP</p>
</blockquote>
<p dir="auto">Is there anything I am missing here ?<br />
Any pointers are appreciated :)</p>
]]></description><link>https://forum.mysensors.org/topic/7462/child_id-0-already-exists-in-children-of-node-after-loading-other-sketch</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Mar 2026 23:40:58 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/7462.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 11 Sep 2017 17:29:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to child_id 0 already exists in children of node after loading other sketch on Mon, 01 Jan 2018 21:52:35 GMT]]></title><description><![CDATA[<p dir="auto">You likely need to load the "ClearEepromConfig" sketch to the arduino to clear all of the data from the arduino.</p>
]]></description><link>https://forum.mysensors.org/post/82913</link><guid isPermaLink="true">https://forum.mysensors.org/post/82913</guid><dc:creator><![CDATA[chorob]]></dc:creator><pubDate>Mon, 01 Jan 2018 21:52:35 GMT</pubDate></item></channel></rss>