MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. Keromida
    3. Topics
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by Keromida

    • Keromida

      Adjust brightness of the screen in the night
      Troubleshooting • • Keromida

      8
      0
      Votes
      8
      Posts
      9704
      Views

      RedNax

      @Keromida The raspbian os is a linux derivative and includes cron which is used to schedule things.
      You can tell it to do things through your crontab.

      When you log on to your pi issue the crontab -e command. The first time it will ask you which editor to use… chose the default if you’re not sure.

      You’ll be greeted by something like this:

      # # To define the time you can provide concrete values for # minute (m), hour (h), day of month (dom), month (mon), # and day of week (dow) or use '*' in these fields (for 'any').# # Notice that tasks will be started based on the cron's system # daemon's notion of time and timezones. # # Output of the crontab jobs (including errors) is sent through # email to the user the crontab file belongs to (unless redirected). # # For example, you can run a backup of all your user accounts # at 5 a.m every week with: # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ # # For more information see the manual pages of crontab(5) and cron(8) # # m h dom mon dow command 00 23 * * * /usr/bin/tvservice -o 00 06 * * * /usr/bin/tvservice -p

      You’ll have to add the two lines at the bottom which, in this example, will turn the mirror off at 2300 (11pm) and on again at 0600.

      Save the file, and when asked yes you’re sure, and exit the editor… all done!

    • Keromida

      currentweather - temperature (minimum and maximum)
      Troubleshooting • • Keromida

      5
      0
      Votes
      5
      Posts
      2477
      Views

      RedNax

      @Keromida Do you mean the forecast?

      http://api.openweathermap.org/data/2.5/forecast?q='Dusseldorf,DE'&lang=DE&units=metric&APPID=<APPID>

      You can also have a look here: http://openweathermap.org/api

    • 1 / 1