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

    Posts

    Recent Best Controversial
    • RE: Weatherunderground - currently - hourly - daily - configurable

      @jagerpower Thanks and enjoy!!

      posted in Troubleshooting
      RedNaxR
      RedNax
    • RE: MMM-TrafficCal - Dynamically display commutes based on calendar entries

      @chewitt86 There already is a static version of this (in fact, i hijacked it to make mine :) ) https://github.com/SamLewis0602/MMM-Traffic

      posted in Utilities
      RedNaxR
      RedNax
    • RE: Adjust brightness of the screen in the night

      @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!

      posted in Troubleshooting
      RedNaxR
      RedNax
    • RE: Weatherunderground - currently - hourly - daily - configurable

      Easiest way to do this is to define another icontable for nighttime use and switching to it after sunset…

      When i have some time, i’ll look into it…

      UPDATE: Who am i kidding ;) Nighttime icons now included…

      posted in Troubleshooting
      RedNaxR
      RedNax
    • RE: Weatherunderground - currently - hourly - daily - configurable

      @ostfilinchen Better now?

      posted in Utilities
      RedNaxR
      RedNax
    • RE: MMM-TrafficCal - Dynamically display commutes based on calendar entries

      @Bobby

      Hi Bobby,

      Your config should be something like this:

      	{
      		module: "MMM-TrafficCal",
      		position: "top_left",
      		classes: "dimmed medium",
      		config: {
      			api_key: "API KEY to the calendar holding your trip planning, could optionally be a seperate one",
      			origin: "Damrak 1, Amsterdam", // Your default trip origin. Must be an unambiguous google resolvable adress
      			tripkey: "MYTRIPS", // A keyword to identify a TrafficCal calendar entry
      			chinangeColor: true,
      			limitYellow: 25,
      			limitRed: 50,
      			traffic_model: "pessimistic",
      			interval: 120000
      		}
      	},
      
          
          An example of an entry:
      

      0_1486889620335_upload-cccf478f-b636-4ff2-962e-f4491bda83f8

      You’ll have to run a calendar module with the MYTRIPS calendar entries in it. You can optionally hide it using the remote control module.

      	{
      		module: "calendar",
      		header: "Trips",
      		position: "top_left",
      		fetchInterval: 60000,
      		config: {
      			maximumNumberOfDays: 1,
      			calendars: [
      				{
      					symbol: "calendar-check-o ",
      					url: "https://calendar.google.com/calendar/ical/YOUR URL TO THE TRIPS CALENDAR",
      					maximumNumberOfDays: 1
      				}
      			],
      			titleReplace: {
      				"De verjaardag van ": "",
      				"'s birthday": ""
      			}
      		}
      	},
      

      Good luck!

      posted in Utilities
      RedNaxR
      RedNax
    • 1 / 1