• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 32
  • Posts 753
  • Groups 2

mumblebaj

@mumblebaj

Module Developer

Part-time Module Developer. Develop what I need .

134
Reputation
877
Profile views
753
Posts
6
Followers
0
Following
Joined Jun 20, 2018, 3:08 PM
Last Online about 5 hours ago
Age 51
Website github.com/mumblebaj
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
    M
    mumblebaj
    Mar 11, 2023, 10:31 AM
  • 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
    M
    mumblebaj
    Dec 23, 2020, 3:24 PM
  • Having trouble with screen on and off? Here are some tips that could help

    Hey guys,

    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.
    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
    

    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
    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
    

    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.

    Hope this helps somebody.

    posted in Tutorials
    M
    mumblebaj
    Nov 7, 2024, 3:35 PM
  • 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
    M
    mumblebaj
    May 6, 2023, 2:31 PM
  • 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
    M
    mumblebaj
    Feb 21, 2024, 7:33 PM
  • RE: config,js beginner

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

    posted in Troubleshooting
    M
    mumblebaj
    Aug 13, 2019, 4:38 PM
  • RE: mumblebaj MMM-WOTD fonts

    @plainbroke You can target the selectors specifically in your custom.css like this:

    #wotd-we {
      color: orange;
      font-size: 50px;
    }
    
    posted in Custom CSS
    M
    mumblebaj
    Jun 10, 2025, 3:13 PM
  • 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
    M
    mumblebaj
    Sep 5, 2024, 1:32 PM
  • MMM-NewsAPI

    My First module, so take it easy :smiling_face_with_halo:

    After my mirror crashed a few weeks ago I was looking for the MMM-News module created by bugsounet but could not find it anywhere. I have since learned that he has deprecated the module and have decided to create my.

    The module provides a news feed from newsapi.org.

    2d926a2f-b6e8-4a69-b96f-a4bdac1760bb-image.png

    There are various config options and these have been detailed on my MMM-NewsAPI github page. Read the config options carefully as there are restrictions on which options can be used with which. You can also test your options on the newsapi.org prior to making your config in the config.js I have provided two basic samples.

    Please let me know if you have issues with it and I will assist where I can as soon as I can.

    Please note, as I am in South Africa and with the time differences it may take a few hours before I get to your queries.

    posted in Utilities
    M
    mumblebaj
    Aug 5, 2021, 8:27 PM
  • RE: My first, slim mirror at home

    @uros76 Looks very nice and clean. Like the “no wires” idea. Well done.

    posted in Show your Mirror
    M
    mumblebaj
    Aug 7, 2020, 10:44 AM

Latest posts made by mumblebaj

  • RE: 2.32.0 Calendar module limitDays and excludedEvents stopped working

    @AndyHazz Do you mind sharing your ICS, anonymized off course.

    posted in Troubleshooting
    M
    mumblebaj
    6 days ago
  • RE: 2.32.0 Calendar module limitDays and excludedEvents stopped working

    @AndyHazz You can do the following from the docker host, docker compose up -d this will launch you container. Then you can run the following command docker exec -it magicmirror bash replacing magicmirror with your container name. This essentially puts you into the MagicMirror directory. You can then acces the debug log from there.

    posted in Troubleshooting
    M
    mumblebaj
    8 days ago
  • RE: MMM-OpeningHours

    @KristjanESPERANTO Thanks. It has been reverted.

    posted in Utilities
    M
    mumblebaj
    8 days ago
  • MMM-OpeningHours

    I have been using the MMM-OpeningHours module for a few years now and it has always been working great and probably still works for all users of the modules by @Menturan . Thanks for an awesome module.

    Google has replaced the library @google/maps with a newer library @googlemaps/google-maps-services-js. I must mention that the old library still works.

    I have updated the module to use the latest library from google and have refactored the node_helper.js code a bit. I have also update the package.json and the README and have opened a PR. As the module has been last updated about 3 years ago I am not sure if it is still maintained.

    If anybody want to switch to the newer version you are welcome to use my fork. I just love this module as I can track all my fav places.

    You can find the fork here: MMM-OpeningHours

    posted in Utilities
    M
    mumblebaj
    11 days ago
  • RE: Starting MM Crontab

    @sdetweil A few things:

    The main issue being:
    MagicMirror is now using a flat npm config, and the start scripts are handled differently, node --run start:x11 is not a valid Node.js command — unless you are using a custom wrapper or an internal script, this will fail silently or do nothing.

    As Crontab runs in a minimal environment, so any graphical (X11) application must explicitly export DISPLAY. Previously I had the command as DISPLAY=:0 npm start. Now, I had to export DISPLAY=:0 first and then start MM.

    posted in Bug Hunt
    M
    mumblebaj
    11 days ago
  • RE: Starting MM Crontab

    @sdetweil Stupid question, how do I mark this as resolved?

    posted in Bug Hunt
    M
    mumblebaj
    11 days ago
  • RE: Starting MM Crontab

    @sdetweil Hi Sam. I have always used npm. I have just been reading through the PR-3764 and i agree with your arguments in that it could have breaking affects for how we do things as both users and devs. Case in point.

    However, the forum is about new things and moving forward, so I agree with @KristjanESPERANTO on that point of view as well.

    I have now resolved my script issue and am now able to launch from the cron again. 😉

    For somebody who may have the same issue, this is how I solved for it.

    export DISPLAY=:0
    cd ~/MagicMirror
    npm run start:x11
    

    The above has solved it for me now.

    posted in Bug Hunt
    M
    mumblebaj
    11 days ago
  • RE: Starting MM Crontab

    @KristjanESPERANTO Thanks Kristjan. But I don’t see how updating MM could cause this. I only updated MM with Sam’s upgrade script. Don’t see how that has changed anything with regards to how Crontab works. Maybe it is related to changing the launch to node --run start. I can see the command being fired in the log but it does not launch MM like it did before the upgrade.

    Anyhow, I manually launch it for now till I find a suitable solution.

    posted in Bug Hunt
    M
    mumblebaj
    11 days ago
  • RE: Adds Blocking Posts

    @karsten13 Understood. Will do the add blocker thingy…

    posted in Forum
    M
    mumblebaj
    11 days ago
  • RE: Starting MM Crontab

    @sdetweil Yep, only MM update. Let me try start: node --run start:x11 and see what happens.

    posted in Bug Hunt
    M
    mumblebaj
    12 days ago
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