<?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[Ghost Value]]></title><description><![CDATA[<p dir="auto">hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/jkandasa" aria-label="Profile: jkandasa">@<bdi>jkandasa</bdi></a><br />
a question before christmas <img src="http://forum.mycontroller.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=2ce0f5c73bf" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">I don't understand the problem, the node is absent (turned off) and the old value is still there ?<br />
it must be zero !</p>
<p dir="auto"><a href="https://nsmf01.casimages.com/f/2022/12/12//22121205305323870810797.pdf" rel="nofollow ugc"> ---&gt; pdf image &lt;---</a></p>
<p dir="auto">Maybe ghost value is not the right terminology for this?</p>
]]></description><link>http://forum.mycontroller.org/topic/521/ghost-value</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 03:03:46 GMT</lastBuildDate><atom:link href="http://forum.mycontroller.org/topic/521.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Dec 2022 16:02:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Ghost Value on Sun, 25 Dec 2022 13:33:00 GMT]]></title><description><![CDATA[<p dir="auto">.... happy holidays to you Jkandasa</p>
<p dir="auto">I'm rethinking my vision / use of the Mys protocol</p>
<p dir="auto">as I have chosen a Usb gateway and mostly a communication bus in rs485 (RF is for specific cases)</p>
<p dir="auto">MyC &lt;---usb---&gt; Gateway Mega2560/Gui-Oled &lt;----RS485---&gt; Nodes1 2 3 &lt;---- RF ---&gt; NodeX</p>
<ul>
<li>the controller in a closet</li>
<li>the gateway on the desk (usb 3 meters)</li>
<li>the nodes everywhere in the house (in the technical parts)</li>
</ul>
<p dir="auto">and as the "real" Node to Node doesn't work (yes a gateway is mandatory for routing)</p>
<p dir="auto">I'll see how I'm going to do a state management.<br />
I'm testing a feedback on the OLED display of the gateway.</p>
<p dir="auto">an example of the sketch on the gateway of a remote node</p>
<pre><code>//------ node 36 Link distant ------ 
    const byte LINKY_NODE_ID  = 36 ;  // node linky
    const byte CHILD_ID_PAPP  = 1 ;   // ID papp
    uint16_t valPAPP ;  //  variable valeur PAPP 
    
    //-------- linky papp ------------------
 if (message.sender == LINKY_NODE_ID &amp;&amp; message.sensor==CHILD_ID_PAPP  &amp;&amp; message.type == V_VA  ) {    // val PAPP
    valPAPP = message.getInt();
    Serial.print("val PAPP. : ");
    Serial.println(valPAPP);                     
    }
      
    //------------ OLED valeur PAPP --------------------------
 void valPaPP()
  {
  oled.set2X();           
  oled.setCursor(37,2);
  oled.print(valPAPP);
  oled.print("va  ");
  }
</code></pre>
]]></description><link>http://forum.mycontroller.org/post/3300</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3300</guid><dc:creator><![CDATA[JeeLet]]></dc:creator><pubDate>Sun, 25 Dec 2022 13:33:00 GMT</pubDate></item><item><title><![CDATA[Reply to Ghost Value on Wed, 21 Dec 2022 12:32:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jeelet" aria-label="Profile: JeeLet">@<bdi>JeeLet</bdi></a></p>
<blockquote>
<p dir="auto">Gw and stick to the controller, it does not do much, it relays, it is an intermediary.<br />
Couldn't we use the Gateway-Usb to monitor the nodes ?<br />
of their values ? of their states ?</p>
</blockquote>
<p dir="auto">It is possible to fetch node/sensor values. But it is ok when you have few nodes. If your node network grows, this eats lots of your RF bandwidth. IMO, it is unnecessary to poll the values. We have a push mechanism (node sends data to MyC) and in this situation, It is not a good idea to implement pull mechanism as well (MyC asks data from from each node).</p>
]]></description><link>http://forum.mycontroller.org/post/3299</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3299</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Wed, 21 Dec 2022 12:32:45 GMT</pubDate></item><item><title><![CDATA[Reply to Ghost Value on Tue, 13 Dec 2022 19:01:12 GMT]]></title><description><![CDATA[<p dir="auto">I get it, it's a push mode enter, or "pull flow".</p>
<p dir="auto">"Node down status maintained by MyC" ... yes that's a very good thing.</p>
<p dir="auto">ideas out loud about the structure of the system:<br />
MyC &lt;--- Gw &lt;--- node1 &lt;---- node2 &lt;--- ...etc<br />
. the nodes give us the values of the sensors<br />
. MyC displays or sends commands and other things</p>
<ul>
<li>Gw and stick to the controller, it does not do much, it relays, it is an intermediary.<br />
Couldn't we use the Gateway-Usb to monitor the nodes ?<br />
of their values ? of their states ?</li>
</ul>
]]></description><link>http://forum.mycontroller.org/post/3298</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3298</guid><dc:creator><![CDATA[JeeLet]]></dc:creator><pubDate>Tue, 13 Dec 2022 19:01:12 GMT</pubDate></item><item><title><![CDATA[Reply to Ghost Value on Tue, 13 Dec 2022 17:07:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jeelet" aria-label="Profile: JeeLet">@<bdi>JeeLet</bdi></a> MyController v2 operates like event based. It means it receives the data from the node or whatever and updates into the database with the timestamp of the data. On a restart of MyC server the data will be loaded again from database. So no change on the data/value, until it receives new value from that node.</p>
<p dir="auto">The node down status maintained by MyC. If there is no data/heartbeat received from a node for a specified time. MyC assumes that the node is down and marked as down.</p>
]]></description><link>http://forum.mycontroller.org/post/3297</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3297</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Tue, 13 Dec 2022 17:07:22 GMT</pubDate></item><item><title><![CDATA[Reply to Ghost Value on Tue, 13 Dec 2022 09:00:49 GMT]]></title><description><![CDATA[<p dir="auto">"So this is data from 20 hours ago" yes I agree.</p>
<p dir="auto">another example : I have a node stopped with temperature probes.</p>
<p dir="auto">Theoretically when I restart MyC the values displayed in the list of Fields, the sensors should be at zero.<br />
But no, they keep their last value.</p>
<p dir="auto">why MyC will not read the values on the bus<br />
(MyC ---&gt; Gw ---&gt; Nodes)</p>
<p dir="auto">it's complicated for the values to go to zero (or other sign/value) when the system is restarted or after a last of time passed ???</p>
<p dir="auto">thanks</p>
]]></description><link>http://forum.mycontroller.org/post/3296</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3296</guid><dc:creator><![CDATA[JeeLet]]></dc:creator><pubDate>Tue, 13 Dec 2022 09:00:49 GMT</pubDate></item><item><title><![CDATA[Reply to Ghost Value on Tue, 13 Dec 2022 03:35:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jeelet" aria-label="Profile: JeeLet">@<bdi>JeeLet</bdi></a> It is not a ghost value. You can note the timestamp (Last Seen) the value received 20 hours ago after that data not received. So it is a 20 hours ago data.<br />
Please let me know if it is not clear</p>
]]></description><link>http://forum.mycontroller.org/post/3295</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3295</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Tue, 13 Dec 2022 03:35:12 GMT</pubDate></item></channel></rss>