Giter VIP home page Giter VIP logo

Comments (20)

Qrome avatar Qrome commented on June 3, 2024

That is a good question. I run a few as well but have only seen this if I am working on it and do a constant reboot. They limit the number of calls in a period of time. Maybe increase the time between refresh?

from marquee-scroller.

Barkingmad15 avatar Barkingmad15 commented on June 3, 2024

I'm suffering this too, in the UK. I logged into Openweather & noticed they longer showed the city name where I am! I changed it to one 2 miles away & it worked for a short period & then started the error again. I have tried a new API key, refreshing the data at different times, I even reflashed the whole device but have the same issue. If I log onto the web portal screen it shows the weather data fine. If I go into the settings & click on save, it works once only & then back to the error. I can't even disable the weather, or I'd do that! I mostly wanted it for time & temperature but of course the temperature is always wrong. Be very interested if there is a fix to this.

from marquee-scroller.

n7qnm avatar n7qnm commented on June 3, 2024

from marquee-scroller.

Qrome avatar Qrome commented on June 3, 2024

I will take a look at it when I get time.

from marquee-scroller.

Barkingmad15 avatar Barkingmad15 commented on June 3, 2024

Thank you that would be very much appreciated

from marquee-scroller.

Qrome avatar Qrome commented on June 3, 2024

I am having a hard time replicating this issue. Would it be possible for you to capture the Serial Monitor Log for the weather request when it fails? I would like to see if we can get the HTTP response code or if it is just a connection issue. If the response code is 400 level -- like 429 -- you might be hitting your request limit. I have 5 running all the time and never hit my limit.

I am wondering if they are treating different countries or regions differently. I am in the US.

from marquee-scroller.

n7qnm avatar n7qnm commented on June 3, 2024

from marquee-scroller.

n7qnm avatar n7qnm commented on June 3, 2024

from marquee-scroller.

Qrome avatar Qrome commented on June 3, 2024

I also am running 5 units and do not see this issue. I am curious what do you have your minutes between refresh set to? It defaults to 15 minutes? Maybe you should try reducing that if you have changed it.

from marquee-scroller.

n7qnm avatar n7qnm commented on June 3, 2024

from marquee-scroller.

Barkingmad15 avatar Barkingmad15 commented on June 3, 2024

I took have tried multiple settings for refresh times & all after an initial successful first run default back to connection error. Oddly though the correct info shows in the web portal. I'm not good at coding, despite trying to learn, but would it be easy to change provider?

from marquee-scroller.

Qrome avatar Qrome commented on June 3, 2024

Please use the serial monitor and capture the error and post it here.

from marquee-scroller.

Barkingmad15 avatar Barkingmad15 commented on June 3, 2024

Sorry for the delay. I hope this is what you need, I'm not great with Arduino IDE 😬 It doesn't have the news API inserted as I don't need that feature, but I have had it in the past with the same results.

connection for time data failed

Time update unsuccessful!
Getting News Data for reuters
Please provide an API key for the News.
Version: 3.03

Getting Weather Data
GET /data/2.5/group?id=2633521&units=metric&cnt=1&APPID=7be6a0488c696b9746226468bdeb89e4 HTTP/1.1
connection for weather data failed

Updating Time...
News Data for
Getting Time Data for 50.8145,-0.3713
GET /v2.1/get-time-zone?key=9JYVVJFGU80O&format=json&by=position&lat=50.8145&lng=-0.3713 HTTP/1.1
connection for time data failed

Time update unsuccessful!
Getting News Data for reuters
Please provide an API key for the News.
Version: 3.03

Displays: 8
Signal Strength (RSSI): 58%

from marquee-scroller.

Qrome avatar Qrome commented on June 3, 2024

So, looking at the code and where that message is created, it is a connection issue to the endpoint -- not making it to the end point. It is also interesting to note that the TimeDB call -- yet a different API call is also failing to make a connection even though the GET request looks correct. I am not able to replicate this. Can you check and make sure your device is not getting dumped from the DHCP -- or check how long the device can keep the IP. I don't think this is a coding issue but appears to be a connection issue. I am not able to replicate it.

from marquee-scroller.

Barkingmad15 avatar Barkingmad15 commented on June 3, 2024

I will try to look through the router logs tomorrow, but the IP shouldn't be an issue as I assigned a static one just to avoid those kinds of issues.

from marquee-scroller.

Barkingmad15 avatar Barkingmad15 commented on June 3, 2024

Spent a fair bit of time today, going through router settings & there is no issue there, I was making sure it's not isolated or blocked which it isn't. There does not seem to be any connection issues on the router end. The odd thing is, if I manually click refresh the data, it retrieves the weather info but not the time. If I leave it to auto update it fails after the intial connection. Anyway, spent way too much time on this. Thank-you for the design & the help but I think i'll just recylce it down to another project now :)

from marquee-scroller.

Qrome avatar Qrome commented on June 3, 2024

@Barkingmad15 -- thanks for the comments, sorry it isn't working for you. I reached out to a few buddies that are also running it, and none of us are seeing the issues you mentioned. Good luck with your new hardware adventure.

from marquee-scroller.

Qrome avatar Qrome commented on June 3, 2024

@n7qnm - I will open this again as requested, but honestly, only 2 people have had this connection issue. It does not appear to be wide spread as I have confirmed with others using it as my self. PLEASE provide useful information. The logs reported by Barkingmad show that he was having connection issues to both the TimeDB api as well as the weather. The connection failed on making a HTTP connection on port 80. This does not appear to be a coding issue.

Please provide logs from your Serial Monitor -- other guessing does not help.

Please confirm that your DHCP server is not expiring the IP addresses of the devices.
Make sure you have not over loaded your API key or that other people are not using it.

from marquee-scroller.

n7qnm avatar n7qnm commented on June 3, 2024

from marquee-scroller.

n7qnm avatar n7qnm commented on June 3, 2024

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.