@Keromida You can easily use cron and tvservice to turn on/off at specific times…
tvservice -o turns off the display.
tvservice -p turns it back on.
Just use cron (crontab -e) to schedule them…
@Keromida You can easily use cron and tvservice to turn on/off at specific times…
tvservice -o turns off the display.
tvservice -p turns it back on.
Just use cron (crontab -e) to schedule them…
@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
@Keromida The request url is assembled here:
var url = this.config.apiBase + this.config.apiVersion + "/" + this.config.weatherEndpoint + '/' + this.getParams();
The deafults are:
apiVersion: "2.5",
apiBase: "http://api.openweathermap.org/data/",
weatherEndpoint: "weather"
Which makes:
http://api.openweathermap.org/data/2.5/weather/
Then getParams() adds id or q depending on your config, units, lang and APPID ultimately making (example):
http://api.openweathermap.org/data/2.5/weather/?q='Dusseldorf,DE'&lang=DE&units=metric&APPID=<YOUR APPID>
They returned JSON will oook like this:
{"coord":{"lon":6.78,"lat":51.22},"weather":[{"id":803,"main":"Clouds","description":"überwiegend bewölkt","icon":"04d"}],"base":"stations","main":{"temp":12.27,"pressure":1011,"humidity":63,"temp_min":10.56,"temp_max":14.44},"wind":{"speed":2.12,"deg":94.501},"clouds":{"all":76},"dt":1471496164,"sys":{"type":3,"id":192509,"message":0.0438,"country":"DE","sunrise":1471494283,"sunset":1471546042},"id":2934246,"name":"Dusseldorf","cod":200}
@yo-less Did you also pull the MM 2.0.4 main framework? That’s where the icons went… Then again, when you did heavy modding… ;) Care to share screenshots of your version?
@yo-less Do they? They’re taken straight from http://weathericons.io/ which isn’t under my control. What’s missing?
Actually the weatherfont update in 2.0.4 is actually my doing… Should nstill work as expected when you’ve pulled the latest Wunderground module… You could also switch to the one in the development branch which takes advantage of having the weathericons now being part of the main framework.
Hi,
Thanks for debugging :D Added (a version) of this in the develop branch!
@neuzehie They, unfortunately, go by a lot of names: Confrontatiespiegel, observatieglas/spiegel, halfdoorlatende spiegel…
Hi,
Had the exact same thing. You’ll have to delete the associated cookies from your browser.
Hi!
The alerts array is always there, even when there’s zero items in it. The behaviour you’re seeing is only possible if/when the api errors out and doesn’t send a meaningful payload. Could build a check for that…
Could it be BATTLE3 goes offline at times? When using the earlier mentiond config setting, it works just fine here… (there was a flod warning if i remember correctly)…