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

    Posts

    Recent Best Controversial
    • RE: MMM-NewsAPI

      @ufransa Ok, I don’t see anything in your config that would cause a problem. However, you do have both MMM-NewsAPI and MMM-calendarExt3 in the exact same position. I am thinking that MMM-CalendarExt3 may be pushing the module off the screen, they both cannot occupy the same space. Try using it in a different position and use the vertical option.

      posted in Utilities
      mumblebajM
      mumblebaj
    • RE: MMM-NewsAPI

      @ufransa You will need to advise which other module you are using. I am assuming that the config you passing in may not be correct. When I run domains: "bbc.co.uk" it worked fine for me without that extra config. Can you confirm which other module you are using so I can check if you have specified that config setting correct.

      posted in Utilities
      mumblebajM
      mumblebaj
    • RE: Contributing to a GitHub repository - a bit stuck

      @evroom Just launch a terminal in VsCode

      3fd31556-0ab9-43eb-926c-5eb33ee36d1c-image.png

      Make sure it is set to bash.
      62ee6f27-3f99-446c-b9fb-693c2f9285f6-image.png

      Then you can run the same commands git add and git commit -m "your commit text" and git push from the terminal.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: MMM-NewsAPI

      @sdetweil I am assuming he is using your fork of MMM-pages and was probably trying to do the below.

      {
        module:"MMM-NewsAPI",
        classes:"sport",
      }
      

      If I remember the README from your fork it calls for page1 page2 etc. I kinda remember carousel has the type of config he was trying to implement but a little different.

      @ufransa can you confirm what you are trying to achieve or which module you using for page control?

      posted in Utilities
      mumblebajM
      mumblebaj
    • RE: MMM-NewsAPI

      @sdetweil Ah, got you.

      posted in Utilities
      mumblebajM
      mumblebaj
    • RE: MMM-NewsAPI

      Hi. What is the below config for?
      @ufransa said in MMM-NewsAPI:

      pages: { “sport”: “bottom_bar” },

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

      @reviewsfornerds Hi. Apologies for the late reply. Was away for the weekend.

      Can you share your script that you are calling? Also the output of wlr-randr.

      posted in Tutorials
      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
    • RE: MMM-Rugby

      @manu85340 You should not have to repeat it again.

      posted in Sport
      mumblebajM
      mumblebaj
    • RE: MMM-Rugby

      @manu85340 Apologies, please redo the git pull.

      posted in Sport
      mumblebajM
      mumblebaj
    • 1 / 1