nightscout / nightguard

iOS and WatchOS Client for the Nightscout CGM System
GNU Affero General Public License v3.0
242 stars 158 forks source link

Alerts #76

Closed adirazran closed 5 years ago

adirazran commented 5 years ago

On iphone while the app at the background I’m not getting any alerts, only when I’m opening the app, is it a bug ? How can I get alerts when my phone is in my pocket .. it’s very important ( I did all the correct setting and still is not working ) many thanks

dhermanns commented 5 years ago

Hello! Have you enabled background updates on your phone?

Have a look here. Maybe that helps: https://medium.com/@h3rmanns/enabling-background-updates-for-you-iphone-and-watch-4b8167a70b24

adirazran commented 5 years ago

Of course . Still not working on iphone

I try already Nightscouter+Nightguard and enable sleep mode And still no alert I tried with 3 different iphone Still ... nothing

Thanks, Adir.

On 29 May 2019, at 23:51, dhermanns notifications@github.com wrote:

Hello! Have you enabled background updates on your phone?

Have a look here. Maybe that helps: https://medium.com/@h3rmanns/enabling-background-updates-for-you-iphone-and-watch-4b8167a70b24

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

dhermanns commented 5 years ago

Then - tell us how your settings in your nightguard app are. Screenshots would be nice.

adirazran commented 5 years ago

Thanks, Adir.

On 30 May 2019, at 8:52, dhermanns notifications@github.com wrote:

Then - tell us how your settings in your nightguard app are. Screenshots would be nice.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

adirazran commented 5 years ago

Any news ?

Thanks, Adir.

On 30 May 2019, at 8:52, dhermanns notifications@github.com wrote:

Then - tell us how your settings in your nightguard app are. Screenshots would be nice.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

dhermanns commented 5 years ago

Did you send us Screenshots showing your nightguard settings?

adirazran commented 5 years ago

Of course I will send again

Here

Thanks, Adir.

On 31 May 2019, at 13:04, dhermanns notifications@github.com wrote:

Did you send us Screenshots showing your nightguard settings?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

dhermanns commented 5 years ago

You can’t send them by eMail. You will have to link them directly in the github issue.

adirazran commented 5 years ago

How can I link my screen shot to the forum

Thanks, Adir.

On 31 May 2019, at 17:52, dhermanns notifications@github.com wrote:

You can’t send them by eMail. You will have to link them directly in the github issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

dhermanns commented 5 years ago

https://stackoverflow.com/questions/10963205/how-to-attach-file-to-a-github-issue/10963250#10963250

jizhongwen commented 5 years ago

back 微信图片_20190726204117 微信图片_20190726204135 微信图片_20190726204141 微信图片_20190726204146 微信图片_20190726204151 微信图片_20190726204210 微信图片_20190726204445 The alarm did not work after put this app in the background, I tried many times. It stayed on Snoozed for 1min when I opened this app, and then alarm. Thank you for help, I hope this isse can be resolved.

dhermanns commented 5 years ago

Looks good to me. Only thing could be: how did you set your background updates? For Wifi only?

adirazran commented 5 years ago

No , also data and WiFi It’s mean all update should push and only this no.. I already tried this in 5 different iphone .. it seems that push not working Only when the app is open it’s work

Thanks, Adir.

On 26 Jul 2019, at 16:11, dhermanns notifications@github.com wrote:

Looks good to me. Only thing could be: how did you set your background updates? For Wifi only? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

jizhongwen commented 5 years ago

wifi Also data and wifi. In the appstore, only nightguard support alarm. I hope it can work. DM need it. Thanks for your quick response

adirazran commented 5 years ago

So what to do Is there is any option that I will get alarm without open the app all night ? Can’t it work like Whatsup ?...

All my setting is correct But still .. push doesn’t work .. I think the developer should fix the issue it’s not that my setting are not correct Waiting for help

Thanks, Adir.

On 26 Jul 2019, at 17:48, jizhongwen notifications@github.com wrote:

Also data and wifi. In the appstore, only nightguard support alarm. I hope it can work. DM need it. Thanks for your quick response

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

dhermanns commented 5 years ago

You would need a server side pushing service to achieve reliable push notifications like used from whats app.

You can configure something like pushover on your nightscout backend to do so.

Nightguard needs to depend on what apple allows us to do. We already had others here that don‘t get any background updates at all. But I can’t reproduce it on my side.

Therfore can‘t fix it. Sorry.

Lakomova commented 5 years ago

