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…
Read the statement by Michael Teeuw here.

Posts
-
RE: Weatherunderground - currently - hourly - daily - configurable
-
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…
-
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…
-
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 -
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…
-
RE: Weatherunderground - currently - hourly - daily - configurable
@yo-less Thanks, i’ve added your suggestion :D
-
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:
or layout: “horizontal” for:
-
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.
-
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 ;)
-
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!