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

    veny

    @veny

    0
    Reputation
    1
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    veny Unfollow Follow

    Latest posts made by veny

    • Restart MagicMirror once a day

      Hello everyone! I noticed that the weather module freezes and does not update. I looked at the logs, there are no errors. The command pm2 restart magicmirror helps. Is it possible to make a script so that the command pm2 restart magicmirror is executed automatically once a day. Thanks in advance to everyone!

      posted in Troubleshooting
      V
      veny
    • MMM-CalendarExtMinimonth/MMM-CalendarExt2

      Hi all! Tell me if it is possible to set an indicator so that events are not displayed in the calendar. The calendar would simply show numbers. Thanks in advance everyone!Снимок экрана 2024-10-23 204445.png

      posted in Utilities
      V
      veny
    • RE: Black screen. Add WM_CHANGE_STATE to kAtomsToCache

      @sdetweil
      Why might this message appear? You are not using pm2
      configured pm2 using these instruction
      https://docs.magicmirror.builders/configuration/autostart.html#using-pm2

      posted in Troubleshooting
      V
      veny
    • RE: Black screen. Add WM_CHANGE_STATE to kAtomsToCache

      @sdetweil
      pm2 logs mm
      [TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option)
      /home/pi/.pm2/logs/mm-error.log last 15 lines:
      0|mm |
      0|mm | <— JS stacktrace —>
      0|mm |
      0|mm | [30424:1001/212148.823866:ERROR:v8_initializer.cc(808)] V8 javascript OOM (Reached heap limit).
      0|mm | [30229:1001/213410.607340:ERROR:atom_cache.cc(229)] Add WM_CHANGE_STATE to kAtomsToCache
      0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
      0|mm | [14551:1001/214649.132892:ERROR:gles2_cmd_decoder_passthrough.cc(928)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader
      0|mm | [14551:1001/214649.166117:ERROR:gles2_cmd_decoder_passthrough.cc(928)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader
      0|mm | [14415:1001/215313.946903:ERROR:atom_cache.cc(229)] Add WM_CHANGE_STATE to kAtomsToCache
      0|mm | [14551:1001/215414.311486:ERROR:gles2_cmd_decoder_passthrough.cc(928)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader
      0|mm | [14551:1001/215414.338625:ERROR:gles2_cmd_decoder_passthrough.cc(928)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader
      0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
      0|mm | [16356:1001/215713.542578:ERROR:atom_cache.cc(229)] Add WM_CHANGE_STATE to kAtomsToCache
      0|mm | [16491:1001/215716.216002:ERROR:gles2_cmd_decoder_passthrough.cc(928)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader
      0|mm | [16491:1001/215716.258075:ERROR:gles2_cmd_decoder_passthrough.cc(928)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader

      /home/pi/.pm2/logs/mm-out.log last 15 lines:
      0|mm | [2024-10-01 21:57:10.232] [LOG] Create new newsfetcher for url: https://www.vedomosti.ru/rss/news - Interval: 300000
      0|mm | [2024-10-01 21:57:10.835] [INFO] updatenotification: Updater Class Loaded!
      0|mm | [2024-10-01 21:57:10.878] [INFO] updatenotification: Checking PM2 using…
      0|mm | [2024-10-01 21:57:12.532] [INFO] Checking git for module: MMM-FlipClock
      0|mm | [2024-10-01 21:57:13.406] [INFO] Checking git for module: MMM-YrThen
      0|mm | [2024-10-01 21:57:15.040] [INFO] Checking git for module: MMM-yandex-route
      0|mm | [2024-10-01 21:57:15.452] [INFO] updatenotification: [PM2] You are not using pm2
      0|mm | [2024-10-01 21:57:15.479] [INFO] System information:
      0|mm | ### SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 3 Model B Plus Rev 1.3; raspberry: [object Object]; virtual: false
      0|mm | ### OS: platform: linux; distro: Raspbian GNU/Linux; release: 11; arch: arm; kernel: 5.15.32-v7+
      0|mm | ### VERSIONS: electron: 31.1.0; used node: 20.14.0; installed node: 20.9.0; npm: 10.1.0; pm2: 5.4.1
      0|mm | ### OTHER: timeZone: Europe/Moscow; ELECTRON_ENABLE_GPU: undefined
      0|mm | [2024-10-01 21:57:15.725] [INFO] Checking git for module: MMM-Multimonth
      0|mm | [2024-10-01 21:57:16.083] [INFO] Checking git for module: MagicMirror
      0|mm | [2024-10-01 21:57:17.354] [INFO] Newsfeed-Fetcher: Broadcasting 200 items.

      posted in Troubleshooting
      V
      veny
    • RE: Black screen. Add WM_CHANGE_STATE to kAtomsToCache

      Did I understand you correctly?
      @sdetweil pm2 restart mm
      Use --update-env to update environment variables
      [PM2] Applying action restartProcessId on app [mm](ids: [ 0 ])
      [PM2] mm ✓
      ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
      │ id │ name │ mode │ ↺ │ status │ cpu │ memory │
      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
      │ 0 │ mm │ fork │ 156 │ online │ 0% │ 2.6mb │
      └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
      pi@raspberrypi:~ $ pm2 show mm
      Describing process with id 0 - name mm
      ┌───────────────────┬─────────────────────────────────┐
      │ status │ online │
      │ name │ mm │
      │ namespace │ default │
      │ version │ N/A │
      │ restarts │ 156 │
      │ uptime │ 26s │
      │ script path │ /home/pi/mm.sh │
      │ script args │ N/A │
      │ error log path │ /home/pi/.pm2/logs/mm-error.log │
      │ out log path │ /home/pi/.pm2/logs/mm-out.log │
      │ pid path │ /home/pi/.pm2/pids/mm-0.pid │
      │ interpreter │ bash │
      │ interpreter args │ N/A │
      │ script id │ 0 │
      │ exec cwd │ /home/pi │
      │ exec mode │ fork_mode │
      │ node.js version │ N/A │
      │ node env │ N/A │
      │ watch & reload │ ✘ │
      │ unstable restarts │ 0 │
      │ created at │ 2024-10-01T18:56:53.096Z │
      └─

      posted in Troubleshooting
      V
      veny
    • Black screen. Add WM_CHANGE_STATE to kAtomsToCache

      Hi all! There is a problem: a black screen appears periodically. logs below
      pm2 logs mm -line 200
      home/pi/.pm2/logs/mm-error.log last 15 lines:
      0|mm | [30366:0930/183424.828440:ERROR:atom_cache.cc(229)] Add WM_CHANGE_STATE to kAtomsToCache
      0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
      0|mm | [30364:0930/183638.674117:ERROR:gles2_cmd_decoder_passthrough.cc(928)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader
      0|mm | [30364:0930/183638.698993:ERROR:gles2_cmd_decoder_passthrough.cc(928)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader
      0|mm |
      0|mm | <— Last few GCs —>
      0|mm |
      0|mm | [1:0x55158000] 96324017 ms: Mark-Compact 227.9 (232.7) -> 227.2 (232.9) MB, pooled: 0 MB, 1218.73 / 0.01 ms (average mu = 0.615, current mu = 0.192) allocation failure; scavenge might not succeed
      0|mm | [1:0x55158000] 96325811 ms: Mark-Compact 227.9 (232.9) -> 227.3 (233.2) MB, pooled: 0 MB, 1602.43 / 0.00 ms (average mu = 0.443, current mu = 0.107) allocation failure; GC in old space requested
      0|mm |
      0|mm |
      0|mm | <— JS stacktrace —>
      0|mm |
      0|mm | [30424:1001/212148.823866:ERROR:v8_initializer.cc(808)] V8 javascript OOM (Reached heap limit).
      0|mm | [30229:1001/213410.607340:ERROR:atom_cache.cc(229)] Add WM_CHANGE_STATE to kAtomsToCache

      Thanks in advance everyone!

      posted in Troubleshooting
      V
      veny
    • RE: MMM-CalendarExt2 not working

      @BKeyport
      Hello. Thank you very much for the hint about the module. I installed it and am using it. Please tell me how I can increase the font size in the name of the month and numbers. Thank you in advance!

      posted in Troubleshooting
      V
      veny
    • RE: MMM-CalendarExt2 not working

      @BKeyport
      Can i use Yahoo Calendar or ohters?
      I’d like use plagin MMM-CalendarExtMinimonth because i like his appearance

      posted in Troubleshooting
      V
      veny
    • MMM-CalendarExt2 not working

      Hi,
      The module stopped working. Disappeared from the screen. I tried to install it again, it didn’t help.
      What could be the reason?
      Thanks in advance everyone!

      {
        module:"MMM-CalendarExtMinimonth",
        position:"top_right",
      },
      				{
        module: 'MMM-CalendarExt2',
        position:"top_right",
        config: {
          calendars : [
            {
              url: "https://calendar.google.com/calendar/ical/veny071%40gmail.com/private-55d2d67bbe5cXXXXXXXXX6e2a64/basic.ics",
            },
          ],
          views: [
            {
              mode: "",
                           },
          ],
          scenes: [
            {
              name: "",
            },
          ],
        },
      },
      

      output

      [2024-05-18 13:26:43.956] [LOG]   Starting MagicMirror: v2.27.0 
      [2024-05-18 13:26:44.026] [LOG]   Loading config ... 
      [2024-05-18 13:26:44.032] [LOG]   config template file not exists, no envsubst 
      [2024-05-18 13:26:44.039] [LOG]   Loading module helpers ... 
      [2024-05-18 13:26:44.042] [LOG]   No helper found for module: alert. 
      [2024-05-18 13:26:44.672] [LOG]   Initializing new module helper ... 
      [2024-05-18 13:26:44.673] [LOG]   Module helper loaded: updatenotification 
      [2024-05-18 13:26:44.674] [LOG]   No helper found for module: MMM-FlipClock. 
      [2024-05-18 13:26:44.677] [LOG]   No helper found for module: weather. 
      [2024-05-18 13:26:44.953] [LOG]   Initializing new module helper ... 
      [2024-05-18 13:26:44.955] [LOG]   Module helper loaded: newsfeed 
      [2024-05-18 13:26:44.956] [LOG]   No helper found for module: MMM-yandex-route. 
      [2024-05-18 13:26:44.957] [LOG]   No helper found for module: MMM-CalendarExtMinimonth. 
      [2024-05-18 13:26:45.347] [LOG]   Initializing new module helper ... 
      [2024-05-18 13:26:45.348] [LOG]   Module helper loaded: MMM-CalendarExt2 
      [2024-05-18 13:26:45.349] [LOG]   All module helpers loaded. 
      [2024-05-18 13:26:45.364] [LOG]   Starting server on port 8082 ...  
      [2024-05-18 13:26:47.780] [LOG]   Server started ... 
      [2024-05-18 13:26:47.783] [LOG]   Connecting socket for: updatenotification 
      [2024-05-18 13:26:47.785] [LOG]   Starting module helper: updatenotification 
      [2024-05-18 13:26:47.787] [LOG]   Connecting socket for: newsfeed 
      [2024-05-18 13:26:47.790] [LOG]   Starting node helper for: newsfeed 
      [2024-05-18 13:26:47.791] [LOG]   Connecting socket for: MMM-CalendarExt2 
      [2024-05-18 13:26:47.793] [LOG]   Sockets connected & modules started ... 
      [2024-05-18 13:26:49.319] [LOG]   Launching application. 
      [2024-05-18 13:26:59.902] [LOG]   Create new newsfetcher for url: http://www.lenta.ru/rss/top7 - Interval: 300000 
      [2024-05-18 13:27:02.920] [INFO]  Newsfeed-Fetcher: Broadcasting 13 items. 
      [2024-05-18 13:27:04.072] [INFO]  System information:
      ### SYSTEM:   manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 3 Model B Plus Rev 1.3; raspberry: [object Object]; virtual: false
      ### OS:       platform: linux; distro: Raspbian GNU/Linux; release: 11; arch: arm; kernel: 5.15.32-v7+
      ### VERSIONS: electron: 29.3.2; used node: 20.9.0; installed node: 20.8.0; npm: 10.1.0; pm2: 5.3.1
      ### OTHER:    timeZone: Europe/Moscow; ELECTRON_ENABLE_GPU: undefined 
      [2024-05-18 13:27:04.104] [INFO]  updatenotification: Updater Class Loaded! 
      [2024-05-18 13:27:04.107] [INFO]  updatenotification: Checking PM2 using... 
      [2024-05-18 13:27:04.112] [INFO]  Checking git for module: MMM-FlipClock 
      [2024-05-18 13:27:04.192] [LOG]   [CALEXT2] calendar:0 >> Scanning start with interval:1800000 
      [26285:0518/132704.348686:ERROR:CONSOLE(1)] "Request Autofill.enable failed. {"code":-32601,"message":"'Autofill.enable' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
      [2024-05-18 13:27:04.748] [INFO]  Checking git for module: MMM-yandex-route 
      [2024-05-18 13:27:04.858] [INFO]  updatenotification: [PM2] You are not using pm2 
      [2024-05-18 13:27:04.883] [INFO]  Checking git for module: MMM-CalendarExtMinimonth 
      [2024-05-18 13:27:04.994] [INFO]  Checking git for module: MMM-CalendarExt2 
      [2024-05-18 13:27:05.414] [LOG]   [CALEXT2] calendar:0 >> Scanned: 1, Selected: 1 
      [2024-05-18 13:27:05.470] [INFO]  Checking git for module: MagicMirror 
      [26427:0518/132710.025314:ERROR:gles2_cmd_decoder_passthrough.cc(946)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader
      [26427:0518/132710.054468:ERROR:gles2_cmd_decoder_passthrough.cc(946)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader
      [26427:0518/132723.341076:ERROR:x11_software_bitmap_presenter.cc(144)] XGetWindowAttributes failed for window 44040211
      [26285:0518/132849.824940:ERROR:atom_cache.cc(229)] Add WM_CHANGE_STATE to kAtomsToCache
      [2024-05-18 13:32:03.222] [INFO]  Newsfeed-Fetcher: Broadcasting 13 items. 
      [2024-05-18 13:37:03.466] [INFO]  Newsfeed-Fetcher: Broadcasting 13 items. 
      [2024-05-18 13:42:03.689] [INFO]  Newsfeed-Fetcher: Broadcasting 13 items.
      
      posted in Troubleshooting
      V
      veny