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

      Thanks! The text area is reproduced as it is delivered by WeatherUnderground… so barring any heuristics on the actual content it’s beyond our control…

      posted in Utilities
      RedNaxR
      RedNax
    • RE: PIR sensor behind glass?

      @yo-less It think all mirrors suffer from this… You need enough brightness to show things in the day… Which will be overkill at night…

      posted in Hardware
      RedNaxR
      RedNax
    • RE: PIR sensor behind glass?

      @yo-less Thanks!

      The mirror is from a dutch webshop… At night, when there’s no other illumination you do see the backlight of the screen shining through… In the daytime it looks like the picture.
      I’ve been pondering altering the backlight/brightness of the screen according to ambiant lightlevels… unfortunately this is only controllable by navigating the screens menu as opposed to discrete buttons…

      Oh, and yes… there is: https://github.com/RedNax67/DailyXKCD

      It’s forked from the original author… Ive added the random comic on non comic days…

      posted in Hardware
      RedNaxR
      RedNax
    • RE: PIR sensor behind glass?

      @Cato No problem… anyone care to donate to the WWF Panda?
      There’s a PIR sensor on the bottom of the mirror, out of eyesight. It detects … well… hot legs :D

      0_1472494907761_rednaxmirror.png

      posted in Hardware
      RedNaxR
      RedNax
    • RE: PIR sensor behind glass?

      Pir isn’t really an option behind glass. There’s a cam based solution which works through the mirror.

      That said, my mirror is full sized and the pir peeks out the bottom… You’d never know it’s there unless you know where tot look…

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

      @yo-less Thanks, i’ve added your suggestion :D

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

      New version now shows the current moon phase and there’s a new layout option :)

      in config set layout:“vertical” for the traditional layout:

      0_1472473973909_wunderground-vertical.png

      or layout: “horizontal” for:

      0_1472473998658_wunderground-horizontal.png

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

      Hi,

      You went over the 10 calls per minute, probably while setting up/testing? The default settings won’t go over that when left alone. When you debug/play with :D your mirror through a browser on your pc and hit f5 a lot, you’ll go over it quickly. I’ve personally never had it happen.

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

      @fireshipmate Hi!
      The roundValue isn’t used (it’s a leftover bit from earlier versions). The temperature is displayed as it’s delivered in the weather underground payload. You could however modify the code and apply the rounding function to the temp:

      			this.temperature = this.roundValue(this.temperature);
      

      To get cardials “N,NO…”. you could use data.current_observation.wind_dir friom the wu payload which should have them in your defined language. You could assign:

      		windDirectionIcon.innerHTML = this.windDirectionTxt;
      

      You’ll have to take out the arrow, as it will otherwise rotate your winddirectiontxt to the winddirection :D

      Or you could just do a git pull and have a look at the readme ;)

      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
    • 1 / 1