Hi Nolio,
Thanks for suggestion... I actually dig into the widget program code and took the URL from it and tried to manually, similarly what you suggested, to get the data and in fact I was using wrong API key. After I have changed the API key to the correct one (it was working at least in "manual fetch") I have applied it and .... initially nothing changed but after few restarts I started getting:
2015-09-10T18:45:13.0621710+02:00 HomeAutomation.HomeGenie.Automation 34 Automation Program Program.Notification {"Title":"Weather Underground ERROR!","Message":"Unable to get data from service. `string' does not contain a definition for `moon_phase'"}
I tried to look for the reason, shortly, but gave up for the day and today, I just looked into the logs and I can see:
2015-09-11T07:23:53.9925170+02:00 HomeAutomation.HomeGenie.Automation 34 Automation Program Program.Notification {"Title":"Weather Underground ERROR!","Message":"Unable to get data from service. `string' does not contain a definition for `moon_phase'"}
2015-09-11T07:54:04.9662220+02:00 HomeAutomation.HomeGenie.Automation 34 Automation Program Program.Notification {"Title":"Weather Underground ERROR!","Message":"Unable to get data from service. `string' does not contain a definition for `moon_phase'"}
2015-09-11T08:24:16.2370970+02:00 HomeAutomation.HomeGenie.Automation 34 Automation Program Program.Notification {"Title":"Weather Underground ERROR!","Message":"Unable to get data from service. `string' does not contain a definition for `moon_phase'"}
2015-09-11T08:57:15.2850200+02:00 HomeAutomation.HomeGenie.Automation 34 Automation Program Program.Notification {"Title":"Weather Underground","Message":"Updated."}
2015-09-11T09:27:19.2100260+02:00 HomeAutomation.HomeGenie.Automation 34 Automation Program Program.Notification {"Title":"Weather Underground","Message":"Updated."}
2015-09-11T09:57:22.9621560+02:00 HomeAutomation.HomeGenie.Automation 34 Automation Program Program.Notification {"Title":"Weather Underground","Message":"Updated."}
My jaw bounced off the floor, my eyes become of size of 2 euro coin and I asked myself: WTF???!!!
I can see now the details of the current conditions and the forecast... I am only wondering how long will it work...
I have also noticed in the log a lot of periodic errors of SQLite like this:
2015-09-11T10:01:36.7019400+02:00 HomeAutomation.HomeGenie Service.StatisticsLogger SQLite error
table ValuesHist has 6 columns but 7 values were supplied Exception.StackTrace at System.Data.SQLite.SQLite3.Prepare (System.Data.SQLite.SQLiteConnection cnn, System.String strSql, System.Data.SQLite.SQLiteStatement previous, UInt32 timeoutMS, System.String& strRemain) [0x00000] in <filename unknown>:0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x00000] in <filename unknown>:0
That's why I am wondering how long will my WU plugin work....
Did you guys have similar SQLite error? Or maybe similar WU widget errors regarding the moon phase?