• 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
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Screen/Text Size

Scheduled Pinned Locked Moved Unsolved Troubleshooting
17 Posts 2 Posters 2.8k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    sdetweil @mrdger
    last edited by May 17, 2022, 2:23 PM

    @mrdger what OS is this? on what hardware? PI? is that view on the screen attached to hardware, or over VNC?

    can u do, from the commandline while MM is running

    ps -ef | grep -i magicmirror
    

    you should get a list of things…

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    M 1 Reply Last reply May 17, 2022, 2:42 PM Reply Quote 0
    • M Offline
      mrdger @sdetweil
      last edited by May 17, 2022, 2:42 PM

      @sdetweil The screen is attached to the hardware and is intended to be the screen I will be using for the project. It’s a Pi 4

      2022-05-17-104051_1920x1080_scrot.png 2022-05-17-103832_1920x1080_scrot.png

      S 1 Reply Last reply May 17, 2022, 2:46 PM Reply Quote 0
      • S Offline
        sdetweil @mrdger
        last edited by May 17, 2022, 2:46 PM

        @mrdger ok, stop MagicMirror again

        and then do

        rm -rf ~/.config/Electron
        

        then restart mm

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        M 1 Reply Last reply May 17, 2022, 2:53 PM Reply Quote 0
        • M Offline
          mrdger @sdetweil
          last edited by May 17, 2022, 2:53 PM

          @sdetweil 2022-05-17-105158_1920x1080_scrot.png

          Followed your instructions again. This came up. The repeated forecast doesn’t seem to change, but the two bigger texts were popping up and changing.

          S 1 Reply Last reply May 17, 2022, 2:57 PM Reply Quote 0
          • S Offline
            sdetweil @mrdger
            last edited by May 17, 2022, 2:57 PM

            @mrdger weird…

            did u get any output from the command? should not have

            I assume you had a good desktop after boot… with the temples…

            how did you install MM? manual or scripted?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply May 17, 2022, 2:59 PM Reply Quote 0
            • M Offline
              mrdger @sdetweil
              last edited by May 17, 2022, 2:59 PM

              @sdetweil Correct, didn’t get any output. I did it manually, maybe try reinstalling?

              S 1 Reply Last reply May 17, 2022, 3:00 PM Reply Quote 0
              • S Offline
                sdetweil @mrdger
                last edited by May 17, 2022, 3:00 PM

                @mrdger rename the MM folder

                cd  ~
                mv MagicMirror MagicMirror.old
                

                then run my install script , see
                https://github.com/sdetweil/MagicMirror_scripts

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply May 17, 2022, 4:32 PM Reply Quote 0
                • M Offline
                  mrdger @sdetweil
                  last edited by May 17, 2022, 4:32 PM

                  @sdetweil

                  Completed the steps you outlined. Moved the directory and then ran the install script your provided. Looks like a similar problem is still popping up. The 2nd image is fullscreen screenshot with the 1st showing an example of how it changes if the size of the window is changed.

                  2022-05-17-122733_1920x1080_scrot.png 2022-05-17-122609_1920x1080_scrot.png

                  Here’s the log from the installers folder
                  pm2 setup starting - Tue May 17 12:21:58 EDT 2022
                  using parameter bash
                  system is Linux raspberrypi 5.4.83-v7l+ #1379 SMP Mon Dec 14 13:11:54 GMT 2020 armv7l GNU/Linux
                  the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
                  node version v16.5.0
                  force installing latest npm version via npm
                  npm version 8.10.0
                  pm2 installed
                  get the pm2 platform specific startup command
                  startup command = sudo env PATH=$PATH:/usr/local/bin:/bin /usr/local/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi
                  [PM2] Init System found: systemd
                  Platform systemd
                  Template
                  [Unit]
                  Description=PM2 process manager
                  Documentation=https://pm2.keymetrics.io/
                  After=network.target

                  [Service]
                  Type=forking
                  User=pi
                  LimitNOFILE=infinity
                  LimitNPROC=infinity
                  LimitCORE=infinity
                  Environment=PATH=$PATH:/usr/local/bin:/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
                  Environment=PM2_HOME=/home/pi/.pm2
                  PIDFile=/home/pi/.pm2/pm2.pid
                  Restart=on-failure

                  ExecStart=/usr/local/lib/node_modules/pm2/bin/pm2 resurrect
                  ExecReload=/usr/local/lib/node_modules/pm2/bin/pm2 reload all
                  ExecStop=/usr/local/lib/node_modules/pm2/bin/pm2 kill

                  [Install]
                  WantedBy=multi-user.target

                  Target path
                  /etc/systemd/system/pm2-pi.service
                  Command list
                  [ ‘systemctl enable pm2-pi’ ]
                  [PM2] Writing init configuration in /etc/systemd/system/pm2-pi.service
                  [PM2] Making script booting at startup…

                  Executing: systemctl enable pm2-pi…

                  [PM2] [v] Command successfully executed.
                  ±--------------------------------------+
                  [PM2] Freeze a process list on reboot via:
                  $ pm2 save

                  [PM2] Remove init script via:
                  $ pm2 unstartup systemd
                  pm2 startup command done
                  configure the pm2 config file for MagicMirror
                  start MagicMirror via pm2 now
                  save MagicMirror pm2 config now
                  pm2 setup completed - Tue May 17 12:22:06 EDT 2022

                  S 1 Reply Last reply May 17, 2022, 4:38 PM Reply Quote 0
                  • S Offline
                    sdetweil @mrdger
                    last edited by May 17, 2022, 4:38 PM

                    @mrdger strange…

                    ok, my guess is a bad cable from pi to display

                    I had seen some flakiness on DVI-D display with an hdmi->DVI adapter…
                    a different adapter had no trouble with the same cable

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    S 1 Reply Last reply May 17, 2022, 4:41 PM Reply Quote 0
                    • S Offline
                      sdetweil @sdetweil
                      last edited by May 17, 2022, 4:41 PM

                      @mrdger did you setup for autostart using the manual procedure?

                      pm2 replaces that… so you should dlete that setup if you did it… (as it looks like with 2 autostarts)

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      M 1 Reply Last reply May 17, 2022, 4:47 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        8/17
                        Last post
                      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