raspi-weather
raspi-weather copied to clipboard
is instead of == and API
Apart from the fact that there are several "is" instead of == to be corrected in your weather.py file, my wunderground api doesn't work at all. I keep receiving the error:
File "/home/Pimoroni/inky/weather.py", line 20, in
Actually, despite python syntax errors, I found difficult to understand how to read PWS data and API usage.
After a few tests, today, I am aware of this:
- wundermap is useful to choose a PWS if yours is inactive or, like in my case, I just have to read data without an active contribution
- query and wquery have to be tweaked in case you'd want to show data in metric format
- "Today: " row 65 have to be translated in your language and so a few other data in the code, so I decided to rewrite some variables on my own.
Thanks.
Thanks for sharing! It's cool to see this develop further.
I've been thinking of transitioning to an open service like Open Weather API: https://openweathermap.org/api