I’ve fixed an issue, when the power gets a negative value if the solar panel are producing. I couldn’t test this last night g
Now it should be even better than before.
BR Chris
I’ve fixed an issue, when the power gets a negative value if the solar panel are producing. I couldn’t test this last night g
Now it should be even better than before.
BR Chris
Hello,
After creating my first Shelly MMM module, I knew it was time for an upgrade. I wanted something with a more polished, visually appealing look than a basic table. Introducing my new module:
Example:
This module can also more or less replace the MMM-ShellyStatusTable. If a device is switched on or off it is dynamic displayed in the list.
Give it a try and give me Star ;)
Cheers,
Chris.
@bougle
Try
let config = {address: "0.0.0.0", …….
And
url: "http://0.0.0.0:8080/modules/calendars……..
Worked for me.
Br Chris
@Frossion1996 Hi,
Im using this Sensor:
A little “build yourself” but the result is perfect. I’m using an iFrame to show it on my mirror.
With the Arduino IDE is was also able to adjust it a little bit to my belongings (transparent background and a little size adjustments).
This project is really amazing. In the summer I can directly see in the morning if I can jump directly into the pool.
Chris.
Hello,
finally I finished my first MM-module. I was struggling with the existing shelly modules so I decided to create a new one which uses only the cloud-api in order to be independent from the device itself.
The MMM-ShellyStatusTable module displays the switch status and power consumption of multiple Shelly devices in a table on the MagicMirror², including a total consumption sum. It regularly updates the data via the Shelly Cloud API Gen 1 and Gen 2+. So it should be independed from the devices in your smart home.
It is currently hard to say if every device is considered correctly. I have the following devices and it works:
Currently no translation is available. It will follow in the next days. But it is not hard to fix by your own, I hope.
I’m not really a module developer but ChatGPT finally fixed it :-)
Please try and give me a feedback if you discover some problems. Maybe I can help, but I’m no sure at all :laugh:
@rabbit83ka Hi, this looks interesting. I‘ve used Grafana in the past but I‘m definately no expert. Can you share the part of of your config.js ? Then I can try to get this running.
Chris.
Okay, maybe someone is successfully running this module and can help. I get this message:
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.<anonymous> (/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
I had a look in the index.js and the node_helper.js but I can‘t see whats not working.
Cheers,
Chris.
@sdetweil Hi, that fixed the startup problem. Many thanks!
But there are still some errors. I`ll check and maybe reopen this topic.
Hello,
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.
Module Link:
MMM-Shelly-PM
0|mm | > magicmirror@2.29.0 start
0|mm | > 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.<anonymous> (/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)
Hello,
I’m using EVCC for load PV surplus. Currently I’m using parts of the EVCC dashboard in an I-Frame. This is not as nice as it could be.
For all who don’t know what it is: EVCC.
Has anyone tried to create something for the MM project?
BR Chris.