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

    Richard238

    @Richard238

    10
    Reputation
    2.6k
    Profile views
    241
    Posts
    0
    Followers
    1
    Following
    Joined
    Last Online
    Location Sussex, UK

    Richard238 Unfollow Follow
    • RE: Calendar Module: Multiple Icons.

      Sure, it’s in /home/pi/MagicMirror/css/custom.css

       * Changes to this files will be ignored by GIT. *
       *****************************************************/
      
       body {
       	
       }
      
       
       .fa.fa-calendar-check-o {
        color: #00d2ff; /* Blue */
      }
      
       .fa.fa-trash-o  {
        color: #C97F7F; /* Brown */
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Embed Grafana Charts - xframe issue

      @hs said in Embed Grafana Charts - xframe issue:

      allow_embedding=true

      For future me and of course anyone else looking for this, the setting is in the [Security] section of /etc/grafana/grafana.ini (Assumes Grafana is hosted on a Pi or other Linux distro)

      posted in Troubleshooting
      R
      Richard238
    • RE: Compliments setup

      Thanks, it was that, and a missing } close curly bracket.

      posted in Troubleshooting
      R
      Richard238
    • After update, chrome-sandbox needs root and mode 4655?

      Noticed earlier that my MM had crashed for whatever reason - it’s not been touched changed in weeks.

      On reboot, it wanted 44 updates.
      pm2 start mm then showed nothing, with the logs giving an error:

      0|mm       | [10532:0127/132321.643138:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/pi/MagicMirror/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755.
      

      I did

      sudo chown root /home/pi/MagicMirror/node_modules/electron/dist/chrome-sandbox
      sudo chmod 4755 /home/pi/MagicMirror/node_modules/electron/dist/chrome-sandbox
      

      This seems to have fixed it, with MM now starting correctly.

      What’s caused this, and is the chown/chmod the correct thing todo?

      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @sdetweil

      renamed MM to MM.JAN22

      renamed MM.save to MM

      All good, thank you.

      posted in Troubleshooting
      R
      Richard238
    • RE: Updating did nothing but gave fatal error warning.

      @sdetweil Weather module changes worked.
      They needs adjusting, but it is now showing something so it’s a good start I can work from.

      posted in Troubleshooting
      R
      Richard238
    • RE: Updating did nothing but gave fatal error warning.

      I now have coloured icons in the calendar:

      2cde94cd-45ff-48af-a9d0-2d1a6f1bcdee-image.png

      Code now looks like this:

      /* Calendar: config.js set to  symbol: 'fa-light fa-calendar', */ 
      .calendar .fa-calendar-day {
        color: #00d255 /* 55=Green FF=Blue */
      }
      
      /* Calendar: config.js set to  symbol: 'fa-light fa-trash-can', */ 
      .calendar .fa-trash  {
        color: #C97F7F /* Brown */
      }
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Update, unable to connect.

      @sdetweil

      pi@magicmirror:~/MagicMirror $ node -v
      v16.1.0
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Update, unable to connect.

      @sdetweil

      I couldn’t use that as I the Pi had no network, no file manager. It was bricked :(

      New OS, new default vanilla MM all good.

      And then I remembered the orig MM was still on a SD Card before I swapped over to a USB drive.
      Copied all I needed, seems to be all good so far!

      Thanks for your help. :)

      posted in Troubleshooting
      R
      Richard238
    • Calendar failed to load - check the logs

      Noticed neither of my two calendars were working on my MM over the weekend.
      Not having time to investigate, I left it for another day.
      Then one calendar worked but not the other, then they swapped over!
      Now they’re both working.
      On checking the logs, there are a lot of these timeout errors:

      [2025-12-07 16:11:33.349] [ERROR] Calendar Error. Could not fetch calendar:  https://calendar.google.com/calendar/ical/#################group.calendar.google.com/private-5##############################/basic.ics TypeError: fetch failed
          at node:internal/deps/undici/undici:13510:13
          at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
        [cause]: ConnectTimeoutError: Connect Timeout Error (attempted address: calendar.google.com:443, timeout: 30000ms)
            at onConnectTimeout (/home/pi/MagicMirror/node_modules/undici/lib/core/util.js:876:19)
            at Immediate._onImmediate (/home/pi/MagicMirror/node_modules/undici/lib/core/util.js:845:11)
            at process.processImmediate (node:internal/timers:485:21) {
          code: 'UND_ERR_CONNECT_TIMEOUT'
        }
      

      Looks like a timeout error at calendar_dot_google_dot_com and nothing to do with MM.
      However, a more user friendly error message in place of the failed calendar would be nice to see.

      posted in Troubleshooting
      R
      Richard238
    • RE: Weather, how to remove GB-ENG from the header?

      @sdetweil

      The comma, it’s always the comma. Thank you.

      posted in Troubleshooting
      R
      Richard238
    • RE: Weather, how to remove GB-ENG from the header?

      @sdetweil said:

      appendLocationToHeader

      			module: "weather",
      			---->appendLocationNameToHeader: false
      			//header: 'Current My_City weather: ',	
      			position: "top_right",
      			config: {
      				weatherProvider: "openmeteo",
      				----> appendLocationNameToHeader: false
      				type: "current",
      				lat: 51.12345
      				lon: -0.12345
      			}
      

      Spelling shown in docs is appendLocationNameToHeader
      Neither of the two position above work, mirror fails to load.

      posted in Troubleshooting
      R
      Richard238
    • Weather, how to remove GB-ENG from the header?

      Using openmeteo, weather display, header line commented out.
      MM shows “city, GB-ENG”

      How do I remove, disable the GB-ENG bit?

      posted in Troubleshooting
      R
      Richard238
    • April update says "New major version of npm available" - should I install this?

      I just applied the April update, during which I spotted this message:

      npm notice
      npm notice New major version of npm available! 10.9.4 -> 11.14.0
      npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.14.0
      npm notice To update run: npm install -g npm@11.14.0
      npm notice
      

      Should I run this update, or leave npm as it is?
      Thanks!

      posted in Troubleshooting
      R
      Richard238
    • RE: Calendar module to show day name for all day entries

      Tried various combinations of…

      timeFormat: "relative",   //"absolute",  
      dateFormat: "ddd Do MMMM",    //"LLLL",
      

      …but still only timed items show a day name, not whole day items.

      LLLL or llll is the only mention in the moments doc of named week day.

      posted in Troubleshooting
      R
      Richard238
    • Calendar module to show day name for all day entries

      Calendar module shows day name only for calendar entries which are not all day items.

      How then do I get calendar module to show day name for all entries, regardless of whether they are all-day thing (e.g., birthdays, no day name shown) or meetings (09:00 - 10:00, day name shown) ?

      Current workaround is to change all-day items in my g/calendar to 00:00 - 23:59 , which is messy, clumsy and really not a solution!

      Thank you.

      posted in Troubleshooting
      R
      Richard238
    • RE: Calendar failed to load - check the logs

      If perhaps it could show the nature of the error?
      And the route to the logs, because most of us have to look up where they are! ;-)

      posted in Troubleshooting
      R
      Richard238
    • Calendar failed to load - check the logs

      Noticed neither of my two calendars were working on my MM over the weekend.
      Not having time to investigate, I left it for another day.
      Then one calendar worked but not the other, then they swapped over!
      Now they’re both working.
      On checking the logs, there are a lot of these timeout errors:

      [2025-12-07 16:11:33.349] [ERROR] Calendar Error. Could not fetch calendar:  https://calendar.google.com/calendar/ical/#################group.calendar.google.com/private-5##############################/basic.ics TypeError: fetch failed
          at node:internal/deps/undici/undici:13510:13
          at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
        [cause]: ConnectTimeoutError: Connect Timeout Error (attempted address: calendar.google.com:443, timeout: 30000ms)
            at onConnectTimeout (/home/pi/MagicMirror/node_modules/undici/lib/core/util.js:876:19)
            at Immediate._onImmediate (/home/pi/MagicMirror/node_modules/undici/lib/core/util.js:845:11)
            at process.processImmediate (node:internal/timers:485:21) {
          code: 'UND_ERR_CONNECT_TIMEOUT'
        }
      

      Looks like a timeout error at calendar_dot_google_dot_com and nothing to do with MM.
      However, a more user friendly error message in place of the failed calendar would be nice to see.

      posted in Troubleshooting
      R
      Richard238
    • RE: Update, unable to connect.

      @sdetweil

      Hahhahaaaa! Yes, well I do make regular backups of config and CSS, it was the modules folder I was missing. Lesson learned there.

      posted in Troubleshooting
      R
      Richard238
    • RE: Embed Grafana Charts - xframe issue

      @hs said in Embed Grafana Charts - xframe issue:

      allow_embedding=true

      For future me and of course anyone else looking for this, the setting is in the [Security] section of /etc/grafana/grafana.ini (Assumes Grafana is hosted on a Pi or other Linux distro)

      posted in Troubleshooting
      R
      Richard238