marquee-scroller icon indicating copy to clipboard operation
marquee-scroller copied to clipboard

disable weather

Open pkarza opened this issue 6 years ago • 4 comments

Would it be possible to load this without weather data? The news works great, but as you know I am having issues with weather pulls - maybe because of my ISP or being in Canada... I don't know.

pkarza avatar Dec 05 '18 04:12 pkarza

No, it uses the city ID to get the latitude and longitude for the time zone. It currently requires the weather.

Qrome avatar Dec 05 '18 05:12 Qrome

To omit the city ID reliance, an option could be to use a standard NTP server with start and stop rules for the users timezone. Don't need to tickle Google at all then and weather would be an option...:-)

#include <TimeLib.h> //https://github.com/PaulStoffregen/Time #include <Timezone.h> //https://github.com/JChristensen/Timezone

Mel

wabbitguy avatar Jan 22 '19 06:01 wabbitguy

The original purpose of the scroller was for weather -- I do see putting it in as an option to turn on or off to be nice. However, the TimeZone option and DST is still a major headache for the user. One of my development goals is to make it as simple for the user as possible. TimeZone and DST for international solutions are a huge issue.

Qrome avatar Jan 22 '19 14:01 Qrome

Although it would be impossible to make it foolproof, I find DST the easiest part because the timezone/dst is simply set once in the code, then you upload the code and it's done forever. No reason to complicate it beyond that.

Bad enough I have to go round to every appliance in the house to reset the time without having to adjust all the 8266's...Plus there are a lot of people who work weekends and need the correct time...

I'm going to see if I can convert to a regular NTP scheme with DST rules and then possibly enhance the weather to get a future forecast (more important to me than current conditions). I already changed the code to handle the 1088AS panel displays (they are different than the FC-16's) and modified the news so it will handle queries and countries. Maybe even see if I can update to the Parola library to remove the 16 matrix limit...lotsa fun...:-)

wabbitguy avatar Jan 22 '19 17:01 wabbitguy