Closed hervema closed 2 years ago
Hello.
Also, I noticed another problem. If you allow me, the forecast api as used, returns the forecast from the current datetime, so including some periods of the current day. In my opinion, the data of the day should be removed from the forecast array. I made the modifications on my side, but I let you consider if this is a problem for you or not :-)
Thank you!
Regards,
hervema
Hello.
First, your code is awesome ! Great project. Thanks to share it !!!
I use your code with a Waveshare epaper 2.9inch. It works very well. However, I think there is a little problem on search for low and high temperature per day, in GetHighsandLows() function.
As you are looking for the first period of day between 08:00 and 10:00, typically it will be 9:00, there is after 5 readings to do to stay in the same day, and not 8 as in your code currently.
In my side, the data were wrong with 8 and correct with 5, I loaded the json in a editor and checked that.
Thanks !
Regards,
hervema