mattrossman / forecaswatch2

Open source revival of the beloved ForecasWatch Pebble watchface
https://apps.rebble.io/en_US/application/5dcdca6ac393f50cf6dbc264
GNU General Public License v3.0
36 stars 14 forks source link

openweathermap.org OpenWeathermap version 3.0 one call api #71

Open clach04 opened 8 months ago

clach04 commented 8 months ago

https://openweathermap.org/api/one-call-api claims:

One Call API 2.5 will be deprecated on April 15, 2024.

I'm not clear it's working today a few weeks before that date.

https://openweathermap.org/one-call-transfer.

API looks the same with the only API change being 2.5 becoming 3.0 (there are changes to the subscription plan/billing).

clach04 commented 8 months ago

Experimental branch https://github.com/clach04/pebble-forecaswatch2-fcsw2-fcw2/tree/openweathermap_v3_onecallapi

Which seems to work 🎉

jockefardig commented 4 months ago

I love this watchface, stopped fetching weather data a few months ago. I just want to know if gps is working for anyone else? I've tried owm API but still nothing. Not even fetching when I enter location manually. Just shows no data :(

Any ideas?

clach04 commented 4 months ago

@jockefardig you could try downloading and manually installing from the "Artifacts" section on the page https://github.com/clach04/pebble-forecaswatch2-fcsw2-fcw2/actions/runs/9311852341 - NOTE may need to use Desktop view for web browser.

jockefardig commented 4 months ago

Alright, I downloaded it and unpacked it. How do I install it with the Pebble-app? When I open it in Samsung file manager (the pbw-file) I only get F-droid or Google Play Store...

clach04 commented 4 months ago

@jockefardig See Rebble FAQ entry https://help.rebble.io/sideloading/ for "Sideload Helper by Rebble"

I have used this and it works great but I mostly use Cx file explorer

jockefardig commented 4 months ago

Awesome, thank you. Got it installed but still no data. Are you using it with openweathermap and their api key or what have you set yours to? Cause I assume it's working for you?

When I click on the gps-link I get to a LocationIQ website. I would assume it would present my location...

Been trying other apps which seems to be working fine. One app used YR.no as weather service which works great but it lacks in design. This app is unbeatable when it comes to design 👌

Do you have a paid subscription with openweathermap? I'm using the free one.

Thanks a lot for taking your time and answering my questions!

VĂ€nligen Joakim FĂ€rdig On 17 juli 2024 17:08 +0200, clach04 @.***>, wrote:

@jockefardig See Rebble FAQ entry https://help.rebble.io/sideloading/ for "Sideload Helper by Rebble" I have used this and it works great but I mostly use Cx file explorer — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

clach04 commented 4 months ago

@jockefardig you need a NEW version 3 api key. The old 2.0 no longer works, the watchface has been updated to use the new version 3 API, so if in doubt go and create a new v3 key. I don't have the link to hand at the moment (but https://openweathermap.org/apihas a link for subscription). You can use a free tier, BUT I think I did have to provide a credit card and then set a limit so I don't go over a certain expense threshold (which can be $0 😃 )

FrozenAnki commented 3 months ago

Does anyone have any update? I am on the “paid” api for open weather but it still won’t show weather on the watch face.

clach04 commented 3 months ago

Does anyone have any update? I am on the “paid” api for open weather but it still won’t show weather on the watch face.

This sounds like it could be an issue on your device, I recommend you debug it. The new version I posted works fine for me if that helps any. Matt likely has little interest in this as I believe he stopped using a Pebble a while ago.

mattrossman commented 3 months ago

I don't personally use the OpenWeatherMap provider, though the WeatherUnderground provider is still providing weather forecasts with GPS on my Pebble.

I would try clach04's build if you haven't already, and I can publish a build with the 3.0 endpoint update if that fixes things. Otherwise you may have to debug further on your own.

jockefardig commented 3 months ago

Does anyone have any update? I am on the “paid” api for open weather but it still won’t show weather on the watch face.

I had to sideload the app from GitHub and register for the 3.0 api to get it working. The app from Rebble-store didn't work for me.

I'd love to se a version without the battery-percentage though ;)