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

    Posts

    Recent Best Controversial
    • RE: How do you switch on / off, wake up yours?

      I just use a cron job to put the screen to sleep at 11pm and turn it back on at 7am. My schedule is routine enough that this works well for me.

      crontab -e

      00 23 * * * /home/pi/monitor-off.sh >/dev/null # JOB_ID_1
      0 7 * * * /home/pi/monitor-on.sh >/dev/null # JOB_ID_2
      

      monitor-off.sh

      #!/bin/bash
      
      vcgencmd display_power 0
      
      # export DISPLAY=:0.0
      # xset dpms force off
      

      monitor-on.sh

      #!/bin/bash
      
      vcgencmd display_power 1
      
      # export DISPLAY=:0
      # xset dpms force on
      # xset s reset
      
      posted in Hardware
      S
      Shockwave
    • RE: calendar *.ics file from local path

      @co8
      Yes, I got it working after a bit of experimenting. It wouldn’t read the ics file from other places like /MagicMirror which I assumed to be the root of the webserver.

      I created a new directory in /MagicMirror/modules, named birthdays, and placed by birthdays.ics file in there.

      Then in my config I added a 2nd calendar:

      				{
      					symbol: 'birthday-cake',
      					url: 'webcal://localhost:8080/modules/birthdays/birthdays.ics'
      				}
      
      posted in Troubleshooting
      S
      Shockwave
    • RE: Calendar - Use calendar form local file system

      @coolchip , yes this can be done easily by serving it up via http.

      My 2nd calendar entry looks like this:
      {
      symbol: ‘birthday-cake’,
      url: ‘webcal://localhost:8080/modules/birthdays/birthdays.ics’
      }

      That may not be the best location to put it, but I wasn’t able to get it read from outside of /modules.

      posted in Troubleshooting
      S
      Shockwave
    • 1 / 1