Xinyuan-LilyGO / LilyGo-EPD47

GNU General Public License v3.0
399 stars 121 forks source link

Weather display stuck on july 17 #124

Open ramatomo opened 1 month ago

ramatomo commented 1 month ago

My weather display they suddenly stopped working I created 2 projects, one for home and one for work, and both were stuck on July 17th and are no longer updated...

I tried to reload the sketch (https://github.com/Xinyuan-LilyGO) and check the api but nothing changed. then I tried to load the DEMO sketch (loaded correctly) and then reload the weather display sketch, but despite it being loaded correctly the screen always shows the DEMO

G6EJD commented 1 month ago

That’s because API has been changed significantly so all the code and json decoder will need to be revised. Also you have to subscribe to their subscription service where you get limited API calls per day and then after that start to pay for the data.

As the code is effectively a pirated copy of my original work I wish you good luck in making the amendments…

ramatomo commented 1 month ago

As the code is effectively a pirated copy of my original work I wish you good luck in making the amendments…

Is your work up to date and working with the new API?

G6EJD commented 1 month ago

Oh yes, but you won’t find it. And I have spiked any other versions so much they are useless.

Nebulus64 commented 1 month ago

API 2.5 is still functional. Try using this query format : api.openweathermap.org/data/2.5/weather?lat={lat}&lon={lon}&appid={API key}. Don't use request by city name (Geocoding API).

G6EJD commented 1 month ago

It was due for service deletion at the end of June, so it’s just a matter of time.