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

    mumblebaj

    @mumblebaj

    Module Developer

    Part-time Module Developer. Develop what I need .

    151
    Reputation
    883
    Profile views
    792
    Posts
    5
    Followers
    0
    Following
    Joined
    Last Online
    Age 52
    [[user:website]] mumbleb.com/
    [[user:location]] South Africa

    mumblebaj Unfollow Follow
    Project Sponsor Module Developer
    • MMM-Growatt

      MMM-Growatt
      Module that displays data from your Growatt Inverter.
      image-6.png

      Module Dependencies:

      • growatt v0.3.0

      • Requires an account on server.growatt.com

      Module Config:

      {
                 module: "MMM-Growatt",
                 position: "middle_center", //Works best at middle_center. May not display all that well in other positions
                 disabled: false,
                 config: {
                     username: "username",
                     password: "password",
                     plantId: "plantId", // Can be obtained from the Growatt site by checking your Plant information. This can be accessed from the left side of the screen
                     updateInterval: 1000*60*30 ,//Update every 30 minutes
                     deviceSerial: "deviceSerial" //This is the device serial number. Can be found under Input Search Number. 
                             }
      },
      

      Installation Steps:

      cd ~/MagicMirror/modules
      git clone https://github.com/mumblebaj/MMM-Growatt.git
      cd MMM-Growatt
      npm install
      

      For any issues please open an issue on the module Github Issues page

      posted in Utilities
      mumblebajM
      mumblebaj
    • RE: Need help on monitor power

      @ashishtank I use MMM-Networkscanner and control my screen via that. If it does not detect my device residents then it powers the monitor off and when the device is detected on the network then it powers the monitor on. That way when I go out it powers the monitor off automatically and powers it on when I am back home.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Upcoming Release April 1, 2026 , breaking changes, some operational changes

      @sdetweil All my modules are working well on the dev branch. 🤞

      posted in Upcoming Features
      mumblebajM
      mumblebaj
    • Having trouble with screen on and off? Here are some tips that could help

      Hey guys,

      I have updated the scripts below to reflect what works now for wayland. Have also added a crontab ready script to start MM.

      Just a little note for for those who are struggling.

      I have recently upgraded from my RPi 3B+ to RPi 5 4GB. MM has been running fine for a while now and all my modules are running sweet.

      One thing I have been struggling with was getting the Pi to shut off the output at night and then on again in the morning. The old way, vcgencmd display_power 0 and vcgencmd display_power 1 does not work on the RPi5.

      In order to get things working again, and after a lot of research I have managed to get this working now. Below are 2 scripts that I have which are called from crontab at specified times.

      You have to ensure that both of the below scripts are executeable. To do this you need to run the following command. chmod +x mon.sh mof.sh from the command prompt.

      mof.sh - Monitor Off. Works for X11 Compositor.
      Create a file: nano mof.sh and add the below.

      #!/bin/bash
      export WAYLAND_DISPLAY=wayland-1
      export XDG_RUNTIME_DIR=/run/user/1000
      /usr/bin/wlr-randr --output HDMI-A-1 --off
      

      Since update to 2.35.0 Wayland: The below is now valid for Wayland. Biggest change is that it is now wayland-0.

      #!/bin/bash
      export WAYLAND_DISPLAY=wayland-0
      export XDG_RUNTIME_DIR=/run/user/1000
      /usr/bin/wlr-randr --output HDMI-A-1 --off
      

      Explanation

      • Declare a variable for WAYLAND_DISPLAY
      • Declare a variable for XDG_RUNTIME_DISPLAY (I had an issue with this and only found recently that I needed to declare this as well in the script)
      • Execute the wlr-randr command to turn off the display

      mon.sh - Monitor On. Works for X11 Compositor
      Create a file: nano mon.sh and add the below to it.

      #!/bin/bash
      export WAYLAND_DISPLAY=wayland-1
      export XDG_RUNTIME_DIR=/run/user/1000
      /usr/bin/wlr-randr --output HDMI-A-1 --on --mode 1920x1080@60Hz --transform 270
      

      And for 2.35.0 update:

      #!/bin/bash
      export WAYLAND_DISPLAY=wayland-0
      export XDG_RUNTIME_DIR=/run/user/1000
      /usr/bin/wlr-randr --output HDMI-A-1 --on --mode 1920x1080@60Hz --transform 270
      

      Explanation

      • Declare a variable for WAYLAND_DISPLAY
      • Declare a variable for XDG_RUNTIME_DISPLAY (I had an issue with this and only found that I needed to declare this as well in the script)
      • Execute the wlr-randr command to turn on the display
      • lI have to supply options to this command as I needed to ensure that when the monitor is turned on, it has the same pixilation and rotation etc. This is achieved by passing --mode 1929x1080@60Hz and to ensure it is flipped 90 degrees I pass the option --transform 270.

      To obtain your current screen settings you run wlr-randr from the command prompt and you will be shown the current settings for your mirror. You can then use those values and substitute them for the values above if yours is different. This will also confirm if your monitor is HDMI-A-1 or if it is called something else.

      Crontab
      To instantiate a crontab you do crontab -e from the command line.
      Add the following entries at the bottom of the file.

      00 06 * * * /home/pi/mon.sh >> /home/pi/mon.log 2>&1
      00 21 * * * /home/pi/mof.sh >> /home/pi/mof.log 2>&1
      

      From the above, it will turn the output on at 6am and turn it off at 9pm.

      One added bonus script that could save others. I use this to start MM from the cron. This works for wayland compositor.

      #!/bin/bash
      set -e
      
      sleep 5
      
      export PATH=/usr/local/bin:/usr/bin:/bin
      export WAYLAND_DISPLAY=wayland-0
      export XDG_RUNTIME_DIR=/run/user/1000
      
      cd /home/pi/MagicMirror
      exec /usr/bin/npm run start:wayland
      

      Hope this helps somebody.

      posted in Tutorials
      mumblebajM
      mumblebaj
    • MMM-Rugby

      Description:
      Module created to display World Rugby Rankings and Match data. Match Data based on a few different Rugby Competition Types and Leagues.

      No Subscriptions required!

      • WRS - Woman’s Sevens Series 2024
      • MRS - Mens Sevens Series 2024
      • JMU - U20 Six Nations 2024
      • MRU - Mens Rugby Union
        • Six Nations 2024
        • Rugby Europe International Championship 2024
        • Men’s Internationals 2024
        • Rugby Europe Trophy 2024
        • Rugby Europe Conference 2024
        • Autumn Nations Series 2024
        • The Rugby Championship 2024:

      Screenshots:
      World Rugby Standings
      screenshot.png

      Mens Rubgy Union
      screenshot-2.png

      Woman’s Sevens
      screenshot-3.png

      API-SPORTS League Ranking
      screenshot-7.png

      API-SPORTS Match Data
      screenshot-8.png

      Version 1.0.1
      initial

      Version 1.0.2
      Added option to filter by Leagues.

      Upcoming Features

      • Filter MRU by Leagues

      Version 1.1.0

      • Have updated the module to add a second option of API-SPORT.

      • API-Sports require an API-KEY so user must register for an API-KEY. API-KEY allows for 100 free requests per day.

      • Module still supports free option. This can be toggled between free and apiSport by using the collectionType.

      • Have made updates to the free table displays.

      Version 1.1.2
      Feature has now been tested and merged to live
      Still in testing. Release in the next day or two.

      • Add an autoUpdate option which allows the application to manage the updateInterval. This will let the application update as per the updateInterval Sunday to Friday, i.e. if updateInterval has been set to update hourly, it will update Sunday to Friday hourly but on Saturdays it will update every 30 minutes. As Saturdays are generally game day, it is best to update half-hourly to get a refreshed score for current games.

      Version 1.1.3
      Added translations for fr and en. PR’s welcome for any other language support required

      Version 1.1.5

      • Update country flags with team club flags for URC 2025.
      posted in Sport
      mumblebajM
      mumblebaj
    • RE: MMM-Reddit "No valid posts to display"

      @sdetweil I had a look and made some changes to the module and it is working. Created a PR but don’t know if the owner would accept as it has been 3 to 5 years since he last made any changes.

      Guys can use the below if they want:
      https://github.com/mumblebaj/MMM-Reddit

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Compatibility with raspberry Pi 5 right now and in the future.

      @karsten13 @BKeyport and @Linas123 I have been running MM on trixie since Feb or April I think, No issues. Only issues I had was with the control of my monitor on and off via a scripts but I documented that and posted it in the forum as well.

      posted in Hardware
      mumblebajM
      mumblebaj
    • RE: config,js beginner

      @berne You are missing a comma after the closing bracket of MMM-awesome-alexa. It should be },

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: CALL FOR TESTERS: New install script

      @drdeath I think what the guys were saying or are trying to say, is that for the standard MM user, looking at the script and seeing “coded” code they may be hesitant to test the script. Although it can easily be decoded with echo 'base64 string' | base64 -d which would reveal the coded strings, the normal user does not know this.

      It does make the script so much smaller but for a newb looking at that would scare them away.

      Just my 2pence.

      posted in General Discussion
      mumblebajM
      mumblebaj
    • RE: MMM-MailMessage feature

      @ge You can possibly raise a new feature request on the modules Github page. Module was last updated 2 years ago though. You can clone the module and make the additions yourself as well. 😉

      posted in Feature Requests
      mumblebajM
      mumblebaj
    • RE: Upgrade

      @sdetweil Yeah, warnings come from 11.16.0+

      posted in Bug Hunt
      mumblebajM
      mumblebaj
    • RE: Upgrade

      @sdetweil I see some major changes coming down the line for npm v12.

      https://github.blog/changelog/2026-07-08-npm-install-time-security-and-gat-bypass2fa-deprecation/

      posted in Bug Hunt
      mumblebajM
      mumblebaj
    • RE: Upgrade

      @sdetweil Just ran it quickly and it seems like it installed 22.22.2

      mumble@pi:~ $ sudo n
           copying : node/22.21.1
         installed : v22.21.1 (with npm 10.9.4)
      mumble@pi:~ $ node -v
      v22.21.1
      mumble@pi:~ $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
      update log will be in /home/mumble/MagicMirror/installers/upgrade.log
      doing test run = false
      Node currently installed. Checking version number.
      Minimum Node version: v22.22.2
      Installed Node version: v22.21.1
      installing correct version of node and npm, please wait
      Check current Node installation ...
      Node currently installed. Checking version number.
      Minimum Node version: v22.21.1
      Installed Node version: v22.22.2
      No Node.js upgrade necessary.
      Check current NPM installation ...
      NPM currently installed. Checking version number.
      Minimum npm version: V10.9.7
      Installed npm version: V10.9.7
      No npm upgrade necessary.
      
      
      upgrading from version 2.37.0 to 2.37.0
      force: line 762: pm2: command not found
      some node app still running, please shutdown those apps, maybe MagicMirror, and restart
      here is a list of those processes
      
      posted in Bug Hunt
      mumblebajM
      mumblebaj
    • RE: Upgrade

      @sdetweil No worries. I will check tomorrow after work and downgrade node and install again. Will advise

      posted in Bug Hunt
      mumblebajM
      mumblebaj
    • RE: Upgrade

      @sdetweil Yeah, I saw that so not sure where that 22.22.2 came from but it was there as can bee seen in the previous post. I had to install 22.22.2 and then only would MM install. Was weird.

      As for the SD card failure, I don’t know why this is but when I upgraded in April the card failed. When I upgraded now the first time the card failed so I had to setup a new one again.

      posted in Bug Hunt
      mumblebajM
      mumblebaj
    • RE: Upgrade

      @sdetweil Hi Sam. Apologies for the late reply. See below.

      mble@pi:~ $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
      
      $$\      $$\                     $$\           $$\      $$\ $$\                                          $$$$$$\
      $$$\    $$$ |                    \__|          $$$\    $$$ |\__|                                        $$  __$$\
      $$$$\  $$$$ | $$$$$$\   $$$$$$\  $$\  $$$$$$$\ $$$$\  $$$$ |$$\  $$$$$$\   $$$$$$\   $$$$$$\   $$$$$$\  \__/  $$ |
      $$\$$\$$ $$ | \____$$\ $$  __$$\ $$ |$$  _____|$$\$$\$$ $$ |$$ |$$  __$$\ $$  __$$\ $$  __$$\ $$  __$$\  $$$$$$  |
      $$ \$$$  $$ | $$$$$$$ |$$ /  $$ |$$ |$$ /      $$ \$$$  $$ |$$ |$$ |  \__|$$ |  \__|$$ /  $$ |$$ |  \__|$$  ____/
      $$ |\$  /$$ |$$  __$$ |$$ |  $$ |$$ |$$ |      $$ |\$  /$$ |$$ |$$ |      $$ |      $$ |  $$ |$$ |      $$ |
      $$ | \_/ $$ |\$$$$$$$ |\$$$$$$$ |$$ |\$$$$$$$\ $$ | \_/ $$ |$$ |$$ |      $$ |      \$$$$$$  |$$ |      $$$$$$$$\
      \__|     \__| \_______| \____$$ |\__| \_______|\__|     \__|\__|\__|      \__|       \______/ \__|      \________|
                             $$\   $$ |
                             \$$$$$$  |
                              \______/
      
      install log being saved to /home/mumble/install.log
      Updating packages ...
      Installing helper tools ...
      nvm_command is sudo n v22.21.1
      installing correct version of node and npm, please wait
      Check current Node installation ...
      Node currently installed. Checking version number.
      Minimum Node version: v22.21.1
      Installed Node version: v22.21.1
      No Node.js upgrade necessary.
      Check current NPM installation ...
      NPM currently installed. Checking version number.
      Minimum npm version: V10.9.4
      Installed npm version: V10.9.4
      No npm upgrade necessary.
      Cloning MagicMirror ...
      Cloning into 'MagicMirror'...
      remote: Enumerating objects: 509, done.
      remote: Counting objects: 100% (509/509), done.
      remote: Compressing objects: 100% (406/406), done.
      remote: Total 509 (delta 118), reused 319 (delta 93), pack-reused 0 (from 0)
      Receiving objects: 100% (509/509), 572.14 KiB | 9.54 MiB/s, done.
      Resolving deltas: 100% (118/118), done.
      Cloning MagicMirror Done!
      Installing dependencies ...
      npm error code EBADENGINE
      npm error engine Unsupported engine
      npm error engine Not compatible with your version of node/npm: eslint-plugin-package-json@1.5.0
      npm error notsup Not compatible with your version of node/npm: eslint-plugin-package-json@1.5.0
      npm error notsup Required: {"node":"^22.22.2 || >=24.15.0"}
      npm error notsup Actual:   {"npm":"10.9.4","node":"v22.21.1"}
      npm notice
      npm notice New major version of npm available! 10.9.4 -> 11.18.0
      npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.18.0
      npm notice To update run: npm install -g npm@11.18.0
      npm notice
      npm error A complete log of this run can be found in: /home/mumble/.npm/_logs/2026-07-04T07_32_18_929Z-debug-0.log
      Unable to install dependencies!
      

      I had to manually install v22.22.2 before I could install MM.

      posted in Bug Hunt
      mumblebajM
      mumblebaj
    • Upgrade

      Hi @sdetweil Howzit Sam? I upgraded using the upgrade script this weekend on my Mirror. However, I ran into an issue. The script installed Node 22.21.1 but MM requires 22.22.2. Not sure if this is just an oversight? I also noticed that it installed an earlier version of npm that is also not supported.

      I checked the install log and there is not much going on in there.

      I had to manually install node 22.22.2 and npm v11 before it worked.

      Just thought I would give you the heads-up.

      Besides the issue with the install, the upgrade is the second one that crashed my MicroSD. The one in April and now this one as well. I suspect something might be doing this. My SD card could not have gone within 4 month. But hey, i might be wrong.

      posted in Bug Hunt
      mumblebajM
      mumblebaj
    • RE: MMM-Reddit 403 error

      @kasperb So, verdict is as follows:

      Reddit no longer allows anonymous JSON fetches. This is now officially dead.

      I can maybe make it work for users who have OAuth creds, but I would need to know if it would be worth the while me making those changes, i.e. are there current users of the module who have OAuth creds or not? If not then this module is unfortunately “as good as dead”.

      They, Reddit, have moved onto Devvit which is hosted inside Reddit’s platform and handles authentication for apps built on the platform. Not used for external apps.

      If there are any users who have OAuth creds, let me know and I will update the module, else I will have to shelve this one.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: MMM-Reddit 403 error

      @kasperb Reddit has started to explicitly block unknown browser/user activity. I am busy researching what has changed and how to get this working. Thought supplying an explicit userAgent would resolve the issue with that is not working.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: MM clock reverted to UTC

      @smegbadger Not sure if this would work for you but you can set this in you docker-compose.yml under volumes:
      - /etc/timezone:/etc/timezone:ro this should take the timezone from the host.

      posted in Troubleshooting
      mumblebajM
      mumblebaj