Comments (10)
ok @Qrome, reflashed and brought to the main network (no guest network anymore) and bam, its working. shame on me.
but something is blocking and you were right. thanks for your time
from marquee-scroller.
Connect to the Arduino IDE and use the port monitor to view the error. It should tell you what is happening. Baud 115200.
from marquee-scroller.
10:46:00.620 ->
10:46:00.620 -> Getting Weather Data
10:46:00.620 -> GET /data/2.5/group?id=MYCITY&units=metric&cnt=1&APPID=MYAPI HTTP/1.1
10:47:00.707 -> Waiting for data
10:47:05.703 -> Response Header:
10:47:05.703 -> Unexpected response:
10:47:09.867 -> Updating Time...
10:47:09.867 -> essful!
10:47:09.867 -> Getting Time Data for ,
10:47:09.867 -> GET /v2.1/get-time-zone?key=MYAPI&format=json&by=position&lat=&lng= HTTP/1.1
10:47:25.063 -> Waiting for data
10:47:25.063 ->
10:47:25.063 ->
10:47:25.063 -> firstEpoch is: 20
10:47:25.063 -> Getting News Data for reuters
10:47:25.063 -> Please provide an API key for the News.
10:47:25.063 -> Version: 3.03
10:47:25.063 ->
11:02:25.124 ->
11:02:25.124 -> Getting Weather Data
11:02:25.124 -> GET /data/2.5/group?id=MYCITY&units=metric&cnt=1&APPID=MYAPI HTTP/1.1
11:03:25.109 -> Waiting for data
11:03:30.104 -> Response Header:
11:03:30.104 -> Unexpected response:
11:03:34.266 -> Updating Time...
11:03:34.266 -> essful!
11:03:34.266 -> Getting Time Data for ,
11:03:34.266 -> GET /v2.1/get-time-zone?key= MYAPI&format=json&by=position&lat=&lng= HTTP/1.1
11:03:49.359 -> Waiting for data
11:03:49.359 ->
11:03:49.359 ->
11:03:49.359 -> Time update unsuccessful!
11:03:49.359 -> Getting News Data for reuters
from marquee-scroller.
Honestly, it looks like a connectivity issue. My guess is that it timed out waiting 1 minute from making the request. Make sure that on the network that your device is on it can actually reach full URL and is not being blocking the weather service. I have seen this before.
from marquee-scroller.
tested this on my desktop: https://api.openweathermap.org/data/2.5/group?id=MYCITY&units=metric&cnt=1&APPID=MYAPI
and got an answer inside a browser, so it shouldn't be the pihole on my network (checked the logs there too)
from marquee-scroller.
same goes for http://api.timezonedb.com/v2.1/get-time-zone?key=MYCITY&format=json&by=position&lat=MYLAT&lng=MYLONG its working fine in my browser
from marquee-scroller.
I know you are testing on your browser, however the device runs in the 2.4Ghz network and make sure that your browser / computer is on the exact same IP range and subnet as the scrolling clock device. Again, this isn't a coding issue, but probably a network issue, and I have seen this before where the different networks have blocking lists etc.
from marquee-scroller.
10:46:00.620 -> GET /data/2.5/group?id=MYCITY&units=metric&cnt=1&APPID=MYAPI HTTP/1.1
10:47:00.707 -> Waiting for data
10:47:05.703 -> Response Header:
This is what tells me you are being blocked. Timed out and no response -- there is a 60 second delay there.
from marquee-scroller.
will test with different wifi (not guest anymore), will report back
from marquee-scroller.
Hey, thanks for the update. I hope this can help others.
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
- 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.