InfiniTime icon indicating copy to clipboard operation
InfiniTime copied to clipboard

Forecastie implementation.

Open Sokoloft opened this issue 1 year ago • 8 comments

Verification

  • [X] I searched for similar feature request and found none was relevant.

Pitch us your idea!

Forecastie weather stats.

Description

Hello,

I'd like the ability to see the outside temperature on my watch. Probably up in the notification area of the Pinetime. Near battery and bluetooth icons.

I use an app called Forecastie for my weather information. Relevant post on the Forecastie github. As well as here is a post on Gadgetbridges codeberg page.

Thanks.

Sokoloft avatar Aug 12 '22 11:08 Sokoloft

There is a weather implementation in InfiniTime, but it is yet to be used anywhere. Also, weather support would need to be provided by the companion app.

FintasticMan avatar Aug 12 '22 13:08 FintasticMan

Is it really necessary that all BLE services are provided by the same app when BLE connects devices? Just asking because I am curious.

minacode avatar Aug 13 '22 10:08 minacode

@minacode if multiple connections were possible, then it wouldn't be necessary. Right now it is.

Avamander avatar Aug 13 '22 10:08 Avamander

So we need a separate connection per app, even with the same device?

minacode avatar Aug 13 '22 10:08 minacode

Yes.

Even if it were possible, it's not the best design. It's better to let the weather app send weather intents and the companion app deal with the complexity of pushing it to the device.

Avamander avatar Aug 13 '22 10:08 Avamander

So it seems this is mostly possible. @joserebelo on the Gadgetbridge codeberg page had said currently gadgetbridge does not forward any weather data to the Pinetime currently. They also pointed out that there is a merge request for Forecastie that forwards data to gadgetbridge. I have built this merge, however I'm awaiting support for gadgetbridge to send weather data to the Pinetime/Infinitime.

Sokoloft avatar Aug 13 '22 13:08 Sokoloft

Hello,

So if I'm understanding everything correctly. There is support for weather currently with Infinitime, however the only UI for it is meant for debugging. Supposedly you can modify the firmware to have that weather debugging UI app in the app list. Preferably, at least myself. It'd be nice to have relevant weather information on the main watch face. Or maybe swiping to the left on the main watch face would work?

I really hope this can be implemented in the next few updates. I have very little to no coding experience else I'd give it a shot myself.

I was recommended to try wasp-os but I don't like its look compared to Infinitime.

Sokoloft avatar Aug 14 '22 09:08 Sokoloft

You are right : InfiniTime already implements a weather service and there's a debug app in the source code (but not built into the release files).

ITD already supports the weather API, so I think we (InfiniTime devs and contributors) just need some time to work on that feature. IIRC, we ran into some issues and haven't had the opportunity to do some progress since then.

It'll be easier for companion apps developer to add support for the weather API when we have a fully working weather app.

JF002 avatar Aug 15 '22 09:08 JF002