0 votes
asked in Touch Interface by (180 points)
I have this running and it looks great however, it shows the temp at 08:00 and 20:00 instead of the daily high and low temps. Is there a way to change this? The high temp in my locale is usually around 17:00

2 Answers

0 votes
answered by (2k points)
The data comes from Weatherunderground and so can’t be changed.
0 votes
answered by (8.8k points)
Are you using the new OpenWeatherMap client? This API is indeed limited but we might implement this logic client side. Also the API offers measurements every 3hours so if there is an easy way to pick the high and low values without iterating over all entries then that would be great.

As a workaround you can play with this line to adjust the times displayed: https://github.com/ThingPulse/esp8266-weather-station-color/blob/master/esp8266-weather-station-color.ino#L302

Actually my implementation should take your timezone and select the approprirate hour (divisible by 3, eg. 0:00, 3:00, 6:00, 9:00, etc) that is closest to the hotest time of the day (midday?)

Welcome to ThingPulse Q&A, where you can ask questions and receive answers from other members of the community.