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 92
    • Posts 21,151
    • Groups 1

    Posts

    Recent Best Controversial
    • Just FYI, we created templates for issues on the MM repo and doc sites

      hopefully this will help us all work on quicker responsiveness and shorter

      get this
      what did you do last

      cycles…

      but there is a side effect.,… the automated build process failed (on master, which itself hasn’t changed)… oops… and our banner shows the build failed…
      on code and doc sites…

      just to let you know, we know and are working on it.

      conversation about the templates here

      posted in General Discussion
      S
      sdetweil
    • 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
    • RE: Magic Mirror with touchscreen Display/Monitor

      @core use an ir touch frame over the glass.

      posted in Hardware
      S
      sdetweil
    • RE: Made a birthday module

      @cgillinger

      see the

      suspend() and resume() functions you can add to be notified when being hidden (suspend) and shown (resume)

      posted in Entertainment
      S
      sdetweil
    • RE: Two Instance of MagicMirror

      @KalboDave
      pm2 stop 0
      pm2 delete 0

      posted in Troubleshooting
      S
      sdetweil
    • RE: Raspberry Pi Zero W for Magic Mirror

      @Arno123 it’ll run just fine

      flash the SD card, boot, skip updates, and run my install script. it will do everything needed.

      see
      https://github.com/sdetweil/MagicMirror_scripts

      as part of the install it will increase the swap space.

      posted in Hardware
      S
      sdetweil
    • RE: MMM-CalendarExt3 Resize module

      @Xsoldier2000 the symbols, if defined in the config.js and not in a customEvents list should have been broadcast to Ext3

      Size, maybe you want to start from bottom bar

      See the second link in my signature below for using the developers windows to discover and test css

      Width and height are the two primary size items
      And he has lots of styles to adjust cell size, text size…
      Read his doc

      posted in Custom CSS
      S
      sdetweil
    • RE: Something went wrong after updating MM

      @DæmonEyes and you have to do

      npm install
      

      In the MagicMirror folder too

      posted in Troubleshooting
      S
      sdetweil
    • RE: Raspberry Pi Zero W for Magic Mirror

      @capedbuffethero really? I’ll check on that. didn’t used to be.

      posted in Hardware
      S
      sdetweil
    • RE: MMM-EARTH-Live & MMM-ISS-Live

      starting with one of the newer electron builds, (and chrome, and mozilla) they have implemented a new ’ no autoplay’ policy.
      they require a user to click on the web page somewhere to enable autoplay…

      there is a workaround

      edit mm/js/electron.js
      and change the code like this

      function createWindow() {
          app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required');  //< -------- added
          var electronOptionsDefaults = {
      

      then restart MM… autoplay will work now

      posted in Education
      S
      sdetweil
    • RE: Can't install; trouble with nodejs and npm

      @bm erase the MagicMirror folder and use my install script from here
      https://github.com/sdetweil/MagicMirror_scripts

      Node and npm are way downlevel.

      npm ERR! node -v v0.10.29
      npm ERR! npm -v 1.4.21
      

      current node is 10.17 or higher
      current npm is 6.x

      The automated install script fixes that

      posted in Troubleshooting
      S
      sdetweil
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 85
    • 86
    • 6 / 86