Giter VIP home page Giter VIP logo

Comments (4)

Qrome avatar Qrome commented on May 20, 2024

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

from marquee-scroller.

wabbitguy avatar wabbitguy commented on May 20, 2024

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

from marquee-scroller.

Qrome avatar Qrome commented on May 20, 2024

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.

from marquee-scroller.

wabbitguy avatar wabbitguy commented on May 20, 2024

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...:-)

from marquee-scroller.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.