nightscout / AndroidAPS

Opensource automated insulin delivery system (closed loop)
https://wiki.aaps.app
GNU Affero General Public License v3.0
724 stars 1.76k forks source link

[enhancement] New action "notice" or "sport-entry" set by automation #268

Open rICTx-T1D opened 3 years ago

rICTx-T1D commented 3 years ago

Hi folks,

I wish me a new feature in automation. Please make it possible to set a action for making a notice or sport-entry in care-portal. So I can track times where I drive in my car when I connected with bluetooth or time when I make sport with hearth sensor (BT-device too).

Thanks.

guydavies commented 3 years ago

This is already possible. I do it for driving in my car. You have to have a specific start/stop or have it timed and as long as the test still passes, it resets back again for the specified time.

Rgds,

Guy

On 26 Jan 2021, at 16:39, rICTx-T1D notifications@github.com wrote:

Hi folks,

I wish me a new feature in automation. Please make it possible to set a action for making a notice or sport-entry in care-portal. So I can track times where I drive in my car when I connected with bluetooth or time when I make sport with hearth sensor (BT-device too).

Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nightscout/AndroidAPS/issues/268, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS7B3QTVO4RO3U2GV23HCTS33O3XANCNFSM4WTU22OQ.

rICTx-T1D commented 3 years ago

How action must I choose to write a notice in careportal and NS? Screenshot_20210126-174357_AndroidAPS

guydavies commented 3 years ago

Ah, sorry, I misunderstood your requirement. I thought you wanted to take an existing action based on connectivity to BT.

I perform the kind of task you’re asking with Automate (the Android app). I have a few rules in Automate that automatically see when I’m active (walk, run, cycle, etc) and calculate when it’s finished and push an activity record to NS. I then have the NS upload only disabled (careful here folks :) ) and I can see the events in AAPS.

Automate can also identify when a particular BT device is attached to the phone, so you could use that as a trigger. I use that to activate my phone as a hotspot which is used by my M5StickC in the car to display my BG.

Rgds,

Guy

On 26 Jan 2021, at 17:43, rICTx-T1D notifications@github.com wrote:

How action must I choose to write a notice in careportal and NS?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nightscout/AndroidAPS/issues/268#issuecomment-767671974, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS7B3WQKTWQZEVSWMCVVR3S33WKDANCNFSM4WTU22OQ.

rICTx-T1D commented 3 years ago

@guydavies Thanks for your answer, but I don't like install additional software or tools to perform my request. AAPS detect my BT device successfully only a action set is missing to make the entry in careportal/ NS. I hope we find anyone to develop it.

guydavies commented 3 years ago

Understood. But that's your only choice at the moment. It's a pretty niche request so I don't see it being something that would be added quickly.

[Edit] sorry. Thinking about a different exchange I'm having. This should be possible but I don't have the skills to do it so you'll need to do.it or find someone interested to.add that functionality. Since there is an easy workaround (even though you don't like it) it may not be a priority for the skilled but busy Devs.