Weather app


I used api key in web browser and did return data, so not sure why not working, Ill try removing and readding after power cyceing the tidbyt device.

2 Likes

What am I doing wrong?

http://dataservice.accuweather.com/locations/v1/search?q=05443&apikey=Hp2BwO27SaG7mIAYiTDOBPltWovH4pJB

For location key I am using: 336184

should I be using a different key or the one in the response via browser which is

Key 1987_PC
Type PostalCode

What are you seeing happen exactly? Your API key (Hp2BwO27SaG7mIAYiTDOBPltWovH4pJB) and location key (336184) both look good, based on the response I’m getting from https://dataservice.accuweather.com/forecasts/v1/daily/5day/336184?apikey=Hp2BwO27SaG7mIAYiTDOBPltWovH4pJB&details=true, which is what the app queries.

Thank you for following up - I am sorry I should have updated my post. What I found was that in my API key field I had the entire URL for Accuweather with the API key embedded. Once I removed the URL and only input the API key into the APP things worked great. Originally I was getting the cloud icon with a dash through it but now I see my local weather. Great APP Thank you!

1 Like

Ah, that’s great to hear! Thanks :slight_smile:

Hi - I am excited to use the AccuWeather app - but not sure the correct way to request an API Key. Is it filling out the “Add App” form as attached? I have already created an AccuWeather API account.

Yup that’s right, it’s a little quirky. See the attached screenshot for my ‘app’ details.

Thank you. Up and running!

1 Like

Got my AccuWeather app up and running - thank you Sudeepban!

Does anyone have any solutions for an app that displays an accurate current temperature? The stock Tidbyt weather apps are still inaccurate - frequently off by almost 10 degrees or more. Similarly, all the apps using OpenWeather are very inaccurate.

1 Like

I was playing around with modifying the AccuWeather Forecast app I made to make a current time and temp app, so that it could display an accurate AccuWeather temperature instead of the source the stock app uses. Here is a prototype image - what do you think?

1 Like

Sudeepban, you are a wizard!

1 Like

My Time & Temp app using AccuWeather current conditions is now submitted for code review!

Hi all,

Really appreciate the work that everyone has put in on this, especially @sudeepban. Unfortunately we have been asked by AccuWeather’s legal department to remove this app. After some back & forth we were unable to convince them otherwise.

You are of course welcome to run whatever code you want on your own devices and computers if you abide by AccuWeather’s terms, but we will be removing this app from our repo.

Sorry… wish I had better news.

That is a real bummer :frowning:

Yeah… I know. I really appreciate the work you’ve put into this and this just sucks. Our attorney communicated with theirs and pleaded our case, but we weren’t successful.

2 Likes

Hi @sudeepban / @rohan / any others following this thread,

Per Rohan’s most recent comment regarding AccuWeather’s legal dept. not allowing us to make calls to their API via this app, I have opened a PR (based on @sudeepban’s initial work on the “Time & Temp” app referenced in this comment) which introduces other weather API’s that Tidbyt users may select. Just trying to contribute to the community and support Sudeep as I really love the work he began with this app and would love to see it merged into the tidbyt/community repo as an app available to be used on our Tidbyts. :slight_smile: Let me know your thoughts!

1 Like

This is really great stuff, appreciate the effort and hope you’re able to get it through! If that works for the current conditions app, perhaps a similar approach could be used for the previous AccuWeather 3 day forecast app that was removed.

I am curious about how the quality of the weather data compares from the different sources you’re pulling from. I think OpenWeather was what the stock Tidbyt weather app used which gave some pretty questionable results?

Thanks! You are the visionary and really appreciate your initial effort!! I’m hoping we can get this approved as well.

Unfortunately, I do not think we can make API calls to AccuWeather for any app that we care to submit to the Tidbyt Community. @rohan’s response would indicate that this is due to some type of legal reasons, so I’m not sure all of the details there.

I added several other open API’s that have free/paid models, and do not know of how their accuracy compares to AccuWeather. Would be nice to get this merged in so the community (worldwide) can test. :slight_smile: The one thing I do know about weather API’s in general are that generally-speaking, one isn’t the ‘best’ in comparison to others. I’ve found that sometimes, one weather API’s data models will return better/more-realistic data based on certain geographic areas vs. others. So, to me it makes sense to have a revision like this latest PR where we allow the Tidbyt user to choose which weather API they would like to use.

Also, I went ahead and renamed the app to “Time & Weather” as it seems a bit more fitting to the overall functionality of the app. Cheers!

1 Like

Just had a chance to try out the new Time & Weather app, I’m loving it! Thanks so much for your effort on this @kaffolder7 ! It’s so nice to be able to select from different services and configure different weather attributes to cycle through, really good stuff.

1 Like

You’re very welcome @sudeepban ! I started with your excellent PR, simply made adjustments, then began working through getting several other weather API’s integrated that should have more-lenient integration requirements. Did some research on which services are most-accurate and also included a couple ‘hyper-local’ ones as well (e.g. Tomorrow.io). Either way, unless any of these weather API’s change their free allotments, I have hardcoded all TTL’s to stay within the calls/hr. limits.

Also, I included the free OpenWeather 2.5 API (e.g. the existing/default forecast API). I believe they are retiring this ‘free’ API and moving towards their newer One Call API 3.0 sometime this summer. I’ll try to keep an eye on it and remove the deprecated 2.5 API code from the Tidbyt app once this API has been retired. OpenWeather One Call 3.0 still has a free 1,000 daily request limit which should suffice for frequent-enough updates.

I’m considering adding maybe a few more selectable/optional metrics in as well with some of the supporting weather API services, but haven’t gotten there yet. (e.g. pollen count, ozone, wildfire smoke index, etc.)

1 Like