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

PIR wake up automatically!

Scheduled Pinned Locked Moved Unsolved Troubleshooting
14 Posts 4 Posters 1.7k Views 4 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 Offline
    sdetweil @Sceetch
    last edited by Oct 17, 2024, 11:20 AM

    @Sceetch this info is provided in the startup message of MagicMirror

    if you are using pm2 to auto launch MagicMirror, then the pm2 command

    pm2 logs --lines=xxx
    

    where xxx is the number of most recent lines to display, and defaults to 15

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    S 1 Reply Last reply Oct 18, 2024, 5:39 PM Reply Quote 0
    • S Offline
      siujd2001
      last edited by Oct 17, 2024, 2:37 PM

      I am having the same issue, which just started happening yesterday. It seems like the loop is 3 minutes or less, with the MMM-PIR timer set at 60 seconds to turn off screen.

      I’m not running MM automatically via pm2.

      I have added “vc4.force_hotplug=1” to the end of /boot/cmdline.txt

      Raspbian ver 11 bullseye
      MagicMirror version 2.29.0

      1 Reply Last reply Reply Quote 0
      • S Offline
        Sceetch @sdetweil
        last edited by sdetweil Oct 18, 2024, 6:02 PM Oct 18, 2024, 5:39 PM

        @sdetweil

        if i do your code, i get these datas:

        PM2 | 2024-10-15T20:29:52: PM2 log: Node.js version : 20.8.0
        PM2 | 2024-10-15T20:29:52: PM2 log: Current arch : arm
        PM2 | 2024-10-15T20:29:52: PM2 log: PM2 home : /home/pi/.pm2
        PM2 | 2024-10-15T20:29:52: PM2 log: PM2 PID file : /home/pi/.pm2/pm2.pid
        PM2 | 2024-10-15T20:29:52: PM2 log: RPC socket file : /home/pi/.pm2/rpc.sock
        PM2 | 2024-10-15T20:29:52: PM2 log: BUS socket file : /home/pi/.pm2/pub.sock
        PM2 | 2024-10-15T20:29:52: PM2 log: Application log path : /home/pi/.pm2/logs
        PM2 | 2024-10-15T20:29:52: PM2 log: Worker Interval : 30000
        PM2 | 2024-10-15T20:29:52: PM2 log: Process dump file : /home/pi/.pm2/dump.pm2
        PM2 | 2024-10-15T20:29:52: PM2 log: Concurrent actions : 2
        PM2 | 2024-10-15T20:29:52: PM2 log: SIGTERM timeout : 1600
        PM2 | 2024-10-15T20:29:52: PM2 log: ===============================================================================
        PM2 | 2024-10-15T20:29:52: PM2 log: [Watch] Start watching MagicMirror
        PM2 | 2024-10-15T20:29:52: PM2 log: App [MagicMirror:0] starting in -fork mode-
        PM2 | 2024-10-15T20:29:52: PM2 log: App [MagicMirror:0] online

        /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
        0|MagicMir | [2024-10-15 20:30:10.964] [LOG] Create new calendarfetcher for url:. Edited: moderator - Interval: 604800000
        0|MagicMir | [2024-10-15 20:30:11.292] [LOG] requesting:https://opendata.dwd.de/climate_environment/health/alerts/s31fg.json
        0|MagicMir | [2024-10-15 20:30:11.331] [LOG] [MMM-Pir] Version: 1.5.3 rev: 240701
        0|MagicMir | [2024-10-15 20:30:11.333] [LOG] [MMM-Pir] [LIB] [PIR] Mode 0 Selected (onoff library)
        0|MagicMir | [2024-10-15 20:30:11.446] [LOG] [MMM-Pir] [LIB] [PIR] Started!
        0|MagicMir | [2024-10-15 20:30:11.449] [LOG] [MMM-Pir] [LIB] [SCREEN] Mode 9: xrandr (primary display) – Rotation: left
        0|MagicMir | [2024-10-15 20:30:11.473] [LOG] [MMM-Pir] Started!
        0|MagicMir | [2024-10-15 20:30:11.900] [LOG] MMM-DWD-Pollen: Success loading
        0|MagicMir | [2024-10-15 20:30:11.931] [LOG] [MMM-OpenWeatherForecast] 15-Oct-24 20:30 ** ERROR ** Error: Request failed with status code 401
        0|MagicMir | [2024-10-15 20:30:12.086] [INFO] System information:
        0|MagicMir | ### SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 4 Model B Rev 1.2; raspberry: [object Object]; virtual: false
        0|MagicMir | ### OS: platform: linux; distro: Raspbian GNU/Linux; release: 11; arch: arm; kernel: 6.1.21-v8+
        0|MagicMir | ### VERSIONS: electron: 29.4.2; used node: 20.9.0; installed node: 20.8.0; npm: 10.1.0; pm2: 5.4.1
        0|MagicMir | ### OTHER: timeZone: Europe/Berlin; ELECTRON_ENABLE_GPU: undefined
        0|MagicMir | [2024-10-18 19:33:19.104] [INFO] Calendar-Fetcher: Broadcasting 209 events from. Edited: moderator
        /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
        0|MagicMir | [1441:1015/203007.468295:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
        0|MagicMir | [1441:1015/203007.469114:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
        0|MagicMir | [1441:1015/203007.469703:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
        0|MagicMir | [1441:1015/203007.470376:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
        0|MagicMir | [1441:1015/203007.470857:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
        0|MagicMir | [1441:1015/203007.471246:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
        0|MagicMir | [1441:1015/203007.471864:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
        0|MagicMir | [1441:1015/203007.472289:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
        0|MagicMir | [1441:1015/203007.473545:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
        0|MagicMir | [1441:1015/203007.473975:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
        0|MagicMir | [1441:1015/203007.474361:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
        0|MagicMir | [1441:1015/203007.474628:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
        0|MagicMir | [1039:1018/193452.138762:ERROR:browser_main_loop.cc(278)] Gdk: gdk_monitor_get_scale_factor: assertion ‘GDK_IS_MONITOR (monitor)’ failed
        0|MagicMir | [1039:1018/193452.146069:ERROR:browser_main_loop.cc(278)] Gdk: gdk_monitor_get_scale_factor: assertion ‘GDK_IS_MONITOR (monitor)’ failed
        0|MagicMir | [1039:1018/193452.150739:ERROR:browser_main_loop.cc(278)] Gdk: gdk_monitor_get_scale_factor: assertion ‘GDK_IS_MONITOR (monitor)’ failed

        0|MagicMirror | [1039:1018/193549.175898:ERROR:browser_main_loop.cc(278)] Gdk: gdk_monitor_get_scale_factor: assertion ‘GDK_IS_MONITOR (monitor)’ failed
        0|MagicMirror | [1039:1018/193549.241698:ERROR:browser_main_loop.cc(278)] Gdk: gdk_monitor_get_scale_factor: assertion ‘GDK_IS_MONITOR (monitor)’ failed
        0|MagicMirror | [1039:1018/193549.246287:ERROR:browser_main_loop.cc(278)] Gdk: gdk_monitor_get_scale_factor: assertion ‘GDK_IS_MONITOR (monitor)’ failed
        0|MagicMirror | [1039:1018/193634.176330:ERROR:browser_main_loop.cc(278)] Gdk: gdk_monitor_get_scale_factor: assertion ‘GDK_IS_MONITOR (monitor)’ failed
        0|MagicMirror | [1039:1018/193634.183421:ERROR:browser_main_loop.cc(278)] Gdk: gdk_monitor_get_scale_factor: assertion ‘GDK_IS_MONITOR (monitor)’ failed
        0|MagicMirror | [1039:1018/193634.186706:ERROR:browser_main_loop.cc(278)] Gdk: gdk_monitor_get_scale_factor: assertion ‘GDK_IS_MONITOR (monitor)’ failed

        S 1 Reply Last reply Oct 18, 2024, 6:06 PM Reply Quote 0
        • S Offline
          sdetweil @Sceetch
          last edited by Oct 18, 2024, 6:06 PM

          @Sceetch said in PIR wake up automatically!:

          [MMM-Pir] [LIB] [PIR] Mode 0 Selected (onoff library)

          I have seen troubles reported with mode zero.
          i dont use this myself

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • 1
          • 2
          • 2 / 2
          2 / 2
          • First post
            12/14
            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