Comments (4)
No, it uses the city ID to get the latitude and longitude for the time zone. It currently requires the weather.
from marquee-scroller.
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.
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.
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)
- Weather Data Error: HTTP/1.1 401 Unauthorized HOT 6
- Garbled serial output during time update
- Timezonedb HOT 2
- So many errors with newer libs HOT 6
- Foreign languages special characters noy displyed. HOT 2
- Errors
- Error
- Error
- Engadget News Ticker Not Working HOT 1
- Error with timezonedb.com
- I receive Jan 1 12:00 e every time I reset. HOT 3
- Request - Add day of week and day of month HOT 2
- Weather Error: Weather Data Error: HOT 10
- Moonraker feature
- Adding sk and cz language to news
- Nightscout
- Selecting a news category HOT 1
- Getting "connection to weather data failed HOT 20
- Please reopen issue #288 HOT 1
- Display issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marquee-scroller.