Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More data-based services / APIs #207

Open
5 of 10 tasks
Tracked by #141
RuffaloLavoisier opened this issue Apr 4, 2022 · 13 comments
Open
5 of 10 tasks
Tracked by #141

More data-based services / APIs #207

RuffaloLavoisier opened this issue Apr 4, 2022 · 13 comments
Assignees
Labels

Comments

@RuffaloLavoisier
Copy link
Member

RuffaloLavoisier commented Apr 4, 2022

I would like to provide information to Watchface.

TO-DO:

Bluetooth Applications to be developed in the future


I think we can provide this kind of information at the current step counter.

I think it is possible to extract sufficiently valuable data by storing user information(height, weight) that needs to be received by the Open-smartwatch in config.h or OSW config.


Related issue :

@RuffaloLavoisier RuffaloLavoisier self-assigned this Apr 13, 2022
@RuffaloLavoisier RuffaloLavoisier added this to the Ideas / Backlog milestone Apr 13, 2022
RuffaloLavoisier added a commit to RuffaloLavoisier/Ruffalo-OSW that referenced this issue Apr 14, 2022
-Update watchface
-Add displayStepsGoal OSW keys
-See Open-Smartwatch#207
@RuffaloLavoisier RuffaloLavoisier added the question Further information is requested label Apr 15, 2022
RuffaloLavoisier added a commit to RuffaloLavoisier/Ruffalo-OSW that referenced this issue Apr 15, 2022
-Update watchface
-Add settingDisplay OSW keys
-See Open-Smartwatch#207
RuffaloLavoisier added a commit to RuffaloLavoisier/Ruffalo-OSW that referenced this issue Apr 17, 2022
-Update watchface
-Add settingDisplayStepsGoal OSW keys
-See Open-Smartwatch#207
@RuffaloLavoisier RuffaloLavoisier added ⏳ pending for discussion This object is queued for internal discussion... and removed question Further information is requested ⏳ pending for discussion This object is queued for internal discussion... labels Apr 20, 2022
RuffaloLavoisier added a commit to RuffaloLavoisier/Ruffalo-OSW that referenced this issue Apr 27, 2022
-Update watchface
-Add settingDisplayStepsGoal OSW keys
-See Open-Smartwatch#207
@RuffaloLavoisier RuffaloLavoisier added the ⏳ pending for discussion This object is queued for internal discussion... label May 13, 2022
RuffaloLavoisier added a commit to RuffaloLavoisier/Ruffalo-OSW that referenced this issue May 13, 2022
-Tracking distance, calorie, step-counter
@RuffaloLavoisier
Copy link
Member Author

See #223

simonmicro added a commit that referenced this issue May 29, 2022
@RuffaloLavoisier RuffaloLavoisier closed this as not planned Won't fix, can't repro, duplicate, stale May 31, 2022
@RuffaloLavoisier
Copy link
Member Author

It's time to restart this part.

@Lorenzosciacca
Copy link
Contributor

weather_app_render
I’m working on a weather app for OSW, right now I’m able to perform a get to Open Weather map. The connection requires https and also an API key, anyway, there are also other services with less requirements. The data that I get with the API call are stored in the NVS using my own encoding. The encoder is capable to compress 24 updates ( weather code, temperature, humidity, pressure) in 76B. In particular, the encoding of humidity and temperature is lossy, pressure and weather code are encoded in a lossless way instead. The losses introduced are quite negligible for this kind of application.
The main idea is to update the weather on a daily base, doing it more frequently does not make a lot of sense for me.
How do you think to get weather data? Do you think that using a free service (with mandatory subscription ) like openweathermap is a good idea?

@simonmicro
Copy link
Member

@Lorenzosciacca I think this is a GREAT idea and - from the looks - beautiful implementation! I think using openweather is OK, as e.g. https://github.com/sqfmi/Watchy/blob/5690db077f5c99c7823cb652009bc260605b231f/examples/WatchFaces/7_SEG/settings.h#L6 is also doing that. I'm very impressed!

@RuffaloLavoisier
Copy link
Member Author

@Lorenzosciacca If you want, could you implement this weather part?

@Lorenzosciacca
Copy link
Contributor

@simonmicro thank you!
@RuffaloLavoisier , of course, it will be a pleasure for me.

@RuffaloLavoisier
Copy link
Member Author

@Lorenzosciacca
Thank you in advance ☺

@Lorenzosciacca
Copy link
Contributor

flash update: this is how the app looks like now. While i was playing with the smartwatch the screen died, it’s the usual problem but this slowed down everything. In the next future, when I will be able to do a couple of tests, I will post everything.

document_5830211950184762699.mp4

@mat942
Copy link

mat942 commented Sep 14, 2022

Looks great, love the UI!

@Lorenzosciacca
Copy link
Contributor

The app is available here.
Note: there is a bug, when i try to perform the GET to openweather i can't enable the wifi directly from the app, instead it's necessary to enable the WiFi from the webserver/time-update app. I don't know the exact reason, it also may be related to the usual WiFi problems.

@RuffaloLavoisier
Copy link
Member Author

@Lorenzosciacca Could you open the pull request?

@Lorenzosciacca
Copy link
Contributor

Yes, i can, now i'm not at home, tomorrow morning i can do It for sure. On develop right?

@RuffaloLavoisier
Copy link
Member Author

Yes, correct

simonmicro added a commit that referenced this issue Nov 24, 2022
@simonmicro simonmicro changed the title Data information More data-based services / APIs Jan 7, 2023
@simonmicro simonmicro removed the ⏳ pending for discussion This object is queued for internal discussion... label May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants