MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. mumblebaj
    3. Best
    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 762
    • Groups 2

    Posts

    Recent Best Controversial
    • 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
    • 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
      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
    • 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
      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: 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
    • MMM-GasMonitor

      Why
      I have in the last year moved “slightly” off the grid, solar, gas stove and a gas geyser. I am able to monitor my solar production using my MMM-Growatt module but was unable to monitor my gas usage and have the ability to order a refill in time before the gas runs out.

      I recently ordered a Mopeka Pro Check Sensor from Amazon.com but it does not have an integrated API and only provides a Bluetooth connection to the app.

      Solution
      What I came up with was creating the MMM-GasMonitor module.

      c39cfcb8-9fcf-4921-afd6-3a59c98de4ed-image.png

      How it works

      • You have to work out your average daily usage. Instructions included on how I achieved this on the module Github page.

      • The module will starts off with 100% tank level (you can set this yourself to match your tank level in the input.txt file). At first run it takes the daily average and add’s it to the 100% giving you a starting point of, you know it, 100% :-)

      • Based on the refresh rate, I run daily as I worked out my daily usage average, it will calculate the new level and display it along with adjusting the Level monitor and color accordingly.

      Some more examples
      7dee2e39-401e-40ef-abde-19916872e23e-image.png

      2da22362-53f7-42e5-b54a-d7c44a978520-image.png

      0db74abb-c950-4836-9e41-b82fc081df50-image.png

      I am open to integrate any API into the module if anybody has one that they would like integrated to monitor their own.

      As I could not find one for the Mopeka Pro monitor I went the manual calc method.

      Enjoy!!

      posted in Utilities
      mumblebajM
      mumblebaj
    • 1
    • 2
    • 3
    • 4
    • 5
    • 11
    • 12
    • 1 / 12