Page 2 of 3

Re: End of Weather Underground

Posted: Wednesday 27 March 2019 16:44
by Toulon7559
;-) As usual with software updates/upgrades:
it takes some time & effort before you get rid of the glitches.
100% Maturity & Testing prior to release is hardly possible, and even then 'in the field' some application may occur not foreseen beforehand .......

:) Let's just wait to be surprised.

Re: End of Weather Underground

Posted: Thursday 28 March 2019 9:57
by LouiS22
FYI, the built in WU is working again, but you have to replace your current API key to a new one, also you have to remove the pws: and use only the station's name (in my case it's IBUDAPES25).

Re: End of Weather Underground

Posted: Thursday 28 March 2019 10:07
by DeNB3rt
Damn, my good old key that was still working, is now giving

Code: Select all

"Error: WUnderground: Error: this key does not exist"
The end of an era :( :( :(

Re: End of Weather Underground

Posted: Thursday 28 March 2019 11:37
by Doudy
LouiS22 wrote: Thursday 28 March 2019 9:57 FYI, the built in WU is working again, but you have to replace your current API key to a new one, also you have to remove the pws: and use only the station's name (in my case it's IBUDAPES25).
For me it does not work.
Always :

Code: Select all

2019-03-28 11:35:10.941 Error: WUnderground: Error: this key does not exist

Re: End of Weather Underground

Posted: Thursday 28 March 2019 11:41
by Toulon7559
:) Good work!
Clear hint how to restart.
Under version V4.10573 of Domoticz I now see all widgets for WUnderground again coming alive, except for Visibility.

;-) As I mentioned: expect some glitches ......

Re: End of Weather Underground

Posted: Thursday 28 March 2019 12:05
by DarkG
For now I have to own a PWS to get a API Key? Is that right?

Re: End of Weather Underground

Posted: Thursday 28 March 2019 13:10
by Doudy
For now I have to own a PWS to get a API Key? Is that right?
yes

Re: End of Weather Underground

Posted: Thursday 28 March 2019 14:50
by LouiS22
Toulon7559 wrote: Thursday 28 March 2019 11:41 :) Good work!
Clear hint how to restart.
Under version V4.10573 of Domoticz I now see all widgets for WUnderground again coming alive, except for Visibility.

;-) As I mentioned: expect some glitches ......
Yup, visibility is the only one not working so far.

Re: End of Weather Underground

Posted: Thursday 28 March 2019 15:17
by Doudy
How to install the V4.10573?

Re: End of Weather Underground

Posted: Thursday 28 March 2019 15:49
by LouiS22
Doudy wrote: Thursday 28 March 2019 15:17 How to install the V4.10573?
Switch to beta channel, then you'll have the latest version.

Note: you need a valid WU API key - which you'll only have if you own a PWS.

Re: End of Weather Underground

Posted: Thursday 28 March 2019 15:52
by FireWizard
Go to Setup; Choose Settings.
Under the first Tab "System", you will find: "Software Updates:"
Select as Release Channel "Beta".
The latest published release is V 4.10577

Re: End of Weather Underground

Posted: Thursday 28 March 2019 16:11
by Doudy
FireWizard wrote: Thursday 28 March 2019 15:52 Go to Setup; Choose Settings.
Under the first Tab "System", you will find: "Software Updates:"
Select as Release Channel "Beta".
The latest published release is V 4.10577
Thanks
;)

Re: End of Weather Underground

Posted: Thursday 28 March 2019 17:04
by eddieb
Updated to the Beta, Weather Underground sort of works again with my PWS and new API

Re: End of Weather Underground

Posted: Saturday 30 March 2019 10:39
by Hans100W
Yess, it works, thanks.

Re: End of Weather Underground

Posted: Sunday 07 April 2019 21:54
by Westcott
Odd, it doesn't work for me, on v 4.10601.
Error: Wunderground: Error getting http data! (Check API key!)
The key is correct, an HTTP call direct works correctly
https://api.weather.com/v2/pws/observat ... iKey=MYKEY

Re: End of Weather Underground

Posted: Monday 08 April 2019 8:07
by Doudy
With version Version: 4.10597 (beta) no more problems

Re: End of Weather Underground

Posted: Wednesday 08 May 2019 14:13
by octavian
Hi, it seems to work (Domoticz version 4.9700 - beta) but something is wrong with the wind. I'm using the km/h unit but Domoticz show much more than Wunderground: 50 km/h (in Domoticz) instead of 14 km/h (real speed shown on Wunderground), I guess somewhere there is a unit mismatch.

Re: End of Weather Underground

Posted: Wednesday 22 May 2019 20:48
by alexsh1
Westcott wrote: Sunday 07 April 2019 21:54 Odd, it doesn't work for me, on v 4.10601.
Error: Wunderground: Error getting http data! (Check API key!)
The key is correct, an HTTP call direct works correctly
https://api.weather.com/v2/pws/observat ... iKey=MYKEY
I have the same problem.

Code: Select all

https://api.weather.com/v2/pws/observations/current?stationId=ILONDON702&format=json&units=m&apiKey=[KEY]
works fine, but if I do curl https://api.weather.com/v2/pws/observat ... piKey=[KEY]
from the command line, it says " Missing apiKey, generated error".

Any ideas please?

Re: End of Weather Underground

Posted: Sunday 09 June 2019 13:05
by peerke72
Since last week (2019 June 6th) the WU sensors aren't update anymore in my domoticz.
I get the same error message as mentioned above.

Before it was still working as expected so i assume something changed recently

When i look at the url that's used in the domoticz code (just before the error that is thrown) I see v2 of the api and in a lot of other places in the code it is allready changed to v3

sURL << "https://api.weather.com/v2/pws/observat ... stationId=" << szLoc << "&format=json&units=m&apiKey=" << m_APIKey;
bool bret;
std::string szURL=sURL.str();
bret=HTTPClient::GET(szURL,sResult);
if (!bret)
{
_log.Log(LOG_ERROR,"Wunderground: Error getting http data! (Check API key!)");
return;
}

I assume v2 isn't supported anymore (by wunderground) and we should use v3 also in this place.
I think we should use next url

sURL << "https://api.weather.com/v3/location/poi ... US&apiKey=" << m_APIKey <<"&pws=" << szLoc << "&format=json"

This url works in the browser (i see some json result, btw v2 url as used in the current code doesn't give any results at all)
I don't know how to change this myself. Is there somebody who could have a look at it?

Thanks in advance!!

Re: End of Weather Underground

Posted: Monday 10 June 2019 18:57
by peerke72
with some help of gizmocuz (thanks !!!) i solved the issue i described above
the stationid that i used in my settings was no longer available.
the error that mentioned the api key was incorrect pointed me in the wrong direction
after changing the stationif it worked again.