Feature request: Offer Smoothing choice as an automation action

Open
#4,677 2 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
kotlin
Domain
mobile-dev

Research direction

Start by tracing the existing sensor age condition and automation action handling for filter or smoothing settings. Add smoothing as a selectable automation action, then verify that a sensor-age rule can switch to second order exponential smoothing and back to average smoothing after the configured age.

Written by the indexing model from the issue text.

Description

enhancement

It could be very useful to be able to switch the filter (smoothing) option based on sensor age.
A Dexcom G7 has a lot more fluctuations during the first 24 hours. It would be really nice to be able to automatically switch to second order exponential (more aggressive filtering at the cost of more delay) for a new sensor. And switch back to average smoothing (less aggressive filtering with less delay) after sensor age becomes greater than 24 hours for example.

Sensor age is already an existing condition.
But, I don't believe it is currently possible to control the smoothing option as an automation action.

Dominant language
Kotlin
Stars
1.2k
Forks
6.4k
Avg merge
2d 7h
Merged PRs (30d)
19

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nightscout/AndroidAPS

All issues in nightscout/AndroidAPS

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.