<?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[MQTT server is offline]]></title><description><![CDATA[<p dir="auto">Hi there.<br />
I am using an ESP8266 board as a door-sensor which publishes messages to my adafruit IO feed.  I am then using the MMM-mqtt module by <a class="plugin-mentions-user plugin-mentions-a" href="/user/javiergayala" aria-label="Profile: javiergayala">@<bdi>javiergayala</bdi></a> to subscibe to the feed and show if my door is open or closed.<br />
This all works fine for a short time, but then I get a notification on the mirror that the “MQTT server is offline” and the module fails to receive any new published messages.<br />
The adafruit feed is being updated fine when my garage door is opened/closed.<br />
The only thing I can see in adafruit’s monitor screen is:</p>
<pre><code>2020/11/15 10:20:51AM  mqttjs_aaeacdcb  disconnected
</code></pre>
<p dir="auto">And I can’t see anything in mm logs:</p>
<pre><code>pi@mirror:~/MagicMirror/config $ tail -1000 ~/.pm2/logs/mm-out.log | grep mqtt
[2020-11-15 10:11:54.078] [LOG]    MMM-mqtt started ...
[2020-11-15 10:12:07.819] [LOG]    Creating new MQTT client for url:  mqtts://*adafruit...*
[2020-11-15 10:12:08.106] [INFO]   Checking git for module: MMM-mqtt
</code></pre>
<p dir="auto">Any ideas on what’s happening, or where I can look for a steer on what’s happening?  The sensor and adafruit feed look to be working fine, just the mirror is disconnecting.<br />
Thanks.</p>
]]></description><link>https://forum.magicmirror.builders/topic/14036/mqtt-server-is-offline</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 17:56:36 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/14036.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 15 Nov 2020 13:30:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MQTT server is offline on Tue, 08 Dec 2020 14:37:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matt216" aria-label="Profile: matt216">@<bdi>matt216</bdi></a> the code could be made more resilient, but maybe lower down than module, which module author doesn’t  control.</p>
<p dir="auto">Its hard to make 100% reliable code.</p>
<p dir="auto">Glad u resolved to issue</p>
]]></description><link>https://forum.magicmirror.builders/post/85551</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/85551</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 08 Dec 2020 14:37:49 GMT</pubDate></item><item><title><![CDATA[Reply to MQTT server is offline on Tue, 08 Dec 2020 14:14:46 GMT]]></title><description><![CDATA[<p dir="auto">Little update… upgraded the ‘flaky’ hotspot and ran an ethernet cable to it, rather than use powerline adapters.  The mirror has held connection to the queue for 3 days now, which is by far a record!<br />
Network connectivity seemed to be the issue, prompting a DNS error.  Curious if the module could be a bit more resilient but perhaps that’s the nature of MQTT…?  Decent home network has resolved.<br />
Thanks for assistance.</p>
]]></description><link>https://forum.magicmirror.builders/post/85549</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/85549</guid><dc:creator><![CDATA[matt216]]></dc:creator><pubDate>Tue, 08 Dec 2020 14:14:46 GMT</pubDate></item><item><title><![CDATA[Reply to MQTT server is offline on Fri, 20 Nov 2020 18:17:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matt216" aria-label="Profile: matt216">@<bdi>matt216</bdi></a> i M glad that you were able to recreate and have a plan to resolve.</p>
<p dir="auto">I had a similar problem w my wifi security cams  and an mm system.</p>
<p dir="auto">Finally replaced the networking w a Google wifi system, where I could put  one of the stations in a location  to resolve the connection issues.</p>
]]></description><link>https://forum.magicmirror.builders/post/84880</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/84880</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 20 Nov 2020 18:17:58 GMT</pubDate></item><item><title><![CDATA[Reply to MQTT server is offline on Fri, 20 Nov 2020 17:33:08 GMT]]></title><description><![CDATA[<p dir="auto">I can ‘force’ this error by turning off the nearest wifi access point that the mirror uses on my home network.  Although the mirror associates with another AP the connection to the MQTT server is broken and will not re-establish.<br />
This error only occurs occasionally, usually, which would make sense as the nearest access point is… ‘flaky’, shall we say (it’s a powerline adaptor type).<br />
I am going to specify a certain (reliable) AP for the mirror to connect to.  Otherwise I may try a different ssid for the second AP (keen to avoid this, though).<br />
Thanks for help so far.</p>
]]></description><link>https://forum.magicmirror.builders/post/84875</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/84875</guid><dc:creator><![CDATA[matt216]]></dc:creator><pubDate>Fri, 20 Nov 2020 17:33:08 GMT</pubDate></item><item><title><![CDATA[Reply to MQTT server is offline on Wed, 18 Nov 2020 15:47:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matt216" aria-label="Profile: matt216">@<bdi>matt216</bdi></a> the error is dns failure</p>
]]></description><link>https://forum.magicmirror.builders/post/84814</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/84814</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 18 Nov 2020 15:47:07 GMT</pubDate></item><item><title><![CDATA[Reply to MQTT server is offline on Wed, 18 Nov 2020 15:42:12 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> .  I do indeed have Pihole running on my network.  Yesterday I observed the “MQTT offline” mirror notification exactly at the same time as a (successful) A and AAAA request from the mirror for the MQTT server URL.<br />
Today, however, the notification appeared but there is no corresponding DNS request from the mirror.<br />
This is the first module (and only device on my network) that struggles… not convinced it is DNS related.<br />
Appreciate the help.</p>
]]></description><link>https://forum.magicmirror.builders/post/84812</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/84812</guid><dc:creator><![CDATA[matt216]]></dc:creator><pubDate>Wed, 18 Nov 2020 15:42:12 GMT</pubDate></item><item><title><![CDATA[Reply to MQTT server is offline on Tue, 17 Nov 2020 12:55:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matt216" aria-label="Profile: matt216">@<bdi>matt216</bdi></a> eai_again in a name server problem. See that a lot when people are using advert filters like Pinole, or have unstable internet</p>
]]></description><link>https://forum.magicmirror.builders/post/84773</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/84773</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 17 Nov 2020 12:55:02 GMT</pubDate></item><item><title><![CDATA[Reply to MQTT server is offline on Tue, 17 Nov 2020 11:07:50 GMT]]></title><description><![CDATA[<p dir="auto">Also, very occasionally, get the notification:<br />
“MQTT Error.  The MQTT client has suffered an error: Error: getaddrinfo EAI_AGAIN <a href="http://io.adafruit.com" target="_blank" rel="noopener noreferrer nofollow ugc">io.adafruit.com</a>”</p>
<p dir="auto">Would appreciate a steer in the direction of any logs I can dig in to.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.magicmirror.builders/post/84770</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/84770</guid><dc:creator><![CDATA[matt216]]></dc:creator><pubDate>Tue, 17 Nov 2020 11:07:50 GMT</pubDate></item></channel></rss>