bobvann / RPirrigate

Raspberry Pi irrigation system software
Other
7 stars 11 forks source link

Weather free key disabled #10

Open psyche17 opened 7 years ago

psyche17 commented 7 years ago

Ciao Bob, it seems that weather function is no longer working, probably they changed something on key licensing and have disabled the free key related to rpirrigate application; if I perform this request:

http://api.worldweatheronline.com/free/v1/weather.ashx?q=Figline%20Valdarno,Italy&date=2017-06-28&key=dadb7eba889f53e8a61dd447cac39&format=json

I receive this reply from WS: data
error
0
msg "API key has been disabled."

When you have time please check :)

Thanks, Cristian

PaolinoCensi commented 7 years ago

Ciao, It seems that worldweatheronline has changed the the use of a free api and has created a new library on https://www.apixu.com. I'm trying to change the code using the new library and the new schemes of json responses. I'll show you my progress soon. Bye, Paolino

bobvann commented 7 years ago

Thank you very much, I appreciate your help.

Any PR will be welcome!

Please note that weather is used in the web interface and also in the weather daemon.

PaolinoCensi commented 7 years ago

Yes, I know. I'm just working on the weather daemon, the web interface is ok. Thanks!!