<?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[Visual component with id (im2) already exists]]></title><description><![CDATA[<p dir="auto">Hi kl3m3n,</p>
<p dir="auto">I have 4 small graphs on <a href="https://i.imgur.com/XXxxXX.png" rel="nofollow ugc">https://i.imgur.com/XXxxXX.png</a>, that alternate depending on the signal strength in the modem. I want to update it in periods of every 60 seconds.<br />
The problem is that after 60 seconds, the next time I load the same graphic, the error message appears in the Gui-O,<br />
Visual component with id (im8) already exists,<br />
because it has already been loaded once. Is there any way to solve it?</p>
<p dir="auto">Best regards</p>
]]></description><link>https://forum.gui-o.com/topic/68/visual-component-with-id-im2-already-exists</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 20:51:37 GMT</lastBuildDate><atom:link href="https://forum.gui-o.com/topic/68.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 May 2022 15:35:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Visual component with id (im2) already exists on Sat, 28 May 2022 23:24:42 GMT]]></title><description><![CDATA[<p dir="auto">Hi Kl3m3n,</p>
<p dir="auto">This works, only the IP without the SCI and VIS</p>
<p dir="auto">mqttClient.publish(&amp;In[0], "@im8 IP:"<a href="https://i.imgur.com/vFexxxx.png%22%5Cr%5Cn%22" rel="nofollow ugc">https://i.imgur.com/vFexxxx.png"\r\n"</a>);</p>
<p dir="auto">Solved<br />
Thanks</p>
]]></description><link>https://forum.gui-o.com/post/171</link><guid isPermaLink="true">https://forum.gui-o.com/post/171</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Sat, 28 May 2022 23:24:42 GMT</pubDate></item><item><title><![CDATA[Reply to Visual component with id (im2) already exists on Sat, 28 May 2022 23:03:00 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a></p>
<p dir="auto">Thanks for the Tip, but it not update the graphic.<br />
What make i wrong?</p>
<p dir="auto">loop()</p>
<pre><code>   unsigned long currentTime = millis();
  if (currentTime - previousTime &gt;= eventInterval) {   // every 20 seconds
      previousTime = currentTime;    
      s_quality = modem.getSignalQuality();
     
     if (oneTime == 0) {   // it load the graphic
</code></pre>
<p dir="auto">mqttClient.publish(&amp;In[0], "|IM UID:im8 X:10 Y:45 W:12 H:12 OPA:1 SCI:0 SCM:2 VIS:1  IP:"<a href="https://i.imgur.com/GGxxxxx.png%22%5Cr%5Cn%22" rel="nofollow ugc">https://i.imgur.com/GGxxxxx.png"\r\n"</a>);<br />
oneTime = 1;   // load the graphic only one time and it works<br />
}</p>
<pre><code>    if (s_quality &gt;= 24) {
     mqttClient.publish(&amp;In[0], "@im8 VIS:1 SCI:0 IP:\"https://i.imgur.com/8dxxxxx.png\"\r\n");  // but don't update! The graphic exists
     Serial.println("Signal Top +");                                                       
    }
    else if ((s_quality &gt;=20) &amp;&amp; (s_quality &lt;= 23)) {   
</code></pre>
<p dir="auto">mqttClient.publish(&amp;In[0], "@im8 VIS:1 SCI:0 IP:"<a href="https://i.imgur.com/2dxx3xx.png%22%5Cr%5Cn%22" rel="nofollow ugc">https://i.imgur.com/2dxx3xx.png"\r\n"</a>);  // but don't update! The graphic exists<br />
Serial.println("Signal Good");<br />
}<br />
else if ((s_quality &gt;=16) &amp;&amp; (s_quality &lt;= 19)) {<br />
mqttClient.publish(&amp;In[0], "@im8 VIS:1 SCI:0 IP:"<a href="https://i.imgur.com/TJxxxxx.png%22%5Cr%5Cn%22" rel="nofollow ugc">https://i.imgur.com/TJxxxxx.png"\r\n"</a>);  // but don't update!  The graphic exists<br />
Serial.println("poor signal");<br />
}<br />
}</p>
<p dir="auto">Best regards</p>
]]></description><link>https://forum.gui-o.com/post/170</link><guid isPermaLink="true">https://forum.gui-o.com/post/170</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Sat, 28 May 2022 23:03:00 GMT</pubDate></item><item><title><![CDATA[Reply to Visual component with id (im2) already exists on Sat, 28 May 2022 18:09:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@sato</a> you are probably creating another |IM component with UID:im8 (which already exists). Try updating the <strong>IP</strong> parameter of <strong>im8</strong> to change the image:</p>
<p dir="auto">@im8 IP:"&lt;image&gt;"\r\n</p>
<p dir="auto">BR,<br />
kl3m3n</p>
]]></description><link>https://forum.gui-o.com/post/167</link><guid isPermaLink="true">https://forum.gui-o.com/post/167</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Sat, 28 May 2022 18:09:12 GMT</pubDate></item><item><title><![CDATA[Reply to Visual component with id (im2) already exists on Thu, 26 May 2022 17:41:20 GMT]]></title><description><![CDATA[<p dir="auto">Hi kl3m3n,</p>
<p dir="auto">Perhaps one way to solve this would be if it were possible to assign a variable to IM UID:var</p>
<p dir="auto">Best regards</p>
]]></description><link>https://forum.gui-o.com/post/166</link><guid isPermaLink="true">https://forum.gui-o.com/post/166</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Thu, 26 May 2022 17:41:20 GMT</pubDate></item></channel></rss>