• 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.

Initial Setup Q's and Some Doc Feedback

Scheduled Pinned Locked Moved Unsolved Troubleshooting
21 Posts 3 Posters 6.2k Views 3 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 Away
    sdetweil @ember1205
    last edited by Dec 20, 2019, 5:23 PM

    @ember1205 yes, the vulnerability warnings are troublesome… they usually cannot be all resolved, and some modules fixes force changes that break applications using them. i prefer NOT to attempt to resolve the problems…

    screensaver…

    can u show/send me the ~/install.log

    my email is the same userid as here on gmail

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • E Offline
      ember1205
      last edited by Dec 20, 2019, 10:07 PM

      install starting  - Fri Dec 20 08:32:44 EST 2019
      installing on armv7l processor system
      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
      Updating packages ...
      Hit:1 http://archive.raspberrypi.org/debian buster InRelease Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:3 http://raspbian.raspberrypi.org/raspbian buste
      r/main armhf Packages [13.0 MB] Fetched 13.0 MB in 15s (852 kB/s) Reading package lists...
      apt-get update  completed ok
      apt upgrade result =rc=0 Reading package lists...
      Building dependency tree...
      Reading state information...
      Calculating upgrade...
      The following package was automatically installed and is no longer required:
        point-rpi
      Use 'sudo apt autoremove' to remove it.
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      Installing helper tools ...
      Check current Node installation ...
      Node currently installed. Checking version number.
      Minimum Node version: v10.1.0
      Installed Node version: v10.15.2
      No Node.js upgrade necessary.
      Check current NPM installation ...
      NPM currently installed. Checking version number.
      Minimum npm version: V6.0.0
      Installed npm version: V5.8.0
      npm should be upgraded.
      Installing npm ...
      Reading package lists...
      Building dependency tree...
      Reading state information...
      npm is already the newest version (5.8.0+ds6-4).
      npm set to manually installed.
      The following package was automatically installed and is no longer required:
        point-rpi
      Use 'sudo apt autoremove' to remove it.
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      upgrading npm to latest
      /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
      /usr/local/bin/npx -> /usr/local/lib/node_modules/npm/bin/npx-cli.js
      + npm@6.13.4
      added 430 packages from 854 contributors in 42.042s
      npm installation Done! version=V6.13.4
      Cloning MagicMirror ...
      Cloning MagicMirror Done!
      Installing dependencies ...
      Dependencies installation Done!
      setting up initial config.js
      Check plymouth installation ...
      Splashscreen: Checking themes directory.
      Splashscreen: Create theme directory if not exists.
      Splashscreen: Changed theme to MagicMirror successfully.
      install and setup pm2
      pm2 not installed, installing
      pm2 install result /usr/local/bin/pm2 -> /usr/local/lib/node_modules/pm2/bin/pm2 /usr/local/bin/pm2-dev -> /usr/local/lib/node_modules/pm2/bin/pm2-dev /usr/local/bin/pm2-docker -> /usr/lo
      cal/lib/node_modules/pm2/bin/pm2-docker /usr/local/bin/pm2-runtime -> /usr/local/lib/node_modules/pm2/bin/pm2-runtime npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_
      modules/pm2/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arc
      h":"arm"}) + pm2@4.2.1 added 207 packages from 202 contributors in 38.506s
      get the pm2 platform specific startup command
      startup command = sudo env PATH=$PATH:/usr/bin:/bin /usr/local/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi
      
                              -------------
      
      __/\\\\\\\\\\\\\____/\\\\____________/\\\\____/\\\\\\\\\_____
       _\/\\\/////////\\\_\/\\\\\\________/\\\\\\__/\\\///////\\\___
        _\/\\\_______\/\\\_\/\\\//\\\____/\\\//\\\_\///______\//\\\__
         _\/\\\\\\\\\\\\\/__\/\\\\///\\\/\\\/_\/\\\___________/\\\/___
          _\/\\\/////////____\/\\\__\///\\\/___\/\\\________/\\\//_____
           _\/\\\_____________\/\\\____\///_____\/\\\_____/\\\//________
            _\/\\\_____________\/\\\_____________\/\\\___/\\\/___________
             _\/\\\_____________\/\\\_____________\/\\\__/\\\\\\\\\\\\\\\_
              _\///______________\///______________\///__\///////////////__
      
      
                                Runtime Edition
      
              PM2 is a Production Process Manager for Node.js applications
                           with a built-in Load Balancer.
      
                      Start and Daemonize any application:
                      $ pm2 start app.js
      
                      Load Balance 4 instances of api.js:
                      $ pm2 start api.js -i 4
      
                      Monitor in production:
                      $ pm2 monitor
      
                      Make pm2 auto-boot at server restart:
                      $ pm2 startup
      
                      To go further checkout:
                      http://pm2.io/
      
      
                              -------------
      
      [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/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...
      [PM2] [-] 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
      disable screensaver via lxsession
      We're ready! Run pm2 start MagicMirror from the ~/MagicMirror directory to start your MagicMirror.
      install completed - Fri Dec 20 08:59:08 EST 2019
      
      
      1 Reply Last reply Reply Quote 0
      • E Offline
        ember1205
        last edited by Dec 20, 2019, 10:19 PM

        Some additional notes:

        • The screensaver settings appear to have been set in the /etc/xdg/lxsession/LXDE-pi/autostart file
        • No settings have been adjusted in /etc/lightdm/lightdm.conf
        • The mouse pointer auto remove configuration has not been completed, but there appears to be no issue with the pointer remaining on the screen once Electron loads
        • There was no change made to the system to disable power saving on the WLAN interface - as a result, the interface seemingly “could” go into powersave mode and affect network connectivity (I have not yet experienced an issue with this)
        S 1 Reply Last reply Dec 20, 2019, 10:28 PM Reply Quote 0
        • S Away
          sdetweil @ember1205
          last edited by sdetweil Dec 20, 2019, 10:34 PM Dec 20, 2019, 10:28 PM

          @ember1205 cool. great feedback.

          i dont have lightdm changed on my buster system.
          according to this, its still lxde
          https://www.raspberrypi.org/forums/viewtopic.php?t=249837

          correct, there is no mod for mouse pointer.
          can also be done in css
          cursor: none;

          also no setting change for wlan power

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          E 1 Reply Last reply Dec 20, 2019, 10:39 PM Reply Quote 0
          • E Offline
            ember1205 @sdetweil
            last edited by Dec 20, 2019, 10:39 PM

            @sdetweil

            -Should- the WLAN power setting be changed? It would seem that this would be a wise approach to ensure it doesn’t go into powersave mode.

            S 1 Reply Last reply Dec 20, 2019, 10:40 PM Reply Quote 0
            • S Away
              sdetweil @ember1205
              last edited by Dec 20, 2019, 10:40 PM

              @ember1205 i don’t know the answer… depends on how much its used I would guess…
              I don’t know what the power save rules are

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              E 1 Reply Last reply Dec 20, 2019, 10:45 PM Reply Quote 0
              • E Offline
                ember1205 @sdetweil
                last edited by Dec 20, 2019, 10:45 PM

                @sdetweil

                I believe the rules are less important than the consequences. I don’t believe WLAN has a good track record overall of waking up from a sleep state. And, regardless of how much it’s directly used, you can bet that the one time it won’t work is when you try using the remote control module to power it down. :)

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 3
                • 2 / 3
                2 / 3
                • First post
                  19/21
                  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