nightscout / nightscout/AndroidAPS
[Feature Request] New automation condition "the current profile name is .."
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 1.2k
- Forks
- 6.4k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 19
Description
Request
Add a new automation condition "the current profile name is .."
How my automation would be like
On every Monday at 11am and if the current profile is "schoolday",
then set a temporary target 160 for 120min.
Why i need this
My son often forgets to activate activity before school exercises or before his sports club starts.
Currently i am using an automation "On every Monday at 11am...".
But when he is sick or there are school holidays, i don't want this automation to be triggered.
Alternatives i have tried
I shortly discussed this on discord.
The hint to use "geo location" or "wifi ssid" doesn't reliably work.
"Geo location" ist not reliable when he moves from one building to the other.
There is no "wifi" everywhere and we don't have access to others.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by locating the automation condition entry points and the handling for the current profile and temporary targets; then determine how the new profile-name condition should be exposed and evaluated. Done means the condition works in the Monday-style automation scenario and is covered by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100