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.

    MMM-Pinfo problem on Rpi5

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 4 Posters 463 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.
    • kayakbabeK Offline
      kayakbabe
      last edited by kayakbabe

      I got the Vilros V4 mirror so I didn’t have to source stuff. And I want to know the impact of the construction and venting limitations on the new RaspberryPi 5 that I have. I have installed MMM-Pinfo and having problems. I think that the rpi5 is too fast for async to get the data before the pi trying to use it. Or something like that. I tried out some of the other cpu stats modules and they all have problems. But they are pretty old too. MMM-Pinfo works on my rpi4. And all my other modules are displaying fine. I’ve disabled the other modules to make sure they weren’t a problem and I think it comes down to the node_helper.js in the MMM-Pinfo. Or the package systeminformation being updated broke something. But then I think the error would be different. For sure nothing is coming back from systeminfomation. I only see the loading messages.

      here is what is in my pm2 logs:

      at new Promise (<anonymous>:null:null)
      0|MagicMir |     at Class.getCPUInfo (/home/kelly/MagicMirror/modules/MMM-Pinfo/node_helper.js:167:16)
      0|MagicMir |     at Class.collectDynamicInfo (/home/kelly/MagicMirror/modules/MMM-Pinfo/node_helper.js:82:20)
      0|MagicMir |     at Class.scheduler (/home/kelly/MagicMirror/modules/MMM-Pinfo/node_helper.js:69:9)
      0|MagicMir | 
      0|MagicMir | (Use `electron --trace-warnings ...` to show where the warning was created)
      0|MagicMir | [25.01.2024 23:15.36.946] [ERROR] (node:7179) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
      

      And this forum topic made me think my pi is too fast and so maybe Pinfo needs working over maybe sothe script can wait on the answer from the systeminformation?

      https://forum.magicmirror.builders/topic/15539/async-functions-inside-node_helper-js/5

      i’m not sure quite how to start, but I will try if you all think that is what is probably going on. I’m not quite a newbie but haven’t touched this since last year and I’m definitely no expert.

      1 Reply Last reply Reply Quote 0
      • I Offline
        ImAStreamer
        last edited by

        I’m having the exact same issue on my rpi5. None of the data will load and the same general error. Anyone with a rpi5 get this to work or have another module that will display the stats? Thanks!

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          rkorell @ImAStreamer
          last edited by rkorell

          @ImAStreamer , @kayakbabe ,
          sorry for digging up this old topic but are there any news on this?
          There are several modules for system stats but not in that nice manner of MMM-Pinfo.
          I guess the systeminfo library doesn’t work on PI5…

          Is anybody able to adopt this or has anybody already done this?

          Module search doesn’t give a hint…
          Any idea highly appreciated!
          Ralf

          S 1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil @rkorell
            last edited by sdetweil

            @rkorell the module has issues open and a ‘workaround’

            always check the module repo first

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              rkorell @sdetweil
              last edited by

              @sdetweil thanks.
              Regards,
              Ralf

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