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

    Posts

    Recent Best Controversial
    • further errors

      Re: Accessing config.js and file explorer on laptop

      Just an addition to my response which is waiting approving, I put the MMM-worldclock back in and there were no additional errors, I then did the same for the MMM-ISS-Live and get the following error:

      0|MagicMir | [10273:0802/102811.267692:ERROR:gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc:1095] [GroupMarkerNotSet(crbug.com/242999)!:A03058003C000000]Automatic fallback to software WebGL has been deprecated. Please use the --enable-unsafe-swiftshader (about:flags#enable-unsafe-swiftshader) flag to opt in to lower security guarantees for trusted content.
      

      Should I post this as a separate post for the module? I now seem to have a handle on how to work out what errors are occuring even if I don’t know how to fix it!!
      :)

      posted in Troubleshooting
      B
      British_Kiwi
    • RE: Accessing config.js and file explorer on laptop

      @sdetweil you must be getting very sick of me!
      Those scripts you gave me have been fantastic. I’ve also made my own change log to track my changes to the config file and will do the same with custom.css once I get started.

      I added a world clock and the ISS space station module and started getting some errors. I have managed to remove most, and going to slowly apply things again. Currently both are commented out on the config file for the time being so I can isolate the issue.

      I am now left with two, one is the ipWhiteList warning, which is fine and then I get the following:

      0|MagicMir | /home/admin/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
      

      I did a search and since then I have updated Raspian, I have run your script:

      bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
      
      

      but I still have it.
      If it helps pm2 -v is 6.0.8, npm -v is 10.9.2, node -v is 22.17.1

      p.s. thanks for fixing the ‘code’ in one of my previous replies, I’m being extra careful to mark up codes.

      posted in Troubleshooting
      B
      British_Kiwi
    • RE: Accessing config.js and file explorer on laptop

      @sdetweil right that’s great and really helpful. The more I am learning, the more I am realising I wasnt quite using the right commands. I’ve tested doing a small change and seems no errors. When I get back I will test making changes through Bitvise and all going well, will go ahead and make lots of changing.
      Thank you so much!!

      posted in Troubleshooting
      B
      British_Kiwi
    • RE: Accessing config.js and file explorer on laptop

      Okay, so I have been doing a bit of testing and trying to work out what is happening and when. Sort of worked out where to check logs and which logs and using a combination of the main terminal, Bitvise and Raspberry Pi Connect to try different things. I think some of the issues, might be related to how I am interacting with it.

      I have reinstalled RPiOS and MagicMirror. I have also set up the autostart using pm2. This seems to run and open MM with no errors.

      If I was to add a module or change the config file, I would then use

      npm run start
      

      to run the MM. I have also started using

      npm run start:wayland
      

      helps with some things, but having port issues. I am guessing that this might be due to the autostart and I am not sure how to stop MM running when I am developing it. I had used ctrl_Q, but MM just reruns. Or is that all I need to do?

      I am finding that if I turn off the RPi and then turn it on, MM runs with no issues. If I try to run it using the above npm command, I get the following errors:

      admin@raspberrypihome:~ $ cd MagicMirror
      admin@raspberrypihome:~/MagicMirror $ npm run start:wayland
      
      > magicmirror@2.32.0 start:wayland
      > WAYLAND_DISPLAY="${WAYLAND_DISPLAY:=wayland-1}" ./node_modules/.bin/electron js/electron.js --enable-features=UseOzonePlatform --ozone-platform=wayland
      
      [2025-08-01 06:24:34.441] [LOG]   Starting MagicMirror: v2.32.0 
      [2025-08-01 06:24:34.452] [LOG]   Loading config ... 
      [2025-08-01 06:24:34.453] [LOG]   config template file not exists, no envsubst 
      [2025-08-01 06:24:34.654] [INFO]  Checking config file /home/admin/MagicMirror/config/config.js ... 
      [2025-08-01 06:24:34.690] [INFO]  Your configuration file doesn't contain syntax errors :) 
      [2025-08-01 06:24:34.691] [INFO]  Checking modules structure configuration ... 
      [2025-08-01 06:24:34.728] [INFO]  Your modules structure configuration doesn't contain errors :) 
      [2025-08-01 06:24:34.729] [LOG]   Loading module helpers ... 
      [2025-08-01 06:24:34.730] [LOG]   No helper found for module: alert. 
      [2025-08-01 06:24:34.733] [LOG]   Initializing new module helper ... 
      [2025-08-01 06:24:34.733] [LOG]   Module helper loaded: updatenotification 
      [2025-08-01 06:24:34.734] [LOG]   No helper found for module: clock. 
      [2025-08-01 06:24:34.794] [LOG]   Initializing new module helper ... 
      [2025-08-01 06:24:34.794] [LOG]   Module helper loaded: calendar 
      [2025-08-01 06:24:34.795] [LOG]   No helper found for module: compliments. 
      [2025-08-01 06:24:34.795] [LOG]   No helper found for module: weather. 
      [2025-08-01 06:24:34.830] [LOG]   Initializing new module helper ... 
      [2025-08-01 06:24:34.831] [LOG]   Module helper loaded: newsfeed 
      [2025-08-01 06:24:34.831] [LOG]   All module helpers loaded. 
      [2025-08-01 06:24:34.834] [LOG]   Starting server on port 8080 ...  
      [2025-08-01 06:24:35.229] [ERROR] Whoops! There was an uncaught exception... 
      [2025-08-01 06:24:35.233] [ERROR] Error: listen EADDRINUSE: address already in use ::1:8080
          at Server.setupListenHandle [as _listen2] (node:net:1940:16)
          at listenInCluster (node:net:1997:12)
          at GetAddrInfoReqWrap.callback (node:net:2206:7)
          at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:134:8) {
        code: 'EADDRINUSE',
        errno: -98,
        syscall: 'listen',
        address: '::1',
        port: 8080
      } 
      [2025-08-01 06:24:35.234] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 
      [2025-08-01 06:24:35.234] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MagicMirrorOrg/MagicMirror/issues 
      [2025-08-01 06:24:35.591] [INFO]  System information:
      ### SYSTEM:   manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 5 Model B Rev 1.1; virtual: false
      ### OS:       platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.12.34+rpt-rpi-2712
      ### VERSIONS: electron: 36.7.3; used node: 22.17.1; installed node: 22.17.1; npm: 10.9.2; pm2: 6.0.8
      ### OTHER:    timeZone: Australia/Melbourne; ELECTRON_ENABLE_GPU: undefined 
      

      The config file is not changed at all. When I started getting a different port in use issue, I tried to find what else was using it, but I couldn’t find anything else.
      I wasn’t too sure if running Raspberry Pi Connect was causing an issue.
      I suspect I am just using this incorrectly. Once I resolve it, I can start making proper changes.

      Thanks in advance!

      posted in Troubleshooting
      B
      British_Kiwi
    • RE: Can I use Dell P2424HT as a touchscreen with MM & RPi5?

      I thought I would post the solution (almost tested), we bought a hdmi to usb-c with usb power cable. We thought we had bought micro hdmi but seems not. Down side i broke the micro hdmi to hdmi adapter so once I get a new one the touch screen will work.

      posted in Hardware
      B
      British_Kiwi
    • RE: Accessing config.js and file explorer on laptop

      @sdetweil sorry for the delay in responding, have been at work.

      I seem to be getting different responses when I do this straight into the RPi and if I do it through BitVise.

      On the command prompt on the RPi, if I type ```
      npm run start:wayland

      
      On the terminal through BitVise if I do the same command, it doesn't run and I get this:
      
      > magicmirror@2.32.0 start:wayland
      > WAYLAND_DISPLAY="${WAYLAND_DISPLAY:=wayland-1}" ./node_modules/.bin/electron js/electron.js --enable-features=UseOzonePlatform --ozone-platform=wayland
      
      

      [2025-07-29 21:22:53.476] [LOG] Starting MagicMirror: v2.32.0
      [2025-07-29 21:22:53.486] [LOG] Loading config …
      [2025-07-29 21:22:53.487] [LOG] config template file not exists, no envsubst
      [2025-07-29 21:22:53.680] [INFO] Checking config file /home/admin/MagicMirror/config/config.js …
      [2025-07-29 21:22:53.715] [INFO] Your configuration file doesn’t contain syntax errors :)
      [2025-07-29 21:22:53.716] [INFO] Checking modules structure configuration …
      [2025-07-29 21:22:53.750] [INFO] Your modules structure configuration doesn’t contain errors :)
      [2025-07-29 21:22:53.751] [LOG] Loading module helpers …
      [2025-07-29 21:22:53.752] [LOG] No helper found for module: clock.
      [2025-07-29 21:22:53.810] [LOG] Initializing new module helper …
      [2025-07-29 21:22:53.810] [LOG] Module helper loaded: calendar
      [2025-07-29 21:22:53.810] [LOG] No helper found for module: MMM-CalendarExt3.
      [2025-07-29 21:22:53.811] [LOG] No helper found for module: weather.
      [2025-07-29 21:22:53.840] [LOG] Initializing new module helper …
      [2025-07-29 21:22:53.840] [LOG] Module helper loaded: newsfeed
      [2025-07-29 21:22:53.859] [LOG] Initializing new module helper …
      [2025-07-29 21:22:53.859] [LOG] Module helper loaded: MMM-Remote-Control
      [2025-07-29 21:22:53.859] [LOG] All module helpers loaded.
      [2025-07-29 21:22:53.863] [LOG] Starting server on port 8080 …
      [2025-07-29 21:22:53.864] [WARN] You’re using a full whitelist configuration to allow for all IPs
      [2025-07-29 21:22:54.124] [LOG] Server started …
      [2025-07-29 21:22:54.129] [LOG] Connecting socket for: calendar
      [2025-07-29 21:22:54.130] [LOG] Starting node helper for: calendar
      [2025-07-29 21:22:54.130] [LOG] Connecting socket for: newsfeed
      [2025-07-29 21:22:54.130] [LOG] Starting node helper for: newsfeed
      [2025-07-29 21:22:54.131] [LOG] Connecting socket for: MMM-Remote-Control
      [2025-07-29 21:22:54.131] [LOG] Starting node helper for: MMM-Remote-Control
      [2025-07-29 21:22:54.136] [LOG] Sockets connected & modules started …
      [6004:0729/212254.138193:ERROR:ui/ozone/platform/wayland/host/wayland_connection.cc:202] Failed to connect to Wayland display: No such file or directory (2)
      [6004:0729/212254.138473:ERROR:ui/ozone/platform/wayland/ozone_platform_wayland.cc:277] Failed to initialize Wayland platform
      [6004:0729/212254.138558:ERROR:ui/aura/env.cc:257] The platform failed to initialize. Exiting.
      /home/admin/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV

      On Bitvise if I missout the wayland bit then MM will load, but those error messages appear.
      posted in Troubleshooting
      B
      British_Kiwi
    • RE: Accessing config.js and file explorer on laptop

      @sdetweil thanks for helping with this. I have just done a quick linked in learning about Linux command prompt, which is helping, but I have a feeling I might have been trying to install things more than needed. I can’t get pm2 to work, though looks like there is a folder.

      These are the errors that seem to appear, I did find some other posts and tried them, but either I didn’t do them properly or this isn’t the same thing.

      [2025-07-29 06:47:24.231] [LOG]   Sockets connected & modules started ...
      [19099:0729/064724.417901:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2)
      [19099:0729/064724.418394:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2)
      [19099:0729/064724.418868:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2)
      [19099:0729/064724.419141:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2)
      [19099:0729/064724.419366:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2)
      [19099:0729/064724.419542:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2)
      [19099:0729/064724.419930:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2)
      [19099:0729/064724.420206:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2)
      [19099:0729/064724.420709:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2)
      [19099:0729/064724.420904:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2)
      [19099:0729/064724.421163:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2)
      [19099:0729/064724.421323:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2)
      [19099:0729/064724.421518:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2)
      [19099:0729/064724.421654:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2)
      [19099:0729/064724.421898:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2)
      [19099:0729/064724.422074:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2)
      [19099:0729/064724.424348:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2)
      [19099:0729/064724.425449:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2)
      [19099:0729/064724.425746:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2)
      [19099:0729/064724.425962:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2)
      [19099:0729/064724.426177:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2)
      [19099:0729/064724.426333:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2)
      [19099:0729/064724.426521:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2)
      [19099:0729/064724.426656:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2)
      [19099:0729/064724.426836:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2)
      [19099:0729/064724.426967:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2)
      [19099:0729/064724.427177:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2)
      [19099:0729/064724.427351:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2)
      [19099:0729/064724.427549:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2)
      [19099:0729/064724.427678:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2)
      [19099:0729/064724.427836:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2)
      [19099:0729/064724.428024:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2)
      [2025-07-29 06:47:24.453] [LOG]   Launching application.
      [2025-07-29 06:47:24.865] [INFO]  System information:
      ### SYSTEM:   manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 5 Model B Rev 1.1; virtual: false
      ### OS:       platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.12.34+rpt-rpi-2712
      ### VERSIONS: electron: 36.6.0; used node: 22.17.1; installed node: 22.17.1; npm: 10.9.2; pm2: 6.0.8
      ### OTHER:    timeZone: Australia/Melbourne; ELECTRON_ENABLE_GPU: undefined
      

      There is a further error to do with MMM-Remote Control, but I think that one looks straightforward (could not get calendar defaults - will check this later)

      Any suggestions? Thanks again!

      posted in Troubleshooting
      B
      British_Kiwi
    • RE: Accessing config.js and file explorer on laptop

      @BKeyport thanks for all the options. I might try some later and see which I prefer. Seem to be able to use BitVise so far, though realised if I run it from the command prompt and then close the prompt, MM disappears, but that’s okay for now.

      posted in Troubleshooting
      B
      British_Kiwi
    • RE: Accessing config.js and file explorer on laptop

      @TheBodger thanks. I ended up doing Bitvise, finally got it working. Made such a huge difference. I did come across a load of errors on running (npm run start) that I think I’d been selectively ignoring, but a search on the forum seems that most people just ignore it, so will do so for now.

      posted in Troubleshooting
      B
      British_Kiwi
    • RE: Accessing config.js and file explorer on laptop

      @sdetweil that’s great thanks. My job for the morning! Im sure I’ll have more questions then 😀

      posted in Troubleshooting
      B
      British_Kiwi
    • Accessing config.js and file explorer on laptop

      Hi
      So I am new to all this, and gradually working my way through things. Coding experience is more vba than anything, though I did do some javascript sooooo many years ago.

      I have RPi 5, and gradually adding modules with variable success. I’m trying to do some coding from my laptop as monitor is on wall and would be easier to code form the sofa :)
      Anyway, I have managed to run the MMM-Remote-Control, not all the features work, but I’m sure it will just take a bit of time.

      Although there seems to be an option to amend the config.js through this page, I would love to be able to open the file explorer and to open the config.js like I can do direct on the raspberry. Is it possible? I can access the command prompt for the RPi through SSH.
      Any pointers?
      Thanks in advance

      posted in Troubleshooting
      B
      British_Kiwi
    • RE: Can I use Dell P2424HT as a touchscreen with MM & RPi5?

      @sdetweil thank you, but we tried this. we tried a USB C to HDMI cable, and then the micro HDMI adapter to plug into the RPi, We also tried a HDMI to USB adapter at the monitor end. Each time the monitor didn’t recognise any input. The monitor looked like it could see the USB C connection, but it wouldn’t display anything.

      posted in Hardware
      B
      British_Kiwi
    • Can I use Dell P2424HT as a touchscreen with MM & RPi5?

      Hi from Australia
      I’m just setting up my MM and had bought a touchscreen (Dell P242HT) to set it up with. It says that the touchscreen only works with the USB C connection, however, I did find a reddit post that they had got the same monitor working with the RPi5. However, they then stated that they ended up not using MM as it was more passive and used something else.

      Before I return the new monitor for a non-touchscreen, can someone please tell me if it is possible to use this set-up with MM? As much as I would love some touchscreen functionality, my heart isn’t fully set on it, but I don’t want to spend hours trying to work it out (noob to this type of coding and been a long time since I did any javascript) and then find I can’t return the monitor.

      Hope this is making sense. The sort of thing was hoping was either swiping pages, or clicking on events on a google calendar to see more detail etc.

      Thanks :)

      posted in Hardware
      B
      British_Kiwi
    • 1
    • 2
    • 2 / 2