The alarm is not working, I tried different settings and checked my iphone settings also. It stayed on Snoozed for 1min. But when I open the app, alarm is working. What’s wrong?

dhermanns commented 5 years ago

Hard to tell. Background updates are under the control of apple. We get update time if apple lets us.

Lakomova notifications@github.com schrieb am So. 15. Sept. 2019 um 12:57:

The alarm is not working, I tried different settings and checked my iphone settings also. It stayed on Snoozed for 1min. But when I open the app, alarm is working. What’s wrong?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nightscout/nightguard/issues/76?email_source=notifications&email_token=AAYPBFIIFE6C43K6O7NDLFTQJYIKRA5CNFSM4HQU67DKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6XOJWQ#issuecomment-531555546, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYPBFIJD5RSGWRT7CLAID3QJYIKRANCNFSM4HQU67DA .

iteemh commented 4 years ago

I have a similar problem. The app does not push notifications/alerts when it is not open.

dhermanns commented 4 years ago

Have a look at the answers here. If all doesn‘t help - use something like pushover to have real push notification. Nightguard can do only background updates and this is limited by design.

Babuci1 commented 4 years ago

Hello! Could you tell me which iPhone works with Nightguard and iwatch. I have the same issue as "adirazran" (don't refresh in the background when the watch is not open) and have iPhone X.. Thanks!

dhermanns commented 4 years ago

Hi! This should have nothing to do with your iPhone. Just your configuration of your background updates and the algorithm apple uses to determine how many updates they allow. There are a lot of parameters apple takes into account for that. E.g. if you use our complication, you should get more updates.

Babuci1 commented 4 years ago

Thank you for your answer.So we can't do anything.. I'm disappointed. So I have to sell my iwatch.. :-/My daugther is only 4, and the alarms are very important for me.Has anyone ever reported the problem for apple? Thank you in advance.. Henrietta

Sent from Yahoo Mail for iPhone

On szerda, augusztus 26, 2020, 7:55 du., dhermanns notifications@github.com wrote:

Hi! This should have nothing to do with your iPhone. Just your configuration of your background updates and the algorithm apple uses to determine how many updates they allow. There are a lot of parameters apple takes into account for that. E.g. if you use our complication, you should get more updates.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

dhermanns commented 4 years ago

No - not reported to apple since this is works-as-designed for them. But normally you should get notifications maybe 2 times an hour.

If you don‘t get any at all, you should check your settings on the phone/watch.

Babuci1 notifications@github.com schrieb am Mi. 26. Aug. 2020 um 22:12:

Thank you for your answer.So we can't do anything.. I'm disappointed. So I have to sell my iwatch.. :-/My daugther is only 4, and the alarms are very important for me.Has anyone ever reported the problem for apple?

Thank you in advance..

Henrietta

Sent from Yahoo Mail for iPhone

On szerda, augusztus 26, 2020, 7:55 du., dhermanns < notifications@github.com> wrote:

Hi! This should have nothing to do with your iPhone. Just your

configuration of your background updates and the algorithm apple uses to

determine how many updates they allow. There are a lot of parameters apple

takes into account for that. E.g. if you use our complication, you should

get more updates.

You are receiving this because you commented.

Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/nightscout/nightguard/issues/76#issuecomment-681098639, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYPBFKCV6DOSKJTUNHDXW3SCVUBPANCNFSM4HQU67DA .

Babuci1 commented 4 years ago

All of my notifications settings are correct (exactly like "adirazran").

2 times an hour..?😯 It is very dangerous for a little girl with T1DM.. :( the delta alarms would be the most important.. and not only 2 times/hour.I'm very sad about that..Unbelievable there is no solution..

Sent from Yahoo Mail for iPhone

On szerda, augusztus 26, 2020, 10:17 du., dhermanns notifications@github.com wrote:

No - not reported to apple since this is works-as-designed for them. But normally you should get notifications maybe 2 times an hour.

If you don‘t get any at all, you should check your settings on the phone/watch.

Babuci1 notifications@github.com schrieb am Mi. 26. Aug. 2020 um 22:12:

Thank you for your answer.So we can't do anything.. I'm disappointed. So I have to sell my iwatch.. :-/My daugther is only 4, and the alarms are very important for me.Has anyone ever reported the problem for apple?

Thank you in advance..

Henrietta

Sent from Yahoo Mail for iPhone

On szerda, augusztus 26, 2020, 7:55 du., dhermanns < notifications@github.com> wrote:

Hi! This should have nothing to do with your iPhone. Just your

configuration of your background updates and the algorithm apple uses to

determine how many updates they allow. There are a lot of parameters apple

takes into account for that. E.g. if you use our complication, you should

get more updates.

You are receiving this because you commented.

Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/nightscout/nightguard/issues/76#issuecomment-681098639, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYPBFKCV6DOSKJTUNHDXW3SCVUBPANCNFSM4HQU67DA .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

dhermanns commented 4 years ago

As mentioned above, if you want immediate notification you should configure the pushover service. This is the way Apple wants this to be implemented.

If your child is very hard to keep in glucose range (like mine), you could be considering a looping solution like Android Aps.

iteemh commented 4 years ago

Hello Babuci1,

One solution is to dedicate a smartphone that runs the app 24/7 to be able to continuously monitor the glucose level and receive alerts.

Kind regards,

Babuci1 commented 4 years ago

Hello, thanks!I’m aware of this, but there are situations when it doesn’t work. For example in a playground, etc. with a 4 years old little girl.. That would be the solution my iwatch... but it doesn't work.. and it's annoying.(I have an iPhone X and iwatch, my daugther has an Android with a Contour link and otg.. for nightscout. It's  already too much.) Best regards

Sent from Yahoo Mail for iPhone

On péntek, augusztus 28, 2020, 8:22 de., iteemh notifications@github.com wrote:

Hello Babuci1,

One solution is to dedicate a smartphone that runs the app 24/7 to be able to continuously monitor the glucose level and receive alerts.

Kind regards,

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

dhermanns commented 4 years ago

You could keep the nightguard app open on your watch then. We get the chance to give an alarm whenever your watchface lights up.

Babuci1 notifications@github.com schrieb am Sa. 29. Aug. 2020 um 08:23:

Hello,

thanks!I’m aware of this, but there are situations when it doesn’t work. For example in a playground, etc. with a 4 years old little girl.. That would be the solution my iwatch... but it doesn't work.. and it's annoying.(I have an iPhone X and iwatch, my daugther has an Android with a Contour link and otg.. for nightscout. It's already too much.)

Best regards

Sent from Yahoo Mail for iPhone

On péntek, augusztus 28, 2020, 8:22 de., iteemh notifications@github.com wrote:

Hello Babuci1,

One solution is to dedicate a smartphone that runs the app 24/7 to be able to continuously monitor the glucose level and receive alerts.

Kind regards,

You are receiving this because you commented.

Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/nightscout/nightguard/issues/76#issuecomment-683244795, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYPBFLXJ2KMCIXHD3MYVLLSDCNE3ANCNFSM4HQU67DA .

Babuci1 commented 4 years ago

But it doesn't work, because after 10 min the watch is in "home position" and alarms are off..I get messenger, viber, sms but I don't get the nightguard alarm's.I have already sent screenshot, all of my settings are correct. My veryfirst question was that: can cause this problem my Iphone X?I have more friends (also "diab parents..") and have the same issue.. So I'm not alone. I would like to get the alarms from nightguard on my watch - always.. and not only 2 times/ hours, etc.

Sent from Yahoo Mail for iPhone

On szombat, augusztus 29, 2020, 9:03 de., dhermanns notifications@github.com wrote:

You could keep the nightguard app open on your watch then. We get the chance to give an alarm whenever your watchface lights up.

Babuci1 notifications@github.com schrieb am Sa. 29. Aug. 2020 um 08:23:

Hello,

thanks!I’m aware of this, but there are situations when it doesn’t work. For example in a playground, etc. with a 4 years old little girl.. That would be the solution my iwatch... but it doesn't work.. and it's annoying.(I have an iPhone X and iwatch, my daugther has an Android with a Contour link and otg.. for nightscout. It's already too much.)

Best regards

Sent from Yahoo Mail for iPhone

On péntek, augusztus 28, 2020, 8:22 de., iteemh notifications@github.com wrote:

Hello Babuci1,

One solution is to dedicate a smartphone that runs the app 24/7 to be able to continuously monitor the glucose level and receive alerts.

Kind regards,

You are receiving this because you commented.

Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/nightscout/nightguard/issues/76#issuecomment-683244795, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYPBFLXJ2KMCIXHD3MYVLLSDCNE3ANCNFSM4HQU67DA .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

dhermanns commented 4 years ago

Do other apps stay in foreground on your watch?

Babuci1 notifications@github.com schrieb am Sa. 29. Aug. 2020 um 09:22:

But it doesn't work, because after 10 min the watch is in "home position" and alarms are off..I get messenger, viber, sms but I don't get the nightguard alarm's.I have already sent screenshot, all of my settings are correct.

My veryfirst question was that: can cause this problem my Iphone X?I have more friends (also "diab parents..") and have the same issue.. So I'm not alone.

I would like to get the alarms from nightguard on my watch - always.. and not only 2 times/ hours, etc.

Sent from Yahoo Mail for iPhone

On szombat, augusztus 29, 2020, 9:03 de., dhermanns < notifications@github.com> wrote:

You could keep the nightguard app open on your watch then. We get the

chance to give an alarm whenever your watchface lights up.

Babuci1 notifications@github.com schrieb am Sa. 29. Aug. 2020 um 08:23:

Hello,

thanks!I’m aware of this, but there are situations when it doesn’t work.

For example in a playground, etc. with a 4 years old little girl.. That

would be the solution my iwatch... but it doesn't work.. and it's

annoying.(I have an iPhone X and iwatch, my daugther has an Android with a

Contour link and otg.. for nightscout. It's already too much.)

Best regards

Sent from Yahoo Mail for iPhone

On péntek, augusztus 28, 2020, 8:22 de., iteemh < notifications@github.com>

wrote:

Hello Babuci1,

One solution is to dedicate a smartphone that runs the app 24/7 to be able

to continuously monitor the glucose level and receive alerts.

Kind regards,

You are receiving this because you commented.

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

< https://github.com/nightscout/nightguard/issues/76#issuecomment-683244795 ,

or unsubscribe

< https://github.com/notifications/unsubscribe-auth/AAYPBFLXJ2KMCIXHD3MYVLLSDCNE3ANCNFSM4HQU67DA

.

You are receiving this because you commented.

Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/nightscout/nightguard/issues/76#issuecomment-683249983, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYPBFIGUO4UJJKO7JCG7ETSDCUENANCNFSM4HQU67DA .

iteemh commented 4 years ago

Hello,

Have you also tried to turn on "Always on" setting under "Display and Brightness" setting of your Apple watch and turn ON "Wake Screen on Wrist Rise" and choosing "Always" setting for "On Screen Wake Show Last App"? This may allow you to run Nightguard app continuously.

Kind regards,

Babuci1 commented 4 years ago

This is what I see now.Don't refresh the nightguard and don't see my daugther's sugar and can't get any alarms on my watch from nightguard.I get other notifications (messenger, viber, call, weather, play, health..).

Sent from Yahoo Mail for iPhone

On szombat, augusztus 29, 2020, 9:45 de., iteemh notifications@github.com wrote:

Hello,

Have you also tried to turn on "Always on" setting under "Display and Brightness" setting of your Apple watch and turn ON "Wake Screen on Wrist Rise" and choosing "Always" setting for "On Screen Wake Show Last App"? This may allow you to run Nightguard app continuously.

Kind regards,

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Babuci1 commented 4 years ago

Everything is OK, but I can't turn on "Always on" setting under "Display and Brightness" setting of my Apple watch.. I attach the screenshots:

Sent from Yahoo Mail for iPhone

On szombat, augusztus 29, 2020, 9:45 de., iteemh notifications@github.com wrote:

Hello,

Have you also tried to turn on "Always on" setting under "Display and Brightness" setting of your Apple watch and turn ON "Wake Screen on Wrist Rise" and choosing "Always" setting for "On Screen Wake Show Last App"? This may allow you to run Nightguard app continuously.

Kind regards,

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

iteemh commented 4 years ago

Your screenshots are not showing for some reason. I am not entirely sure why your Apple watch is not giving you the option to turn on "Always on" setting. I think in this case you should get in touch with Apple Tech Support to show you how you could keep the display of your Apple watch always ON, as this option should be available.

Best regards,

Babuci1 commented 4 years ago

Dear All, many thanks for your help!!I have the solution.. I have iwatch series 4.. and on this I couldn't turn the screen always on :( My friend showed me her screenshot, she has apple watch series 5 and she has this option already.. (both have iPhone X, software 13.6.1.)I hope you can see the screenshots.

Thanks again! Best regards, Henrietta

Sent from Yahoo Mail for iPhone

On szombat, augusztus 29, 2020, 11:28 de., iteemh notifications@github.com wrote:

Your screenshots are not showing for some reason. I am not entirely sure why your Apple watch is not giving you the option to turn on "Always on" setting. I think in this case you should get in touch with Apple Tech Support to show you how you could keep the display of your Apple watch always ON, as this option should be available.

Best regards,

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

iteemh commented 4 years ago

Aha that's the reason why then. Too bad that this option is only available on series 5. I hope Apple introduces this option to the older series as well.

You're welcome! I wish you all the best.

Kind regards,

Babuci1 commented 4 years ago

Thank you, I hope the same :)  Best regards, Henrietta

Sent from Yahoo Mail for iPhone

On szombat, augusztus 29, 2020, 12:08 du., iteemh notifications@github.com wrote:

Aha that's the reason why then. Too bad that this option is only available on series 5. I hope Apple introduces this option to the older series as well.

You're welcome! I wish you all the best.

Kind regards,

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

muhannad-alh commented 3 years ago

Hello,

Since today, I have been unable to access Nightscout to monitor the blood sugar level on both my iphone and the website. The below error message appears on the website:

Unable to connect to Mongo {"stack":"Error: MongoDB connection string is missing. Please set MONGO_CONNECTION environment variable at maybe_connect (/app/lib/storage/mongo-storage.js:23:15) at init (/app/lib/storage/mongo-storage.js:77:10) at setupStorage (/app/lib/server/bootevent.js:117:44) at Object. (/app/node_modules/bootevent/index.js:12:7) at EventEmitter.saw.nest (/app/node_modules/chainsaw/index.js:86:12) at Object.acquire (/app/node_modules/bootevent/index.js:10:9) at saw.next (/app/node_modules/chainsaw/index.js:62:18) at augmentSettings (/app/lib/server/bootevent.js:94:7) at Object. (/app/node_modules/bootevent/index.js:12:7) at EventEmitter.saw.nest (/app/node_modules/chainsaw/index.js:86:12)","message":"MongoDB connection string is missing. Please set MONGO_CONNECTION environment variable"}

Can you please help me identify what the problem is and how it can be fixed?

I appreciate your support.

Kind regards,

Muhannad

dhermanns commented 3 years ago

Hi!

This is the wrong place for your question. It is regarding the cgm-remote-monitor.

But I would say you didn‘t set the connection string to your database:

Please set MONGO_CONNECTION environment variable

Cu, Dirk

Reply to this email directly, view it on GitHub https://github.com/nightscout/nightguard/issues/76#issuecomment-725204532, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYPBFLFSZ3G7BC6OHNSHR3SPINBNANCNFSM4HQU67DA .

muhannad-alh commented 3 years ago

@dhermanns Thank you very much. Correct, mongo_connection was missing.

Best,

hanoii commented 2 years ago

Hey all, in helping a friend dealing with this I ended up setting him with

IFTTT+Integromat+Twilio for sms/phone calls.

Basically nightscout will send notifications to IFTTT, IFTTT will call a webhook on Integromat and integromat will either make a phone call for urgent alarms and send sms for those as well as the regular warnings. Just mentioning this here in case it helps any one of you or the rest. Obviously some of this comes at an expense (so far only paying for twilio but might end up paying for integromat as well)

This has some benefits like being a phonecall it works universally and can allow for some fine tuning, like calling the school (it's my friend's son who's diabetic) on a certain schedule and other more complex logics. It also would work with slow/little or no data connection. As long as you can receive a phone call, you will get notified.

dhermanns commented 2 years ago

Thanks for your feedback. Another option could be to enable pushover on your nightscout backend.

Am Do., 18. Nov. 2021 um 19:55 Uhr schrieb Ariel Barreiro < @.***>:

Hey all, in helping a friend dealing with this I ended up setting him with

IFTTT+Integromat+Twilio for sms/phone calls.

Basically nightscout will send notifications to IFTTT, IFTTT will call a webhook on Integromat and integromat will either make a phone call for urgent alarms and send sms for those as well as the regular warnings. Just mentioning this here in case it helps any one of you or the rest. Obviously some of this comes at an expense (so far only paying for twilio but might end up paying for integromat as well)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nightscout/nightguard/issues/76#issuecomment-973162143, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYPBFOAZ65V3YELFKAMU3LUMVDYJANCNFSM4HQU67DA .

cmayrink commented 1 year ago

After so long, is there any solution to solve the problem with nightscout notifications when it is in the background?

dhermanns commented 1 year ago

As described above. They should work as designed. But they will never update as we would like them to do: Every 5 minutes.

Sorry.