@plainbroke which environment are you using?
Read the statement by Michael Teeuw here.
Posts
-
RE: [HOW_TO] MagicMirror as Desktop Wallpaper (all platform : updated)
-
RE: MMM-Scenes2
@Babene1
It’s been updated, but I’m not expecting much. Because timers are rarely used in my code(only two), I don’t think that was the cause of the problem. Anyway, I fixed it so that when the timer is used, it is turned off as soon as possible. -
RE: MMM-Scenes2
@Babene1
To disable animation, you can setanimation: null
indefaultEnter
definition or each scene role definition./* example for default behaviour */ defaultEnter: { animation: null, duration: 1000, gap: 0, }, /* example for each scene definition */ scenario: [ { name: "scene1", enter: { role: "role1", animation: null, ...
I’m suspecting Chrome’s memory leaks. These factors may cause memory leaks.
- improper handling timer
- CSS transition/Animation
I’ll modify some code to confirm to clear out garbage timer. Wait a little.
By the way, can you test the default clock module instead of MMM-iFrame Things? (To make things clearer)
-
RE: MMM-Scenes2
@Babene1
I researched about that error message.
The error messages seemed not to be the module or logic issue but the GPU/System issue. (Usually in -nix machines about graphic drivers.)However, I’m not sure the error message is related to your symptom actually. There is a chance these two things could be independent.
What I suggest for the test is;
- use simpler animation effects or no animation.
- give a longer life for the scene.
- Remove all other 3rd party modules, except default modules (clock, …)
If it helps, we can progress from it anyhow.
But if not; I think I rarely have things to do. -
RE: MMM-CalendarExt2 not working
Anyway, I stopped to maintain CX2.
You can use MMM-CalendarExt3Agenda instead. It could have similar looks, though not identical. -
RE: MMM-CalendarExt2 not working
@veny
I tested but nothing special wrong.
This is my config for my Google Calendar ics.
{ module: 'MMM-CalendarExt2', config: { calendars : [ { url: "https://calendar.google.com/calendar/ical/4b9c...6390%40group.calendar.google.com/private-e481c...c7cc/basic.ics", }, ], scenes: [ { name: "DEFAULT", }, ], views: [ { mode: "daily", name: "DAILY_VIEW", } ], }, },
I used
Secret address URL for ical format
, you looks also use that URL too.[2024-05-18 13:27:05.414] [LOG] [CALEXT2] calendar:0 >> Scanned: 1, Selected: 1
Your log says the parsing completed successfully for your ics. It may have 1 event.
However, I have no idea why the module doesn’t appear. Maybe other module may interrupt something.
To make things simple, you can test a new config without other modules exceptMMM-CalendarExt2
andclock
module. You can focus the issue only. -
RE: MMM-CalendarExt2 not working
@veny
That error log doesn’t help. No idea. -
RE: [HOW_TO] MagicMirror as Desktop Wallpaper (all platform : updated)
Just for confirmation about still-working. (2024-05-16)
Both
electronOptions
andelectronSwitches
to be added must reside within theconfig
variable inconfig.js
. I didn’t mention it because it seemed obvious. Surprisingly, it seems to be misunderstood as adding this to the end of the file. -
RE: Newbie Trying to Get Started
I tested on my Mac, it works still.(MM 2.27) For linux, I believe it has to work also. (Because it is one of the default features of the Electron.)
CONFIG.JS
/* config.js */ ... timeFormat: 24, units: "metric", /* Insert here */ electronOptions: { fullscreen: false, backgroundColor: '#00000000', titleBarStyle: 'none', frame: false, type: 'desktop', hasShadow: false, transparent: true, resizable: false, }, electronSwitches: ["enable-transparent-visuals"], modules: [ { module: "clock", position: "top_left" }, ...
CUSTOM.CSS
/* custom.css */ :root { --color-text: #ddd; --color-text-dimmed: #bbb; --color-text-bright: #fff; --color-background: rgba(0, 0, 0, 0); /* make fonts color brighter */ --font-size: 2vh; --font-size-small: 0.75rem; --gap-body-top: 20px; --gap-body-right: 120px; --gap-body-bottom: 20px; --gap-body-left: 40px; /* adjust margin for your screen */ } * { text-shadow: 2px 2px 5px #000000; /* make text more readable on the background image */ }
-
RE: Newbie Trying to Get Started
@LoneSoldier
On which lines did you put the additional configurations? Last line? Show me full config.js.