nightscout / AndroidAPS

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

Extending SMS Notifications #1168

Open ideaweb opened 2 years ago

ideaweb commented 2 years ago

If a third party like medical assistance makes the following treatments via SMS, it would be nice, that other recipients like parents are informed as well, not only for bolus, carbs etc.

Most of the time parents and medical assistances do not have access to the child's smartphone (e.g. playing in the kindergarten etc.) and first question was, where the TBR or last bolus can be seen via SMS.

Is it possible to show the current basal rate as well? E.g. if AMA is running it would help a lot for further treatments (if any):

e.g. via BG: BZ: 280, Delta: 30 MGDL, IOB: 1,26U (Bolus: 1,26U Basal: -0,01U), COB: 3g, Basal: 0.26U, Temp: 0% (27min remaining)

or/and better via BASAL STATUS w/ some more extended info as shown in GUI pump section. Base: 0.26U, Temp: 0% (27min remaining)

But the question for "Last Bolus", maybe better to add it to PUMP command?

Currently its not possible to add extended carbs via SMS (I hope i am not wrong). It would be nice to have an extended CARBS command that e.g. the the second integer is the duration in hours:

CARBS 10 2 or CARBS 10 17:35 2

Last question/request, is it possible to reboot the phone via SMS? It would be nice that on trouble like bluetooth the phone can be rebooted remotely (w/ pin code of course). But i guess its not possible, only with rooted phones?

Btw. i am new with AndroidAPS, maybe some requests are wrong because of my missing knowledge. Then sorry about this... Thx for the greate work!!

ideaweb commented 2 years ago

I forgot to mention, of course NSClient app could be used to see all the details and to make special treatments on the assistent phone. But today with our new assitent on first day at school we found out (again), that she feels overwhelmed, because each child has different apps and SMS is just simple and easy to understand. Thats why it would nice2have eCarbs and extended info via SMS as well.

sdolenc commented 1 year ago

I hope I can help with some of your questions @ideaweb

  • same when PROFILE was changed

if you install the nsclient then you should be notified when the profile is changed

Is it possible to show the current basal rate as well? E.g. if AMA is running it would help a lot for further treatments (if any):

Visiting your nightscout website or using ns client app should do this (as long as android aps is doing a good job of pushing updates to ns)

Last question/request, is it possible to reboot the phone via SMS? It would be nice that on trouble like bluetooth the phone can be rebooted remotely (w/ pin code of course). But i guess its not possible, only with rooted phones?

If you absolutely need this functionality then there's an app called "automate" that could do this sort of thing. You can use automate to find examples of scripts that restart a phone after getting a specific sms message from a certain number, but running auntomations that can restart/shutdown a phone is risky and I wouldn't personally do it.