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

    Posts

    Recent Best Controversial
    • RE: Black Screen: "cannot find module 'node_helper'"

      @dankerthrone said in Black Screen: "cannot find module 'node_helper'":

      Cannot find module ‘node_helper’

      u did an npm install in a folder that had no package.json file I think

      workaround do

      cd ~/MagicMiror
      git checkout modules/node_modules/node_helper/index.js
      
      posted in Troubleshooting
      S
      sdetweil
    • RE: MMM-EnvCanada stopped working ...

      @ray_mtl there is an issue open. looks like envcanada has changed their api significantly

      posted in Troubleshooting
      S
      sdetweil
    • RE: Question about backup script

      @nowayto restore, option 2 . restore will reinstall all the modules and copy any created files saved with them
      (What’s the point of having a restore tool if it doesn’t?)
      And restore will copy the GitHub repo down for you (part 1 of your option 2)

      now, on the github

      its the same as ‘copy the MM_backup folder someplace’

      backup also creates versions

      backup today and next week, and restore either one
      or one from last year

      github is free
      make a private repo

      posted in General Discussion
      S
      sdetweil
    • creating a logger to capture module console.log/Log.log output

      I have been fighting some crashes for a while, but using the dev window doesn’t help. it dies when Electron dies…

      I found this logger, and it has helped a LOT…

      thought others would be interested…

      you put the javascript in a file (I used js/logger.js)
      and then add the two lines to the index.html file (change the path/name of the logger.js file to match what you do)

      https://stackoverflow.com/questions/55032227/tips-on-solving-devtools-was-disconnected-from-the-page-and-electron-helper-di/56111557#56111557

      the log file will be in ~/.config/Electron/logs
      (note the leading dot on config)

      posted in Troubleshooting
      S
      sdetweil
    • RE: Does MagicMirror work on Amlogic boards like the Odroid C2 and Le Potato?

      i run MM on an ODroid Xu4… I think C2 would be ok.
      le Potato has an ubuntu image 18.04 at least…

      so its seems reasonable… some supporting modules (speech reco mostly) might be lagging

      posted in Hardware
      S
      sdetweil
    • new Raspi OS release

      there has been an updated version of raspi os released this week

      there appear to be a bunch of changes to screen mgmt

      https://www.raspberrypi.com/news/a-new-raspberry-pi-os-release/

      posted in General Discussion
      S
      sdetweil
    • RE: Can someone do the coding for me? $$

      @Hellonoonan I am willing to discuss. send me a better description. My email is my user ID here on Gmail.

      We can also chat on discord.

      posted in Troubleshooting
      S
      sdetweil
    • RE: Video Playback Issue

      @jimbydude as I mentioned above you can configure it if, you get one file that was removed in 2.11

      cd ~/MagicMirror
      curl -sl https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/run-start.sh >run-start.sh
      chmod +x run-start.sh
      

      edit package.json and replace the start stmt with this

      "start", "./run-start.sh",
      

      then edit config.js and set
      serverOnly:'local",

      this will launch the run-start.sh when u do npm start or pm2 start x
      the script will check the setting of the serverOnly parm and if set to ‘local’,
      will launch mm in server only and then launch chrome over it. from the outside you cannot tell the difference… (u can for video playback)

      from config.js

      // serverOnly:  true/false/"local" ,
      			     //  local for armv6l processors, default 
      			     //   starts serveronly and then starts chrome browser
      			     // false, default for all  NON-armv6l devices
      			     // true, force serveronly mode, be```cause you want to.. no UI on this device
      posted in Hardware
      S
      sdetweil
    • RE: MMM-MyVideoPlayer

      @mykle1 I am also using your MMM-BMW-DS module

      posted in Entertainment
      S
      sdetweil
    • RE: Can't get a module to update

      @valid8r you only need to update the module… the mm update does NOT update any non-default modules…

      go to the module folder

      cd~/MagicMirror/modules/MMM-Holidaylights
      git pull
      

      if it has a package.json file then in the module folder do

      npm install
      
      posted in Troubleshooting
      S
      sdetweil
    • 1 / 1