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

    Posts

    Recent Best Controversial
    • RE: MM current version on Raspberry Pi 5 cannot turn off monitor

      @BKeyport the physical Mirror’s Power supply is the only thing I plug in, and the PI gets its power from USB from the display, so no extra power source to monitor.

      I will probably just do a bash script to shut down the pi at some time say 10:00pm, then I will have Alexa shut down the mirror’s power (thus the pi as well) via a Yo-Link smart plug at 10:05pm. Then at sunrise via Amazon Alexa, I will just turn on mirror.

      I already do this for my RV Starlink, since I have cell modem as a backup, I can use the internet to turn on and off my internet. lol

      posted in Troubleshooting
      J
      jbat66
    • RE: MM current version on Raspberry Pi 5 cannot turn off monitor

      @sdetweil Get a Yo-Link Plug. They have an API, you get your API key from an advanced menu in their app. Their plugs do grab usage, I have not used the API to grab usage, just to turn on and off, and to get temperatures from their sensors. I then use the API in MM to display the temperatures.
      https://www.amazon.com/s?k=yolink+smart+plug
      The whole Yo-Link echo system is great for DIY folks in home automation.

      posted in Troubleshooting
      J
      jbat66
    • RE: MM current version on Raspberry Pi 5 cannot turn off monitor

      @BKeyport Thanks, I’m already turning off my background pictures, and just dimming (could also just hide all) modules. The problem is that I want to turn off the screen but leave the pi running, because one of my MM will be in an RV and when boondocking (running on batteries) you want to use as little power as you can, so it is silly to run the screen at night.

      I am using wayland, didn’t know I could goto X11, and not have a problem with MM. I may look into that, thanks!!

      As a side note I couldn’t get unclutter to remove the mouse in wayland as it does in X, but I found ydotool using this command works well in wayland to move the mouse to the bottom right corner, so it only shows one pixel. :-)
      ydotool mousemove -x 5000 -y 5000

      right now, I have installed physical buttons, so I can shut the screen and pi down manually. I may crontab a shutdown of the pi, and then use yo-link (home automation switch) to kill the power after the crontab shutdown is done.

      posted in Troubleshooting
      J
      jbat66
    • RE: MM current version on Raspberry Pi 5 cannot turn off monitor

      @BKeyport Thanks. I tried these on my Vilros Magic Mirror, and nothing happened, just errors. I tried them on my Raspberry PI 4 running older rasbian, and it work on there. except my monitor just went to flashing blue white pink. I guess that is the default no input screen. lol

      I think turning off the monitors have more to do with the version of rasbian, than with the hardware. IMHO

      posted in Troubleshooting
      J
      jbat66
    • RE: MM current version on Raspberry Pi 5 cannot turn off monitor

      @sdetweil I’m just dimming all my modules and doing with the ‘nightlight’ effect. lol
      The Vilros Magic Mirror is using hdmi, but looks like CEC doesn’t work.
      https://www.amazon.com/gp/product/B0BJXD68JV

      posted in Troubleshooting
      J
      jbat66
    • RE: MM current version on Raspberry Pi 5 cannot turn off monitor

      @JohnGalt Side note, I will buy someone a pizza, if I can get working commands to actually turn off and turn on my HDMI display. I think I have tried everything on the internet with no luck. I’m serious about the pizza!
      :-)

      posted in Troubleshooting
      J
      jbat66
    • RE: MM current version on Raspberry Pi 5 cannot turn off monitor

      @JohnGalt I have a Pi 4, but have the latest OS, and I never have found a way to turn off the monitor. I have the same problem of the screen being too bright, so what I did was write a bash script, to turn off the background slide show, and to dim all the modules via the api into MMM-remote. I also have in my script just a hide all, and the screen goes blank, even tho the monitor is still on.

      Here is how you can hide all modules
      curl -X GET “$API_URL/api/module/all/hide” -H “accept: application/json”
      the $API_URL, is your IP address. I use “http://localhost:8080”

      I also wrote a script that will get the sunrise sunset times for the day and shut off my screen by hiding or diming all the modules at sunset, and then reverse that at sunrise.

      let me know if you are interested. I need to put some of my stuff up on github. I’m just getting familiar with github, and have fixed a couple of modules for folks in the last week.

      posted in Troubleshooting
      J
      jbat66
    • RE: MMM-birthdays

      I updated MMM-birthdays to add the ability to turn off the module when there are no bdays to show.
      Also added the ability to update the name of the title/header

      Pull request here: https://github.com/amitchone/MMM-birthdays/pull/10

      My fork, if you want to install and test it.
      https://github.com/jbat66/MMM-birthdays

      Thank you Adam for writing this module.

      posted in Utilities
      J
      jbat66
    • RE: A New Chapter for MagicMirror: The Community Takes the Lead

      @MichMich I only found out about MagicMirror two months ago, and in that time I have setup four MagicMirrors in frames (I got prefab’ed), two MagicMirrors in Dockers, and one running on our main TV. One of them is going in our RV, with GPS, that will automatically update weather, weather warnings, tell you where you are at, and turn on and off the frame at sunset/sunrise, at your current location. I have one with my elderly father, where we, can send pictures to the frame, and it can show him the weather. Playing with MM forced me to do my first pull request on Github to fix someones module. lol

      I just want to thank you on your work on MagicMirror and how much pleasure it has brought to our family.

      posted in MagicMirror
      J
      jbat66
    • RE: MM current version on Raspberry Pi 5 cannot turn off monitor

      @vvrangler
      You have to have MMM-Remote-Control installed, and in the config.js file you can put several custom commands that point to scripts on your machine.

      b2af707d-4ba7-41cd-a18f-0b0444b6e361-image.png

      Here is an example for two of them in my config.js.

      76a6c8de-ca47-464e-aae3-3df7137da659-image.png

      mm-manager.sh, is just a script I wrote to do things to my magic mirror, you scripts can be named what you want and just have the commands you want.

      posted in Troubleshooting
      J
      jbat66
    • 1 / 1