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

    Posts

    Recent Best Controversial
    • RE: Magic mirror does not start automatically when booting

      @sil3ntstorm need all of the command everything that it outputs, you didn’t copy about 30 characters

      then

      pm2 start ~/MagicMirror/installers/pm2_MagicMirror.json
      pm2 save
      
      posted in Troubleshooting
      S
      sdetweil
    • RE: Update to v2.25.0

      @MZ-BER for MMM-NewsApi, the upgrade should have fixed that for you. (it’s node-fetch)

      but, in addition, he has a module upgrade that fixes it natively without the extra npm install…

      posted in Troubleshooting
      S
      sdetweil
    • RE: Modifying the Config File

      @jimb open a terminal window, ctrl-alt-t,on the desktop

      type

      ip addr
      

      press enter

      you should get both the ipv4 and ipv6 addresses of the pi

      then type

      hostname
      

      enter

      should give you the pi hostname on the network, you should be able to use this in the ssh command

      ssh  {username}@{hostname}
      

      {x} means substitute the value of the thing x for the whole string

      posted in Troubleshooting
      S
      sdetweil
    • RE: Modifying the Config File

      @jimb ok the address was probably raspberrypi.local

      you need to disable ipv6 on the pi, in the network settings of the pi config under the desktop menu
      no reason to have ipv6 in a home environment

      posted in Troubleshooting
      S
      sdetweil
    • RE: How can I get MM to open on my 2nd monitor?

      @Kelemvor in the same place in config.js as address:

      add this line

      electronOptions:{ x:nnn, width:mmm},
      

      where nnn is the width of the laptop display in pixels and mmm is the width of the other display

      there are other options too top and left

      the system doesn’t see them as separate displays just all one big space.

      posted in Troubleshooting
      S
      sdetweil
    • RE: mmm newsapi help

      @mumblebaj and if multiple instances same problem

      posted in Troubleshooting
      S
      sdetweil
    • RE: Magic Mirror doesn't work after a boot

      @eightbit yes… why it didn’t install, I have no clue…
      but it also showed the chromium problem which I hadn’t seen before…

      to restore the original package.json (with the correct start line) do

      cd ~/MagicMirror
      git checkout package.json
      

      glad we could fix it !

      posted in Troubleshooting
      S
      sdetweil
    • RE: Magic Mirror doesn't work after a boot

      @eightbit i couldn’t approve the message, system though it was spam

      those are noise we can’t hide…

      try npm start again

      posted in Troubleshooting
      S
      sdetweil
    • RE: Magic Mirror doesn't work after a boot

      @eightbit ok…

      cd ~/MagicMirror
      npm install electron@26.2.4
      

      and try again, manually w
      npm start

      posted in Troubleshooting
      S
      sdetweil
    • RE: Magic Mirror doesn't work after a boot

      @eightbit can u show me the “start”: from package.json

      posted in Troubleshooting
      S
      sdetweil
    • RE: Magic Mirror doesn't work after a boot

      @eightbit

      delete one of them and replace the other with

      		"start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
      

      also do uname -a

      posted in Troubleshooting
      S
      sdetweil
    • RE: Magic Mirror doesn't work after a boot

      @eightbit you didn’t need to delete all the rest of the scripts

      posted in Troubleshooting
      S
      sdetweil
    • RE: MMM-Face-Reco-DNN

      @danningson you should see messages where you start MM

      I STRONGLY suggest NOT using pm2 during modules dev and testing
      pm2 stop all

      cd ~/MagicMirror
      npm start >somefile.txt 2>&1
      

      then all the messages will be in somefile.txt

      ctrl-c in terminal window or ctrl-q on MM web page to stop

      here is a message in the node_helper that should be triggered
      console.log(‘[’ + self.name + '] ’ + ‘Users ’ + message.login.names.join(’ - ‘) + ’ logged in.’);

      there is also a camera frame event but no logging, you could add a message there

      all the CV work is done in python in the background, and its outputs messages to the handlers in node_helper

      posted in Troubleshooting
      S
      sdetweil
    • RE: MM don't start after update

      @MajorC download the update to MMM-DWD-WarnWeather

      cd ~/MagicMirror/modules/MMM-DWD-WarnWeather
      git pull
      npm install
      

      then restart magic mirror

      posted in Troubleshooting
      S
      sdetweil
    • RE: Booting up the Mirrow for the first time

      @neastman You must start with a full version of the OS that has the graphical desktop.
      MagicMirror uses a browser to display and all browsers display only in graphics mode

      if you had used my automated script it would have aborted warning you of text mode

      Screenshot_20231224_083222_Chrome.jpg

      posted in Troubleshooting
      S
      sdetweil
    • RE: Rotate screen on bookworm RPI4

      @rama3124 from the desktop, menu, upper left,
      preferences, raspi configuration, screen, rotate

      posted in Troubleshooting
      S
      sdetweil
    • RE: Bunch of errors displayed when I launch MM. Are they important?

      @Kelemvor no they are system config caused errors

      you can turn off use of the GPU so you won’t get them anymore

      in the script that you use to start mm, add

      export ELECTRON_DISABLE_GPU=1
      

      if you use my install script and use pm2 to autostart, that script is

      ~/MagicMirror/installers/mm.sh
      

      in the next release, next week, we will disable GPU by default, and add a new env variable to enable it

      export ELECTRON_ENABLE_GPU=1
      
      posted in Troubleshooting
      S
      sdetweil
    • RE: MM starts but doesn't show up

      @Benalze

      cd ~/MagicMirror
      sudo rm -rf node_modules
      npm run install-mm
      
      posted in Troubleshooting
      S
      sdetweil
    • RE: MM Starts but no screen after upgrade

      @geekhouri yep, Screenshot_20240108_054516_Chrome.jpg

      we’ve been cleaning up the mm core tubing for 2 years now. this module was using one of the libraries we supplied, but didn’t declare it.

      if you had used my upgrade script I would have handled this problem for you

      see

      https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

      in the module folder do

      npm install request

      posted in Troubleshooting
      S
      sdetweil
    • RE: MM Starts but no screen after upgrade

      @geekhouri nothing we/you can do. a library uses a library which uses a library which was upgraded. but we can’t make anyone upgrade, and mm is a special env. it’s not a public website doing banking. it’s just showing some info pulled into. your house .

      so, all you can go is ignore it. oh, and don’t do audit fix. it forces a bunch of changes, some of which break existing code, with no fix available.

      posted in Troubleshooting
      S
      sdetweil
    • 1
    • 2
    • 77
    • 78
    • 79
    • 80
    • 81
    • 86
    • 87
    • 79 / 87