i have a solution,
it is only a comma missing in “MMM-SystemStats.js” in line 20
baseURLSyslog: 'http://127.0.0.1:8080/syslog',
i have a solution,
it is only a comma missing in “MMM-SystemStats.js” in line 20
baseURLSyslog: 'http://127.0.0.1:8080/syslog',
thank you for the module, it is fantastic.
a little mistake in “de.json”
not
"Wanning Gibbous Moon": abnehmender Mond"
better:
"Waning Gibbous Moon": abnehmender Mond"
I found this one, I it not optimal but for me it works.
https://www.thingiverse.com/thing:2794643
I set you drill hole for raspberry and use space.
Thank you for your help and inspiration
i found the problem, in my case the “panelId” was the problem.
I don’t know if the problem only occurs in Version 8 from graval or if an configuration misstake in my grafan evironments.
I delete in MMM-GrafanCharts.js files the panelId in the iframe.src URL and now it works
Does anyone have a nice housing for the sensor RCWL-0516? Mounting on a wooden frame, such as this one from the PIR
Thank you
Ich hab die einfache Konfig verwendet:
{
module: 'MMM-soccer',
position: 'top_right',
config: {
provider: {
'football-data': {
apiKey: 'XXX'
}
},
competitions: [
{
code: 'BL1',
scorers: {
provider: 'football-data',
maxEntries: 5
}
},
]
}
}
I have this error:
[ERROR] [MMM-soccer]: SoccerError: FETCHING_SCORERS
at Object.fetchScorers (/home/pi/MagicMirror/modules/MMM-soccer/provider/football-data/provider.js:110:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Class.createSingleRequest (/home/pi/MagicMirror/modules/MMM-soccer/node_helper.js:86:30)
at async Promise.all (index 0)
at async Class.makeRequests (/home/pi/MagicMirror/modules/MMM-soccer/node_helper.js:97:27) {
competition: ‘BL1’,
provider: ‘football-data’
}
You are absolutely brilliant, now it works.
I change in “raspi-config” to x11 desktop environment and now magicmirror run on second monitor.
Thank you all for your tips
I use a raspberry Pi 4 with two 24“ monitors. I want to start with one magicmirror on monitor 2 and a second instanc on monitor 1.
First step is to start MagicMirror on monitor 2, with option „electronOptions:{ x:1920 },“
in config.js
I start magicmirror with command „npm run start“ and dependent with monitor is the terminal window opens the Magicmirror. If terminal is on monitor 1 start magicmirror is on monitor 1.
If terminal is on monitor 2 start magicmirror is on monitor 2.
Same problem when i start the MagicMirroc with pm2.
I think i have two seperate monitor not 1 monitor with resulation 3840 pixel.
Is this a problem but what is the solution?
Thank you for any tips
@MMRIZE
Yes, I think the problem is due to the “MMM-iFrameReload” module. I’m now using the module “MMM-SmartWebDisplay” so far no problem :-)
Result of my test:
ListenpunktUsing “external_broqwser=firefox” no improvement, after about 1 hour no changes from the modul.
ListenpunktWith “animation: null”, no improvement, after about 1 hour no changes from the modul.
ListenpunktWith default clock and calendar, no problem (test run about 2,5 hours)
Next test, with just an iframe module and the MMM-Simple Logo module. This module combination could be a solution for me
Thank you for your answer, I agree with you, I also think that the error message has nothing to do with the problem.
Error message is written to the log after the start and the freezing of the module happens after about 1 hour.
I used the default animation, unfortunately I don’t know how to remove the animation completely.
Have also removed the MMM remote control module.
So there are only three modules left, MMM-Scenes2, MMM-iFrameReload and MMM-iFrameReload2
I switched off WLan-power Save and deactivated IPV6.
No improvement, no improvement.
Next tests will be longer times and I will use a different browser.
Other test scenarios ?
It is possibe to start direct the custom menu?
If i call „http://raspberryanzeige1:8080/remote.html#custom-menu“ i get onle an emty page.
Start power menu it is possibe „http://raspberryanzeige1:8080/remote.html#power-menu“
I have the same problem, after about 1 hour there is no change of modules.
I also want a constant change of MMM-iframeReload and MMM-iframeReload2 module
MagicMirror Version 2.27, Rapsberry PI 4 – 4 GB
My Config:
/* MagicMirror² Config Sample
*
* By Michael Teeuw https://michaelteeuw.nl
* MIT Licensed.
*
* For more information on how you can configure this file
* see https://docs.magicmirror.builders/configuration/introduction.html
* and https://docs.magicmirror.builders/modules/configuration.html
*
* You can use environment variables using a `config.js.template` file instead of `config.js`
* which will be converted to `config.js` while starting. For more information
* see https://docs.magicmirror.builders/configuration/introduction.html#enviromnent-variables
*/
let config = {
address: "0.0.0.0", // Address to listen on, can be:
// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - "0.0.0.0", "::" to listen on any interface
// Default, when address config is left out or empty, is "localhost"
port: 8080,
basePath: "/", // The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
// you must set the sub path here. basePath must end with a /
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "192.168.178.249", "192.168.178.49"], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
useHttps: false, // Support HTTPS or not, default "false" will use HTTP
httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true
httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true
language: "de",
locale: "de-DE",
logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
timeFormat: 24,
units: "metric",
electronOptions: {
webPreferences: {
webviewTag: true,
},
},
modules: [
{
module: "alert",
},
/*{
module: "clock",
position: "top_left"
},*/
{
// https://github.com/TheBogueRat/MMM-iFrameReload
module: 'MMM-iFrameReload',
position: 'top_left', // This can be any of the regions.
classes: "SEITE_ZWEI",
//header: 'Rezept des Tages',
config: {
// See 'Configuration options' for more information.
url: http://test/Anzeigetafeln/Anzeige1.html,
width: "1900px", // Optional. Default: 100%
height: "1080px", //Optional. Default: 100px
refreshInterval: 100
}
},
{
// https://github.com/TheBogueRat/MMM-iFrameReload
module: 'MMM-iFrameReload2',
position: 'top_left', // This can be any of the regions.
classes: "Welcome SEITE_EINS",
//header: 'Rezept des Tages',
config: {
// See 'Configuration options' for more information.
url: http://test/Anzeigetafeln/Logo.html,
width: "1900px", // Optional. Default: 100%
height: "1080px", //Optional. Default: 100px
refreshInterval: 3600
}
},
{
// https://github.com/MMRIZE/MMM-Scenes2
module: "MMM-Scenes2",
position: "bottom_bar",
config: {
life: 1000 * 10,
activeIndicator: ' ',
inactiveIndicator: ' ',
scenario: [
{ // First scene definition
exit: ["SEITE_ZWEI"],
enter: ["SEITE_EINS"],
life: 1000 * 10,
},
{ // Second scene definition
exit: ["SEITE_EINS"],
enter: ["SEITE_ZWEI"],
life: 1000 * 45,
},
],
}
},
{
// https://github.com/Jopyth/MMM-Remote-Control
module: 'MMM-Remote-Control',
// uncomment the following line to show the URL of the remote control on the mirror
// position: 'bottom_left',
// you can hide this module afterwards from the remote control itself
config: {
customCommand: {
//monitorStatusCommand: 'rm -rf .config/Electron',
monitorStatusCommand: '~pi/restartBrowsercache.sh'
}, // Optional, See "Using Custom Commands" below
showModuleApiMenu: false, // Optional, Enable the Module Controls menu
secureEndpoints: true, // Optional, See API/README.md
// uncomment any of the lines below if you're gonna use it
customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below
// apiKey: "", // Optional, See API/README.md for details
// classes: {} // Optional, See "Custom Classes" below
}
},
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") { module.exports = config; }
I insert the line in my mm.sh:
export ELECTRON_DISABLE_GPU=1
pm2 Log:
[1965:0521/220109.925300:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
[1965:0521/220109.925398:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
uname -a
Linux raspberryanzeige1 6.1.0-rpi8-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64 GNU/Linux
file /bin/bash
/bin/bash: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=198ac6b0cc01bf774c5746a36a6fd31dead9bda5, for GNU/Linux 3.7.0, stripped
Does anyone have any idea what I can do? Thanks
@MMRIZE Thank you very much, I have overlooked it. You make my day :-)