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

Automatically start recording upon movement detection #1732

Open
CodeShakingSheep opened this issue Oct 11, 2023 · 6 comments
Open

Automatically start recording upon movement detection #1732

CodeShakingSheep opened this issue Oct 11, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@CodeShakingSheep
Copy link

Is your feature request related to a problem? Please describe.
Often I forget to hit the record button before I do a workout. This leads to a lot of my workouts not being recorded, so that my statistics don't represent my actual activity.

Describe the solution you'd like
I would love to have a setting, for example called "Automatically start recording when moving" based on sensors and GPS position. When the setting is activated recording of workouts should start automatically upon movement detection.

Describe alternatives you've considered
Alternatively, I think that having a notification upon movement detection asking if I want to start a recording would already be helpful.

Additional context

@CodeShakingSheep CodeShakingSheep added the enhancement New feature or request label Oct 11, 2023
@dennisguse
Copy link
Member

Which sensor should trigger the start?
GPS is not really suited for this as it is too energy consuming.

Which workout are you thinking about?

@CodeShakingSheep
Copy link
Author

I was thinking about different kinds of activities including cycling, running, walking. Regarding sensors I'm not sure. I thought GPS would be suitable because when the user changes position it means he is moving. But if it's too energy consuming, perhaps the step counter would work with a minimum threshold which could be configured by the user himself in the settings. For example, whenever the device recognizes more than 20 steps then automatically start a recording. Do you think that would be feasible to implement?

@dennisguse
Copy link
Member

Do you want to start a new recording every time movement is detected?
And when would it stop?

@CodeShakingSheep
Copy link
Author

Yes, the idea would be to start a new recording every time movement is detected (based on the user setting of the minimum threshold, could also be more steps than 20). Overall, the idea is to automatize activity recording more so that the user doesn't have to think about it every time before a workout. Recording could stop whenever a minimum threshold period of non-movement is detected, e.g. no steps taken / GPS position not changed for 5 minutes. What do you think?

@dennisguse
Copy link
Member

You can try out what happens if you let OpenTracks run continuously for a day and set the location interval to something like 5min.

By the way, what do you consider a workout?
Just walking around is likely not the case, right?

@khao-soi
Copy link
Contributor

khao-soi commented Oct 31, 2023

How about OT somehow detects workouts as a kind of draft / suggestion which could be converted to an actual track later.

If movement is detected the recording starts until movement stops for a while. All these movements appear in an additional list to be selected as an actual track.

This way the bike ride to the grocery store could be ignored, while the actual run in the park can be marked as a track recording.

Just an idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants