<?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[Shelly-PM not working?]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I get the message below after I had configured the Module MMM-Shelly-PM. Is anyone running this module and can support? I don`t know how to fix this.</p>
<p dir="auto">Module Link:<br />
<a href="https://github.com/stefanjacobs/MMM-Shelly-PM" target="_blank" rel="noopener noreferrer nofollow ugc">MMM-Shelly-PM</a></p>
<pre><code>
0|mm  | &gt; magicmirror@2.29.0 start
0|mm  | &gt; DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
0|mm  | [2024-10-20 20:51:40.183] [LOG]   Starting MagicMirror: v2.29.0 
0|mm  | [2024-10-20 20:51:40.225] [LOG]   Loading config ... 
0|mm  | [2024-10-20 20:51:40.229] [LOG]   config template file not exists, no envsubst 
0|mm  | [2024-10-20 20:51:40.772] [INFO]  Checking config file /home/chris/MagicMirror/config/config.js ... 
0|mm  | [2024-10-20 20:51:40.890] [INFO]  Your configuration file doesn't contain syntax errors :) 
0|mm  | [2024-10-20 20:51:40.892] [INFO]  Checking modules structure configuration ... 
0|mm  | [2024-10-20 20:51:41.008] [INFO]  Your modules structure configuration doesn't contain errors :) 
0|mm  | [2024-10-20 20:51:42.894] [ERROR] (node:13565) UnhandledPromiseRejectionWarning: Error: Cannot find module 'request'
0|mm  | Require stack:
0|mm  | - /home/chris/MagicMirror/modules/MMM-Shelly-PM/node_helper.js
0|mm  | - /home/chris/MagicMirror/js/app.js
0|mm  | - /home/chris/MagicMirror/js/electron.js
0|mm  |     at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15)
0|mm  |     at s._resolveFilename (node:electron/js2c/browser_init:2:121498)
0|mm  |     at Module._resolveFilename (/home/chris/MagicMirror/node_modules/module-alias/index.js:49:29)
0|mm  |     at Module._load (node:internal/modules/cjs/loader:1058:27)
0|mm  |     at c._load (node:electron/js2c/node_init:2:17025)
0|mm  |     at Module.require (node:internal/modules/cjs/loader:1318:19)
0|mm  |     at require (node:internal/modules/helpers:179:18)
0|mm  |     at Object.&lt;anonymous&gt; (/home/chris/MagicMirror/modules/MMM-Shelly-PM/node_helper.js:3:17)
0|mm  |     at Module._compile (node:internal/modules/cjs/loader:1484:14)
0|mm  |     at Module._extensions..js (node:internal/modules/cjs/loader:1564:10)
0|mm  |     at Module.load (node:internal/modules/cjs/loader:1295:32)
0|mm  |     at Module._load (node:internal/modules/cjs/loader:1111:12)
0|mm  |     at c._load (node:electron/js2c/node_init:2:17025)
0|mm  |     at Module.require (node:internal/modules/cjs/loader:1318:19)
0|mm  |     at require (node:internal/modules/helpers:179:18)
0|mm  |     at loadModule (/home/chris/MagicMirror/js/app.js:200:19)
0|mm  | (Use `electron --trace-warnings ...` to show where the warning was created) 
0|mm  | [2024-10-20 20:51:42.908] [ERROR] (node:13565) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

</code></pre>
]]></description><link>https://forum.magicmirror.builders/topic/19062/shelly-pm-not-working</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Jul 2026 11:29:37 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/19062.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 20 Oct 2024 19:06:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Shelly-PM not working? on Mon, 21 Oct 2024 13:35:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chrisfr1976" aria-label="Profile: chrisfr1976">@<bdi>chrisfr1976</bdi></a> the author posted  a replay to<br />
<a href="https://github.com/stefanjacobs/MMM-Shelly-PM/issues/1" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/stefanjacobs/MMM-Shelly-PM/issues/1</a><br />
about an hour ago</p>
]]></description><link>https://forum.magicmirror.builders/post/120726</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120726</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 21 Oct 2024 13:35:22 GMT</pubDate></item><item><title><![CDATA[Reply to Shelly-PM not working? on Mon, 21 Oct 2024 13:32:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chrisfr1976" aria-label="Profile: chrisfr1976">@<bdi>chrisfr1976</bdi></a> so, it is trying to use the config parm you should have set</p>
<p dir="auto">uri: self.config.uri</p>
<p dir="auto">do you have a uri : property in the module config?</p>
<p dir="auto">there is no default set by the module</p>
]]></description><link>https://forum.magicmirror.builders/post/120725</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120725</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 21 Oct 2024 13:32:31 GMT</pubDate></item><item><title><![CDATA[Reply to Shelly-PM not working? on Mon, 21 Oct 2024 13:10:24 GMT]]></title><description><![CDATA[<p dir="auto">Okay, maybe someone is successfully running this module and can help. I get this message:</p>
<pre><code>
0|mm  | [2024-10-21 14:58:00.242] [ERROR] Whoops! There was an uncaught exception... 
0|mm  | [2024-10-21 14:58:00.242] [ERROR] Error: undefined is not a valid uri or options object.
0|mm  |     at request (/home/chris/MagicMirror/modules/node_modules/request/index.js:44:11)
0|mm  |     at Class.socketNotificationReceived (/home/chris/MagicMirror/modules/MMM-Shelly-PM/node_helper.js:30:4)
0|mm  |     at Socket.&lt;anonymous&gt; (/home/chris/MagicMirror/js/node_helper.js:91:10)
0|mm  |     at Socket.onevent (/home/chris/MagicMirror/node_modules/socket.io/dist/socket.js:462:26)
0|mm  |     at Socket._onpacket (/home/chris/MagicMirror/node_modules/socket.io/dist/socket.js:430:22)
0|mm  |     at /home/chris/MagicMirror/node_modules/socket.io/dist/client.js:214:24
0|mm  |     at process.processTicksAndRejections (node:internal/process/task_queues:77:11) 
0|mm  | [2024-10-21 14:58:00.243] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 
0|mm  | [2024-10-21 14:58:00.244] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MagicMirrorOrg/MagicMirror/issues

</code></pre>
<p dir="auto">I had a look in the index.js and the node_helper.js but I can‘t see whats not working.</p>
<p dir="auto">Cheers,<br />
Chris.</p>
]]></description><link>https://forum.magicmirror.builders/post/120724</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120724</guid><dc:creator><![CDATA[chrisfr1976]]></dc:creator><pubDate>Mon, 21 Oct 2024 13:10:24 GMT</pubDate></item><item><title><![CDATA[Reply to Shelly-PM not working? on Mon, 21 Oct 2024 09:50:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> Hi, that fixed the startup problem. Many thanks!<br />
But there are still some errors. I`ll check and maybe reopen this topic.</p>
]]></description><link>https://forum.magicmirror.builders/post/120711</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120711</guid><dc:creator><![CDATA[chrisfr1976]]></dc:creator><pubDate>Mon, 21 Oct 2024 09:50:22 GMT</pubDate></item><item><title><![CDATA[Reply to Shelly-PM not working? on Sun, 20 Oct 2024 20:08:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chrisfr1976" aria-label="Profile: chrisfr1976">@<bdi>chrisfr1976</bdi></a> see<br />
<a href="https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later">https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later</a></p>
]]></description><link>https://forum.magicmirror.builders/post/120695</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120695</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 20 Oct 2024 20:08:18 GMT</pubDate></item></channel></rss>