Getting Weather from Core Devices App?

Does the Core Devices App support providing weather at the user’s location to a watchface yet? If so, I’d there documentation explaining how to use it? If not, is it planned or is there an issue tracking the feature?

You don’t need the App to do it. There is a sample showing how to do it:GitHub - pebble-examples/pebble-js-tutorial: Sample project from the Getting Started Pebble.js watchapp tutorials

And pebblekit.js already supports geolocation: PebbleKit JS // Pebble Developers

My watch faces already use OpenWeatherMap directly. However I’d like to make use for the weather provided by the Pebble App if/when its available.

That’s something that never was supported in any Pebble app – the legacy app could populate the built-in Weather app, but there never was any API for watchfaces/apps to get weather data.

Would be neat to have it though! Maybe in a future version of the SDK, they can add an API for that.

Yes, it would be convienient if I could set the weatherdata provider in the mobile app, which then the watch faces and apps use this weather data for all watch faces and api.

I really don’t like toggeling things such as weather data provider, imperial/metric, in/mm, km/h or m/s for each and every watch face you try out.

New apps should support this.

1 Like

It is supposed to be on the roadmap according to Eric’s blog post: https://ericmigi.com/blog/how-to-build-a-smartwatch-software-setting-expectations-and-roadmap#pebble-mobile-app

“Next up, we’ll be working on the following SDK related tasks:

Providing weather data as a system API, so each watchface does not have to include it’s own weather-retrieval code”

1 Like

That’s what I was thinking of. Thanks for linking to the source.