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.
    Offline
    • Profile
    • Following 0
    • Followers 6
    • Topics 33
    • Posts 777
    • Groups 2

    mumblebaj

    @mumblebaj

    Module Developer

    Part-time Module Developer. Develop what I need .

    149
    Reputation
    880
    Profile views
    777
    Posts
    6
    Followers
    0
    Following
    Joined
    Last Online
    Age 52
    Website mumblebaj.xyz/
    Location South Africa

    mumblebaj Unfollow Follow
    Project Sponsor Module Developer

    Best posts made by mumblebaj

    • 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

    Latest posts made by mumblebaj

    • RE: Reverting to previous MM Release

      @sdetweil For sure. I am suspecting the card may have been flaking. Now to fix my Docker image. 😮‍💨

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Reverting to previous MM Release

      @sdetweil Flashed the new card and installed trixie, Did a clean install. Ran your restore script and everything is running just fine.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Reverting to previous MM Release

      @sdetweil Yes sir. Just got in now. Will work on the new SD card now and advise in a bit.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Reverting to previous MM Release

      @sdetweil Hi Sam. I upgraded using your upgrade script. Then I saw the following error, /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP. MM shows that it has started but browser does not launch, Electron failing. Tried a bunch of things but nothing seems to help. Switched back to X11 and still getting the dreaded error.

      I have downgraded to 2.34.0 and still same issue now.

      9caf4b95-89e4-468a-8187-06650322ebae-image.jpeg

      960ae42d-776c-4b01-acad-bb83b51cd442-image.jpeg

      I am flashing a new SD card now and will try a fresh install and see how that goes

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Reverting to previous MM Release

      I have just reverted to the old version as well. Too many issues with electron. Breaking issues for me as well. And I am running Pi5 Trixie. Something about Pi5 Trixie and Electron 41 not playing well together. v2.34.0 ran just fine on Trixie and using Wayland. Now it is breaking.

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

      @BKeyport s like they only removed the usage of moment.js from the default calendar module.

      posted in Upcoming Features
      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
    • 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: pm2 doesnt work with crontab

      @plainbroke Afternoon. What I was saying was that instead of sending your current output to a blackhole, >/dev/null >2&1, i meant sending it to a log file:
      30 07 * * 6,0 /usr/local/bin/pm2 start mm >> /home/pi/mon.log 2>&1. This will send the output of the command /usr/local/bin/ pm2 start mm to a log file residing at /home/pi/mof.log. You can then interrogate this log file to see if there were any errors when the command was executed.

      So, by pipe I meant redirect the output to somewhere.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: pm2 doesnt work with crontab

      @plainbroke Instead of piping the output to a blackhole, maybe pipe it to a logfile which you can interrogate to see why the pm2 start is not working?

      posted in Troubleshooting
      mumblebajM
      mumblebaj