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

    Posts

    Recent Best Controversial
    • RE: Issues with MMM-Button

      @KristjanESPERANTO I set up a fresh MagicMirror instance and checked the https://github.com/MarcLandis/MMM-Buttons repository. As a result I get the same issue:

      [2025-06-09 22:57:35.709] [ERROR] Whoops! There was an uncaught exception... 
      [2025-06-09 22:57:35.718] [ERROR] Error: EINVAL: invalid argument, write
          at Object.writeFileSync (node:fs:2426:20)
          at exportGpio (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/onoff/onoff.js:18:8)
          at new Gpio (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/onoff/onoff.js:172:36)
          at Class.intializeButton (/home/pi/MagicMirror/modules/MMM-Buttons/node_helper.js:89:19)
          at Class.intializeButtons (/home/pi/MagicMirror/modules/MMM-Buttons/node_helper.js:105:18)
          at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-Buttons/node_helper.js:28:18)
          at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:91:10)
          at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:462:26)
          at Socket._onpacket (/home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:430:22)
          at /home/pi/MagicMirror/node_modules/socket.io/dist/client.js:214:24
          at process.processTicksAndRejections (node:internal/process/task_queues:85:11) {
        errno: -22,
        code: 'EINVAL',
        syscall: 'write'
      }
      

      …Yesterday evening I tried to fix the issue of not beingable to control the MagicMirror using some buttons. Digged into the original module, asked help of ChatGPT, debugged some functions and as a result I have a running version for Bookworm.
      I’ll try to put this in a Github Repo - will update this thread as soon as I did :)

      @sdetweil You’ve said that I only need to change some settings in the rasp-config. Do you have any additional information what needs to be changed?

      posted in Troubleshooting
      S
      schlomm
    • RE: Official Bullseye OS 32 Bit for Raspberry Pi 3B

      @Rags As faw as I know “armhf” is the 32bit equivalent.
      Bullseye-Full 32Bit should be her: https://downloads.raspberrypi.org/raspios_full_armhf/images/raspios_full_armhf-2023-05-03/

      posted in General Discussion
      S
      schlomm
    • RE: Issues with MMM-Screen-Powersave-Notification

      @Rags Allow me to go a few steps back - maybe we can find a solution for your problem. In my opinion the problem is not caused by any MagicMirror specific issue, but it’s based on your overall setup.

      0.) Reflash your image. Since I do not have any experiences with Trixie, I would suggest to use Bookworm. Ensure that you are using the the image with Desktop Envionment - here you can interactively change the resolution and orientation.
      1.) Update the system to latest version using the following command:

      apt update && apt full-upgrade -y && apt autoremove -y && apt clean
      

      2.) Restart your system
      3.) Set the resolution and orientation using the System Preferences
      4.) Use @sdetweil script for installing the MagicMirror. The script can be found here: https://github.com/sdetweil/MagicMirror_scripts?tab=readme-ov-file#install-magicmirror
      5.) Install your module (MMM-Screen-Powersave-Notification) and configure it for using the wlr-randr_control. wlr is used by default in Bookworm.

      posted in Utilities
      S
      schlomm
    • RE: help needed

      @rkorell Which shop did you use for your glases? I’ve ordered mine at glasstar.de, but yes - not cheap!

      posted in Show your Mirror
      S
      schlomm
    • RE: Issues with MMM-Button

      @KristjanESPERANTO Argh…I didn’t see that :-/ Nevermind…at least I’ve learned something about the Module…

      posted in Troubleshooting
      S
      schlomm
    • RE: Need "correct" version of node-libgpiod ....

      @rkorell Thanks for publishing your great module. I already use it and hell yeah - it’s great :)
      I was also able to make the needed modification to my “Buttons”-module using the node-libgpiod package. Main reason why it was not working was the missing postinstall script.

      Thanks and “schöne Grüße” :)

      posted in Troubleshooting
      S
      schlomm
    • 1 / 1