asteroid icon indicating copy to clipboard operation
asteroid copied to clipboard

Feature Request: Pedometer?

Open DanyonR opened this issue 5 years ago • 6 comments
trafficstars

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!

DanyonR avatar Nov 08 '20 00:11 DanyonR

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:

  1. A sensorfw backend
    • It looks like this already exists here
  2. A QtSensors module that talks with the sensorfw backend.
  3. An app that exposes the functionality to the user

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."

jrtberlin avatar Nov 08 '20 11:11 jrtberlin

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.

DanyonR avatar Nov 08 '20 15:11 DanyonR

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.

jehammer avatar Nov 09 '20 06:11 jehammer

Now we have the sensor, We need a UI

Doomsdayrs avatar Feb 09 '21 18:02 Doomsdayrs

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?

PeterGamma avatar Apr 10 '21 09:04 PeterGamma

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

dodoradio avatar Jul 18 '23 22:07 dodoradio