HomeGenie Forum
General Category => Troubleshooting and Support => Topic started by: codedmind on September 06, 2014, 01:53:59 PM
-
After setting the key i get an error from weather underground
2014-09-06T12:52:52.8191340+01:00 HomeAutomation.HomeGenie.Automation 34 Automation Program Weather Underground ERROR! Unable to get data from service.
`string' does not contain a definition for `moon_phase'
-
Any help ??
-
Hm, I can't reproduce the issue. Where does the error show up? What does the Weather Underground widget display?
-
Hy there,
The problem is with the wunderground api i supose... because it return this
}
, "moon_phase": {
"percentIlluminated":"100",
"ageOfMoon":"15",
"phaseofMoon":"Full",
"hemisphere":"North",
"current_time": {
"hour":"22",
"minute":"23"
},
"sunrise": {
"hour":"7",
"minute":"09"
},
"sunset": {
"hour":"19",
"minute":"55"
}
-
I found that every weather station is not the same with WU. There are some local stations for me that return a small subset of data and others that return everything. I had to pick one of the full data set stations to get everything working.
-
Can you test it please?
The url is this http://api.wunderground.com/api/APIKEY/geolookup/astronomy/lang:PT/q/Leiria.json (http://api.wunderground.com/api/APIKEY/geolookup/astronomy/lang:PT/q/Leiria.json)
I think that all values are set... but hg return error
-
That's not a valid URL.
{
"response": {
"version":"0.1",
"termsofService":"http://www.wunderground.com/weather/api/d/terms.html",
"features": {
}
,
"error": {
"type": "keynotfound"
,"description": "this key does not exist"
}
}
}
You have to use your own api key in the url.
-
i know :) i erase my key so do not post it... the idea is someone try with their one key...
-
8)