also
git checkout filename
will restore a file to it’s repo contents.
also
git checkout filename
will restore a file to it’s repo contents.
@plainbroke I’ve updated my fork of MMM-pages with the same function .
https://github.com/sdetweil/MMM-pages
only they are called pages instead of slides
pageTimeout: [ {pageNumber:x, timeout:nnnnn},....]
@Jarhead96097 please never do audit… causes more problems than it fixes
@ewingfox please always code block for code, config and logs
paste the text into the message editor window, blank line above and below
select the text just pasted
hit the </> button on the message editor toolbar
I fixed prior
@mumblebaj and we have found npm install parms to turn off the warning coming in next release, and already in my scripts.
@ewingfox in this open source world the way to approach this is to submit your update as a pull request to the original module
Then the author doesn’t have to spend time inventing the changes, only reviewing your work
So, on GitHub
Fork the module, now you have a linked copy
git clone your copy, same as you did the original (only one in a place at a time)
Update your copy
git add your changes
git commit your changes to your local copy of the repo
git push. To upload your copy to GitHub, updating your fork
Use GitHub to submit/contribute your changes to the original module,
@dude31222 our browser code, and many modules, require JavaScript level ES6.
es6 was approved in 2015.
see
https://caniuse.com/ciu/comparison
select just the js API checkbox
@trividar mmm-voice/hello Lucy use pocketsphinx for voice reco. It is supported on osx and Ubuntu.
And those modules support ‘go to sleep’. Which can launch a command to turn off hdmi, or whatever.
My MMM-SleepWake does motion detection via camera and can do the wakeup when they do sleep
@Peter ok, two things…
you ALSO have to add
weatherEndpoint: "/onecall",
to each config, as this is required for the 3.0 api
this makes it work with my 3.0 apikey

second,
in the forum, when you post config, or log info, please use the code block wrapper… else the quotes get changed to workd processing type which JS doesn’t understand
to do
paste the text into the editor, blank line above and below
select the text just pasted
hit the </> button above the editor
@Camthalion cool… I will add this
do NOT change our files… every config change can be done thus config.js and custom.css
all your changes to main.css can be done in custom.css
css is a stack , searched from the top down
custom.css on top
module provided css
main.css
first found wins.
so you could put all you main.css changes in custom.css
and some you could change other variables (border size etc) as we have added those things in the last couple releases… (so you don’t have to make such drastic changes)
but very cool
thanks for the repo
@Klinge yes it says we need node 20.18.1 or above
https://forum.magicmirror.builders/topic/19271/version-2-30-0-requires-updated-nodejs-warning-for-pi0w-installations
anyhow quickest way
install tool to allow changing node versions
sudo npm install n -g
sudo n 20.18.1
now do the MagicMirror install
cd ~/MagicMirror
npm run install-mm
@Tippon yes, you register a URL that targets the machine thru the tunnel
and then u can target specific systems and ports
one of those is the guacamole app, in a container
then guacamole will let you create sub apps and different access points to the systems
so my ha.xxx.yyy talks directly to home assistant
but my rm.xxx.yyy talks to guacamole, which has ‘apps’ defined

after I logon to guac, I get a list of my ‘apps’… these present in a web page on the system I am on , so ssh in a web page… now… some things, don’t work the same, nano doesn’t display. but vnc works…
@unfriendlydevice I updated the installer script for the condition you found.
I would suggest reflashing the sd card before starting
and there are lots of cool docker containers to use
dozzle will tell you about the status of all the containers

uptime-kuma can let you check and report on the status of different ‘apps’ web urls, connections… and send alerts

watchtower will watch all the versions of the docker containers and auto upgrade them as they change…
my son and I have realized that if we lose our home network, there is no way for all this to tell us… so we are going to add uptime-kuma monitors of things running in the others house and then alert them if there is a lost connection.
all in one… there is only ONE eventTransformer, it has to do ALL the work for ALL events
I used else if here… if it matched the first, there is no reason to check again
eventTransformer: (ev) => {
if (ev.title.search("Geburtstag") > -1) {ev.color= "#ff00ff"; }
else if (ev.title.search("Arzt") > -1) {ev.color= "#ff0000"; };
return ev;
},
@Niggich very cool… if you hadn’t seen it
you can change the indicator circles to actual buttons
https://forum.magicmirror.builders/topic/18876/mmm-carousel-pagination-icons/8?_=1735070775315
@swvalenti Wrong double quote characters. Type it from the keyboard, not cut/paste
@0m4r the sample is missing the config:{} section
{
disabled: false,
module: "MMM-euro2024",
position: "bottom_center",
defaults: {
updateInterval: 60 * 1000, // one minute
},
token: [YOUR_TOKEN]
}
should be
{
disabled: false,
module: "MMM-euro2024",
position: "bottom_center",
config:{
updateInterval: 60 * 1000, // one minute
token: [YOUR_TOKEN]
}
}
your module passes this.config to the node_helper, but there is no config block, so only {} gets passed
this.sendSocketNotification(this.name + 'CONFIG', this.config);