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

    Posts

    Recent Best Controversial
    • MESA Loader with fresh install

      Hi

      Install MagicMirror, fresh installgetting these error

      magicmirror@2.23.0 start
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      [13.05.2023 09:55.42.038] [LOG] Starting MagicMirror: v2.23.0
      [13.05.2023 09:55.42.046] [LOG] Loading config …
      [13.05.2023 09:55.42.052] [DEBUG] config template file not exists, no envsubst
      [13.05.2023 09:55.42.060] [LOG] Loading module helpers …
      [13.05.2023 09:55.42.063] [LOG] No helper found for module: alert.
      [13.05.2023 09:55.42.091] [LOG] Initializing new module helper …
      [13.05.2023 09:55.42.093] [LOG] Module helper loaded: updatenotification
      [13.05.2023 09:55.42.096] [LOG] No helper found for module: clock.
      [13.05.2023 09:55.42.509] [LOG] Initializing new module helper …
      [13.05.2023 09:55.42.511] [LOG] Module helper loaded: calendar
      [13.05.2023 09:55.42.516] [LOG] No helper found for module: compliments.
      [13.05.2023 09:55.42.519] [LOG] No helper found for module: weather.
      [13.05.2023 09:55.42.579] [LOG] Initializing new module helper …
      [13.05.2023 09:55.42.580] [LOG] Module helper loaded: newsfeed
      [13.05.2023 09:55.42.581] [LOG] All module helpers loaded.
      [13.05.2023 09:55.42.602] [LOG] Starting server on port 8080 …
      [13.05.2023 09:55.43.168] [LOG] Server started …
      [13.05.2023 09:55.43.169] [LOG] Connecting socket for: updatenotification
      [13.05.2023 09:55.43.170] [LOG] Starting module helper: updatenotification
      [13.05.2023 09:55.43.170] [LOG] Connecting socket for: calendar
      [13.05.2023 09:55.43.171] [LOG] Starting node helper for: calendar
      [13.05.2023 09:55.43.172] [LOG] Connecting socket for: newsfeed
      [13.05.2023 09:55.43.173] [LOG] Starting node helper for: newsfeed
      [13.05.2023 09:55.43.174] [LOG] Sockets connected & modules started …
      [13.05.2023 09:55.43.332] [LOG] Launching application.
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
      failed to load driver: kms_swrast
      MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
      failed to load swrast driver
      [13.05.2023 09:55.46.920] [LOG] Create new calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
      [13.05.2023 09:55.47.032] [LOG] Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
      [13.05.2023 09:55.47.079] [INFO] Checking git for module: MagicMirror
      [13.05.2023 09:55.47.563] [INFO] Newsfeed-Fetcher: Broadcasting 27 items.
      [13.05.2023 09:55.49.012] [INFO] Calendar-Fetcher: Broadcasting 10 events.

      What could be the issue

      Johan

      posted in Troubleshooting
      JohanbaJ
      Johanba
    • Module not found error

      Hi All

      A few modules after install, in this case both MMM-Homeassistant & MMM-Awesome Alexa on startup indicate "module not found
      Yes, I do run npm install in the folder
      I have checked my config, reinstalled, updated the module but cannot get it working
      If I comment the module out all is fine

      Any help will be appreciated

      [07.05.2022 23:14.30.436] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'request'
      Require stack:
      - /home/johanba/MagicMirror/modules/MMM-HomeAssistant/node_helper.js
      - /home/johanba/MagicMirror/js/app.js
      - /home/johanba/MagicMirror/js/electron.js
      - /home/johanba/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      - 
      [07.05.2022 23:14.30.439] [LOG]   Loading module helpers ...
      [07.05.2022 23:14.30.440] [LOG]   No helper found for module: MMM-pages.
      [07.05.2022 23:14.30.441] [LOG]   No helper found for module: alert.
      [07.05.2022 23:14.30.442] [LOG]   No helper found for module: clock.
      [07.05.2022 23:14.30.444] [LOG]   No helper found for module: MMM-COVID19.
      [07.05.2022 23:14.30.444] [LOG]   Initializing new module helper ...
      [07.05.2022 23:14.30.445] [LOG]   Module helper loaded: EXT-Alert
      [07.05.2022 23:14.30.445] [LOG]   Initializing new module helper ...
      [07.05.2022 23:14.30.446] [LOG]   Module helper loaded: Gateway
      [07.05.2022 23:14.30.447] [LOG]   Initializing new module helper ...
      [07.05.2022 23:14.30.447] [LOG]   Module helper loaded: MMM-Todoist
      [07.05.2022 23:14.30.448] [LOG]   No helper found for module: MMM-WebView.
      [07.05.2022 23:14.30.448] [LOG]   Initializing new module helper ...
      [07.05.2022 23:14.30.449] [LOG]   Module helper loaded: MMM-NowPlayingOnSpotify
      [07.05.2022 23:14.30.450] [LOG]   Initializing new module helper ...
      [07.05.2022 23:14.30.451] [LOG]   Module helper loaded: EXT-Detector
      [07.05.2022 23:14.30.451] [LOG]   Initializing new module helper ...
      [07.05.2022 23:14.30.452] [LOG]   Module helper loaded: MMM-GoogleAssistant
      [07.05.2022 23:14.30.452] [LOG]   Initializing new module helper ...
      [07.05.2022 23:14.30.453] [LOG]   Module helper loaded: EXT-Pir
      [07.05.2022 23:14.30.454] [LOG]   Initializing new module helper ...
      [07.05.2022 23:14.30.455] [LOG]   Module helper loaded: MMM-MacAddressScan
      [07.05.2022 23:14.30.457] [ERROR] App threw an error during load
      [07.05.2022 23:14.30.459] [ERROR] Error: Cannot find module 'request'
      Require stack:
      - /home/johanba/MagicMirror/modules/MMM-HomeAssistant/node_helper.js
      - /home/johanba/MagicMirror/js/app.js
      - /home/johanba/MagicMirror/js/electron.js
      - /home/johanba/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      - 
          at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
          at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1105)
          at Function.Module._resolveFilename (/home/johanba/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (node:internal/modules/cjs/loader:785:27)
          at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
          at Module.require (node:internal/modules/cjs/loader:1012:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/home/johanba/MagicMirror/modules/MMM-HomeAssistant/node_helper.js:2:17)
          at Module._compile (node:internal/modules/cjs/loader:1116:14)
          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10)
      [07.05.2022 23:14.30.461] [ERROR] Whoops! There was an uncaught exception...
      [07.05.2022 23:14.30.468] [ERROR] Error: Cannot find module 'request'
      Require stack:
      - /home/johanba/MagicMirror/modules/MMM-HomeAssistant/node_helper.js
      - /home/johanba/MagicMirror/js/app.js
      - /home/johanba/MagicMirror/js/electron.js
      - /home/johanba/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      - 
          at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
          at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1105)
          at Function.Module._resolveFilename (/home/johanba/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (node:internal/modules/cjs/loader:785:27)
          at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
          at Module.require (node:internal/modules/cjs/loader:1012:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/home/johanba/MagicMirror/modules/MMM-HomeAssistant/node_helper.js:2:17)
          at Module._compile (node:internal/modules/cjs/loader:1116:14)
          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) {
        code: 'MODULE_NOT_FOUND',
        requireStack: [
          '/home/johanba/MagicMirror/modules/MMM-HomeAssistant/node_helper.js',
          '/home/johanba/MagicMirror/js/app.js',
          '/home/johanba/MagicMirror/js/electron.js',
          '/home/johanba/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
          undefined
        ]
      }
      [07.05.2022 23:14.30.472] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [07.05.2022 23:14.30.473] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      [07.05.2022 23:14.30.770] [LOG]   Launching application.
      ^C/home/johanba/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
      
      
      posted in Troubleshooting
      JohanbaJ
      Johanba
    • MMM-Webview

      Is it possible to run multiple instances of Webview
      I have MMM Pages installed
      Page 3 = my Solar web page
      and I want to add my tracking device webpage on Page 4

      Is there a trick to do this

      posted in Utilities
      JohanbaJ
      Johanba
    • Google Tasks

      Hi
      Need some help please
      I have installed Google Tasks
      But the list show inverted on the MM

      Should be
      Name

      • list item 1
      • list item 2

      Any support will be appreciated

      Johan

      Picture on MM
      4794bcd6-fa8c-4987-bd7a-c3ff175e51d4-image.png

      View on Google Tasks
      6238a78a-b768-452c-873c-b8ad733596f8-image.png

      posted in Troubleshooting
      JohanbaJ
      Johanba
    • RE: Add 3rd page to MMM-Pages

      @assassins Thanks Sorted

      posted in Troubleshooting
      JohanbaJ
      Johanba
    • RE: Multiple ics files to 1 calender support requested

      @sdetweil Thanks, worked

      posted in General Discussion
      JohanbaJ
      Johanba
    • RE: Add 3rd page to MMM-Pages

      @sdetweil I suspect I still have some issue
      Below is my code
      It does not add the 3rd Page, even the Page indicator only show 2 dots
      What am I missing
      Did I get the code past right this time :beaming_face_with_smiling_eyes:

      {
      				module: 'MMM-pages',
      					config: {
      						rotationTime: 30000,
      						rotationDelay: 30000,
      						modules:
      							[
      							//Page 1
      							[ "calendar","newsfeed","MMM-Weather","Alerts","MMM-UpdateNotification","MMM-connection-status","MMM-NetworkConnection","MMM-GoogleTasks" ],
      							//Page 2
      							[ "MMM-RTSPStream","MMM-NowPlayingOnSpotify","MMM-Tools","MMM-iFrame","MMM-WebView","MMM-TomTomTraffic"]
      							//Page 3
      							["MMM-HomeAssistant"]
      							],
      							//Fixed Pages
      							fixed: ["MMM-BackgroundSlideshow","MMM-TelegramBot","MMM-PIR-Sensor","clock","MMM-Weather","MMM-page-indicator","MMM-Alexa","MMM-GoogleAssistant","MMM-Detector"],
      							//Hidden Pages
      							hiddenPages: {
      								"screenSaver": ["clock"],
      								"admin": ["MMM-Config", "MMM-pages"],
      							},
      					}
      				},
      
      posted in Troubleshooting
      JohanbaJ
      Johanba
    • RE: Add 3rd page to MMM-Pages

      @sdetweil Noted, Thanks for the support
      I am new to this an learning faster than expected

      posted in Troubleshooting
      JohanbaJ
      Johanba
    • Add 3rd page to MMM-Pages

      Hi All
      Need some help
      My Mirror use 2 pages at present
      I tried added a 3rd Page , but then the Mirror dont load
      This is my code, will appreciate advise

      {
      				module: 'MMM-pages',
      					config: {
      						rotationTime: 30000,
      						rotationDelay: 30000,
      						modules:
      							[[ "MMM-HomeAssistant","calendar","newsfeed","MMM-Weather","Alerts","MMM-UpdateNotification","MMM-connection-status","MMM-NetworkConnection","MMM-GoogleTasks" ],
      							[ "MMM-RTSPStream","MMM-NowPlayingOnSpotify","MMM-Tools","MMM-iFrame","MMM-WebView","MMM-TomTomTraffic"]],
      							fixed: ["MMM-TelegramBot","MMM-PIR-Sensor","clock","MMM-Weather","MMM-page-indicator","MMM-Alexa","MMM-GoogleAssistant","MMM-Detector"],
      							hiddenPages: {
      								"screenSaver": ["clock"],
      								"admin": [ , "MMM-Config",  "MMM-pages" ],
      							},
      					}
      				},
      
      posted in Troubleshooting
      JohanbaJ
      Johanba
    • Multiple ics files to 1 calender support requested

      Hi All

      I have added the standard calendar module, and have linked my google calendar, but only items in the main calendar shows, Items from added calenders does not show, it seems I have to add multiple versions and add each ics file, but that defeats the objective of have 1 calender

      Will appreciate any recommendation on a solution

      posted in General Discussion
      JohanbaJ
      Johanba
    • 1
    • 2
    • 3
    • 2 / 3