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

    dikkedimi

    @dikkedimi

    1
    Reputation
    520
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    dikkedimi Unfollow Follow

    Best posts made by dikkedimi

    • RE: [Solved] MagicMirror ignoring zoom and font-size css

      @Mykle1 said in MagicMirror ignoring zoom and font-size css:

      @dikkedimi said in MagicMirror ignoring zoom and font-size css:

      I’ve tried everything I can think of

      Have you tried these key commands while MM is running and displayed on screen?

      Simultaneously pressing:

      Control and - (that’s a dash/minus key) For Zoom out

      Control and Shift and = For Zoom in

      Control and 0 (that’s a zero) For default size

      Thank you so much! Did indeed not think of that, as I assumed (never having used the browser on this machine), the default was set to 0 zoom.

      This seems to have fixed the problem, hitting ctrl+0 gave the desired element sizes. It even persists through reboot.

      Can you clarify why this fixed it?

      posted in Troubleshooting
      D
      dikkedimi

    Latest posts made by dikkedimi

    • RE: [Solved] MagicMirror ignoring zoom and font-size css

      @Mykle1 said in [Solved] MagicMirror ignoring zoom and font-size css:

      @dikkedimi

      You’re welcome. You may have inadvertently hit the key command that zooms the display and as you see it persists through reboot, but who can say?

      All these key commands can be found in Menu bar while MM is running by pressing your Alt key.

      Useful info, hope it helps others as well!

      posted in Troubleshooting
      D
      dikkedimi
    • RE: [Solved] MagicMirror ignoring zoom and font-size css

      @Mykle1 said in MagicMirror ignoring zoom and font-size css:

      @dikkedimi said in MagicMirror ignoring zoom and font-size css:

      I’ve tried everything I can think of

      Have you tried these key commands while MM is running and displayed on screen?

      Simultaneously pressing:

      Control and - (that’s a dash/minus key) For Zoom out

      Control and Shift and = For Zoom in

      Control and 0 (that’s a zero) For default size

      Thank you so much! Did indeed not think of that, as I assumed (never having used the browser on this machine), the default was set to 0 zoom.

      This seems to have fixed the problem, hitting ctrl+0 gave the desired element sizes. It even persists through reboot.

      Can you clarify why this fixed it?

      posted in Troubleshooting
      D
      dikkedimi
    • [Solved] MagicMirror ignoring zoom and font-size css

      Hi Fellow MagicMirror users!

      I’ve reinstalled magicmirror on a blank rPi, because my main one was too busy to fulfil all it’s tasks. It was so overloaded my clock would stop for 3 minutes or longer. Running Openhab + magicmirror + mqtt + alexa is just too much I guess…

      On the new pi, I started with a raspbian stretch lite image. I added the desktop GUI using

      sudo apt-get -y install raspberrypi-ui-mods
      

      then i installed MM using the script from github. Followed the autostart and config raspi guides. Works like a charm!

      Then i scp’d over a copy of my old config file. I also reinstalled the modules I was using with git clone (so i did not copy over any of the modules from my old config)

      Everything works, and the clock now shows the correct time every second. Which was my goal.

      However, all the UI elements are way too big.

      • I’ve tried adjusting the zoom in the config.js file, but this had no effect.
      • I’ve tried adding custom CSS to the custom.css file as well, but this too had no effect. i tried it with the body {} tag in place (inserting the CSS in between), and I also tried it without the body{} tag. Both yielded the same result (none).
      • I’ve also set my resolution to the monitor’s native res, in the /boot/config.txt

      I’ve tried everything I can think of, so now I’m hoping you can help me out. pm2 log does not give any errors.

      my config.js (privacy sensitive information has been obscured):

      var config = {
              port: 8666,
            ipWhitelist: ['127.0.0.1', '::ffff:127.0.0.1', '::1', '::ffff:192.168.1.120', '::ffff:192.168.178.1/120',],
              zoom: 0.8,
              language: 'en',
              timeFormat: 24,
              units: 'metric',
      
              modules: [
                              {
                              module: 'alert',
                              },
                              {
                              module: 'updatenotification',
                              position: 'top_bar'
                              },
                              {
                              module: 'clock',
                              position: 'top_left',
                              config: {
                                      displayType: 'both',
                                      analogFace: 'simple',
                                      analogPlacement: 'left'
                                      },
                              },
                              {
                              module: 'currentweather',
                              header: 'Current Weather',
                              position: 'top_right',
                              config: {
                                      location: 'SomeTown',
                                      locationID: '453783214',  //ID from http://www.openweathermap.org
                                      appid: '0bscur3d',
                                      updateInterval: '6000'
                                      },
                              },
                              {
                              module: 'weatherforecast',
                              position: 'top_right',
                              header: 'Weather Forecast',
                              config: {
                                      location: 'SomeTown',
                                      locationID: '453783214',  //ID from http://www.openweathermap.org
                                      appid: '0bscur3d'
                                      },
                              },
                              {
                              module: 'MMM-cryptocurrency',
                              position: 'bottom_right',
                              config: {
                                      currency: ['ethereum', 'bitcoin', 'litecoin'],
                                      conversion: 'EUR',
                                      headers: ['change24h', 'change1h', 'change7d'],
                                      displayType: 'logoWithChanges',
                                      showGraphs: true,
                                      },
                              }
      
              ]
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== 'undefined') {module.exports = config;}
      
      posted in Troubleshooting
      D
      dikkedimi
    • RE: Nothing showing but app is running

      updated today and now I have a similar issue. App is running but the screen is black. Ran apt-get update & apt-get upgrade in the hopes it would fix itself, but nope :)

      pi@jarvis:~ $ pm2 log
      [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
      /home/pi/.pm2/pm2.log last 15 lines:
      PM2        | 2017-04-02 18:19:27: PM2 PID file         : /home/pi/.pm2/pm2.pid
      PM2        | 2017-04-02 18:19:27: RPC socket file      : /home/pi/.pm2/rpc.sock
      PM2        | 2017-04-02 18:19:27: BUS socket file      : /home/pi/.pm2/pub.sock
      PM2        | 2017-04-02 18:19:27: Application log path : /home/pi/.pm2/logs
      PM2        | 2017-04-02 18:19:27: Process dump file    : /home/pi/.pm2/dump.pm2
      PM2        | 2017-04-02 18:19:27: Concurrent actions   : 2
      PM2        | 2017-04-02 18:19:27: SIGTERM timeout      : 1600
      PM2        | 2017-04-02 18:19:27: ===============================================================================
      PM2        | 2017-04-02 18:19:27: Starting execution sequence in -fork mode- for app name:mm id:0
      PM2        | 2017-04-02 18:19:27: App name:mm id:0 online
      PM2        | 2017-04-02 18:21:20: Stopping app:mm id:0
      PM2        | 2017-04-02 18:21:20: App [mm] with id [0] and pid [1474], exited with code [0] via signal [SIGINT]
      PM2        | 2017-04-02 18:21:20: pid=1474 msg=process killed
      PM2        | 2017-04-02 18:26:49: Starting execution sequence in -fork mode- for app name:mm id:0
      PM2        | 2017-04-02 18:26:49: App name:mm id:0 online
      
      /home/pi/.pm2/logs/mm-error-0.log last 15 lines:
      0|mm       | 
      0|mm       | 
      0|mm       | error: cannot open .git/FETCH_HEAD: Permission denied
      0|mm       | 
      0|mm       | 
      0|mm       | [29012:0402/175739.310033:FATAL:bus.cc(1197)] D-Bus connection was disconnected. Aborting.
      0|mm       | #0 0x0000011cf88c 
      0|mm       | #1 0x0000011bbc1a 
      0|mm       | #2 0x000001e9a6b6 
      0|mm       | 
      0|mm       | [1665:0402/181857.627309:FATAL:bus.cc(1197)] D-Bus connection was disconnected. Aborting.
      0|mm       | #0 0x0000011cf88c 
      0|mm       | #1 0x0000011bbc1a 
      0|mm       | #2 0x000001e9a6b6 
      0|mm       | 
      
      /home/pi/.pm2/logs/mm-out-0.log last 15 lines:
      0|mm       | Initializing new module helper ...
      0|mm       | Module helper loaded: calendar
      0|mm       | No helper found for module: currentweather.
      0|mm       | No helper found for module: airquality.
      0|mm       | No helper found for module: weatherforecast.
      0|mm       | No helper found for module: MMM-Hue.
      0|mm       | All module helpers loaded.
      0|mm       | Starting server on port 8666 ... 
      0|mm       | Starting server op port 8666 ... 
      0|mm       | Server started ...
      0|mm       | Connecting socket for: updatenotification
      0|mm       | Connecting socket for: calendar
      0|mm       | Starting node helper for: calendar
      0|mm       | Sockets connected & modules started ...
      0|mm       | Launching application.
      
      [STREAMING] Now streaming realtime logs for [all] processes
      
      pi@jarvis:~ $ tail -f /home/pi/.pm2/logs/mm-error-0.log
      [29012:0402/175739.310033:FATAL:bus.cc(1197)] D-Bus connection was disconnected. Aborting.
      #0 0x0000011cf88c 
      #1 0x0000011bbc1a 
      #2 0x000001e9a6b6 
      
      [1665:0402/181857.627309:FATAL:bus.cc(1197)] D-Bus connection was disconnected. Aborting.
      #0 0x0000011cf88c 
      #1 0x0000011bbc1a 
      #2 0x000001e9a6b6 
      
      posted in Troubleshooting
      D
      dikkedimi