asteroid
asteroid copied to clipboard
Feature Request: Pedometer?
Hi!
Would it be possible to add a simple step counter feature to AsteroidOS? That would be incredibly useful! I am using it on dory, but I don't see why it wouldn't be generally appreciated across other models.
Thanks for reading!
Hi @DanyonR Pedometer support would be great. Someone suggested this a while back on the Sync repo (see https://github.com/AsteroidOS/AsteroidOSSync/issues/112).
It seems we need 3 components to get this going:
- A sensorfw backend
- It looks like this already exists here
- A QtSensors module that talks with the sensorfw backend.
- We could base this on the HRM module.
- An app that exposes the functionality to the user
- We can base this on the hrm or the accelerometer example for testing.
That said, it's obvious that we need a fitness app with history logging. Especially resetting the count at a specific time and saving the old count in a log with the date is something we should do after we get the sensor working.
Edit: @Drakador suggested in the other issue that a counter "could easily fit just below the weather icon in the events and weather screen, or above the battery level indicator in the top screen."
Okay, that's encouraging! I think it would also work well if a step counter was integrated with either an existing or a new watch face.
it's obvious that we need a fitness app with history logging. Especially resetting the count at a specific time and saving the old count in a log with the date
Perhaps sync the logs back to AsteroidOS Sync? That way it can be reviewed from your phone, so that more recent data can be stored in the watch itself. This would enable easy long-term monitoring of fitness goals.
Now we have the sensor, We need a UI
I suggest to use a foot pod as a pedometer. I am using the android app a training tracker with a foot pod:
https://github.com/rainerblind/aTrainingTracker
step counting and also all other data are very accurate with a foot pod. There is a Rasperri Ant+ script which can run under Linux, which could be modified to use with a foot pod:
https://www.thisisant.com/forum/viewthread/7360/
unfortunately, to use an ANT+ stick with a watch is complicated. Maybe to use the BLEHeartRateLogger:
https://github.com/fg1/BLEHeartRateLogger
and modify it for a foot pod?
for anyone still following this issue, there's now some development happening on https://git.dodorad.io/dodoradio/asteroid-health and the corresponding sensor logger, https://git.dodorad.io/dodoradio/asteroid-sensorlogd