• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. lif
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
L
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 3
  • Posts 34
  • Groups 0

lif

@lif

2
Reputation
2
Profile views
34
Posts
0
Followers
0
Following
Joined Apr 18, 2021, 2:46 PM
Last Online Apr 3, 2025, 7:59 PM

lif Unfollow Follow

Best posts made by lif

  • RE: How can I turn the 'count down' display off.

    To answer my own question, I commented out the urgency: line

    posted in Troubleshooting
    L
    lif
    Apr 19, 2021, 4:48 PM
  • RE: Bugsounet and MMM-Pir

    @sdetweil

    I’ve reinstalled MagicMirror with your script, it worked wonderfully, than you very much for doing this.

    Best regards from France.

    posted in General Discussion
    L
    lif
    Mar 25, 2025, 10:37 PM

Latest posts made by lif

  • RE: Bugsounet and MMM-Pir

    @FrostByte
    I don’t know if it helps but the only way I could get my old DVI input monitor to turn on & off was with Wayland enabled and the commands

    DISPLAY=:0.0 xrandr --output HDMI-1 --auto --rotate left
    and
    DISPLAY=:0.0 xrandr --output HDMI-1 --off

    Nick

    posted in General Discussion
    L
    lif
    Apr 2, 2025, 3:32 PM
  • RE: "Invalid Date" appears in Weather module. MM v2.29.0

    @sdetweil said in "Invalid Date" appears in Weather module. MM v2.29.0:

    @lif said in "Invalid Date" appears in Weather module. MM v2.29.0:

    > I have tried adding the apiVersion: '2.5'
    > weatherEndpoint: "/weather"
    

    each of those lines had trailing commas, right?

    Not that line but that wasn’t the problem :-)

    Thanks for the link showing how to subscribe to OpenWeathermap which solved the problem.

    posted in Troubleshooting
    L
    lif
    Mar 26, 2025, 10:13 AM
  • RE: Bugsounet and MMM-Pir

    @sdetweil

    I’ve reinstalled MagicMirror with your script, it worked wonderfully, than you very much for doing this.

    Best regards from France.

    posted in General Discussion
    L
    lif
    Mar 25, 2025, 10:37 PM
  • RE: "Invalid Date" appears in Weather module. MM v2.29.0

    I have rebuilt my installation and used backup .js files.

    Everything has worked apart from the weather module.

    I am getting the ‘Invalid date’ message a temperature of NaN.

    I have tried adding the apiVersion: ‘2.5’
    weatherEndpoint: “/weather”

    Lines into the config.js file but then MagicMirror doesn’t load.

    the section of config.sys is:

    {
    			module: "weather",
    			position: "top_right",
    			config: {
    				weatherProvider: "openweathermap",
    				type: "current",
    				location: "Machat",
    				locationID: "2983291", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
    
    
    				apiKey: "cxxxxxxxxxxxx57f81f9d82849a2fc21a"
    			}
    		},
    		{
    			module: "weather",
    			position: "top_right",
    			header: "Weather Forecast",
    			config: {
    				weatherProvider: "openweathermap",
    				type: "forecast",
    				location: "Machat",
    				locationID: "2983291", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
    
    
    				apiKey: "cxxxxxxx57f81f9d82849a2fc21a"
    			}
    		},
    
    posted in Troubleshooting
    L
    lif
    Mar 25, 2025, 10:31 PM
  • RE: Bugsounet and MMM-Pir

    @sdetweil said in Bugsounet and MMM-Pir:

    @lif yeh, my upgrade script does the nodejs upgrade too…

    use the n command

    sudo npm install n -g 
    sudo n xxx
    where xxx is the version you want to use
    

    Thanks, added to my install notes

    posted in General Discussion
    L
    lif
    Mar 25, 2025, 2:18 PM
  • RE: Bugsounet and MMM-Pir

    @sdetweil said in Bugsounet and MMM-Pir:

    how backup? use my backup/restore

    yes that is broken too, as the authors repos no longer exist and binary backup may not work on different OS level/nodejs level

    IMG file on my (new) linux desktop

    posted in General Discussion
    L
    lif
    Mar 25, 2025, 2:14 PM
  • RE: Bugsounet and MMM-Pir

    @sdetweil said in Bugsounet and MMM-Pir:

    @lif can you talk about this python after …

    MagicMirror upgrades? if so , did you use my upgrade script?

    this highlights a problem. some modules need a refresh install when nodejs and MagicMirror change
    so the upgrade script does that. but that wipes the node_modules folder for the module. and the dependencies are also not available anymore.

    so, if i DO try the npm install it breaks, if i dont try the npm install it might break. fun times.
    i will add a check for the authors url and skip the install action

    I was trying to upgrade Nodejs and if failed with lots of errors.

    my mm and the whole system had got messy, so I’m using this as an opportunity to clean things up (it didn’t help insofar as a restore from the most recent backup didn’t work.

    posted in General Discussion
    L
    lif
    Mar 25, 2025, 1:39 PM
  • RE: Bugsounet and MMM-Pir

    Thank you everyone, I’m sorry for opening this can of worms.

    I’ve now got a Python script that runs at boot and does the job after destroying my MM installation trying to apply upgrades.

    posted in General Discussion
    L
    lif
    Mar 25, 2025, 7:10 AM
  • RE: Bugsounet and MMM-Pir

    @sdetweil said in Bugsounet and MMM-Pir:

    @lif are there any errors listed in the MM startup messages??

    if using pm2 to auto start

    pm2 logs --lines =xxx

    xxx is number of most recent lines to display, default 15,
    usually need 100 or more for full message list

    Thanks for all your help
    I think this line might be relevant
    0|mm | [2025-03-24 16:54:30.994] [WARN] No /home/pi/MagicMirror/js/…/modules/MMM-Pir/MMM-Pir.js found for module: MMM-Pir.

    It’s correct, there isn’t a MMM-Pir.js file in the MMM-Pir directory.

    posted in General Discussion
    L
    lif
    Mar 24, 2025, 4:02 PM
  • RE: Bugsounet and MMM-Pir

    @sdetweil said in Bugsounet and MMM-Pir:

    @lif and if you change to mode 1?? which matches your python lib test?

    No difference.

    I have added a header: “PIR”, line before the config and that is not showing either.

    posted in General Discussion
    L
    lif
    Mar 24, 2025, 3:43 PM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy