These are chat archives for nightscout/intend-to-bolus

7th
Mar 2019
TranceCake
@TranceCake
Mar 07 09:10
@ecc1 yeah correct :)
I switched to my new rig and my nightscout instantly went down..
my ns-loop shows this error:
(NOT VALID JSON: parse error: Invalid numeric literal at line 1, column 10)
Selection_014.png
someone on discord mentioned that this screen usually means that the ns back-end is down
TranceCake
@TranceCake
Mar 07 10:08
I switched back to the old pi and everything started working again. I think the new pi is sending data that crashed nightscout
tuzoenduro
@tuzoenduro
Mar 07 11:13
@TranceCake I think that screen also comes up when the mongo database is too full...
TranceCake
@TranceCake
Mar 07 11:26
yeah someone said that but I'm at 40 mb of 112
tuzoenduro
@tuzoenduro
Mar 07 11:38
did you reuse a previous mongo from a previous NS site? When I started looping I created a new NS site, but reused my old (>4 years) mongo db... I had do double check to verify that the one I was compacting was not the one that was over the limit
TranceCake
@TranceCake
Mar 07 12:03
no It was the same ns site, only the rig switched
Raymond Richmond
@PedanticAvenger
Mar 07 15:25
@amspoke Rotating is fine, and the default on the edison at least. You may want to look at the newsyslog settings to see why that rotation isn't happening.
Riko L
@Ricco555
Mar 07 16:33
@TranceCake my pi was also crashing NS few days ago, after fresh install it was fine. you can check it in heroku dashbboard app log if there is a lot off error H10.
fresh install of openaps, that is
Abigail Cember
@acember
Mar 07 17:56
If I set different targets for different times of the day in Bolus Wizard, will my rig read that and actually use it?
Dana Lewis
@danamlewis
Mar 07 17:58
Yep
Abigail Cember
@acember
Mar 07 18:00
Sweet. Then I don't have to keep remembering to set temp targets for the usual sensitivity patterns.
Tom Boudreau
@tomasboudr
Mar 07 18:00
Q on the PiHat Menus... if I double down to do a temp target and I pick Eatting soon, what should happen?
there is a delay, but then I eventually see a json/XML looking screen
Tom Boudreau
@tomasboudr
Mar 07 18:05
but then I'm not sure where to go from that
Stargazer32584
@Stargazer32584
Mar 07 18:51
Hi again..
What's the meaning of "Invalid insulin_sensitivities.json ?
If i look into /myopenaps/settings, there is only the "insulin_sensitivities_raw.json". But why no "insulin_sensitivities.json" ?
Dana Lewis
@danamlewis
Mar 07 19:10
@cluckj ^
Stargazer32584
@Stargazer32584
Mar 07 19:22
And the second one is the "profile.json". The file is in the directory, but empty. These both are my greatest problems. I can't find any mistake by me. But i think..it is..;-). The installation was normal on Pi0 with HAT. Only the npm global install have errors in the first compiling. Simply start again and it runs without problems. I running in a circle.
viq
@viq
Mar 07 19:28
@Stargazer32584 https://openaps.readthedocs.io/en/latest/docs/Build Your Rig/x12-users.html has an example of profile
Dana Lewis
@danamlewis
Mar 07 20:01

US-based OpenAPS users: it's an automagic weekend!

Here's what you need to know:

  1. Your rig will automatically update to the new timezone if you have it set to a timezone that does DST.
  2. The rig will update the pump automagically. Ditto for any CGM receivers you have plugged in. Phone-based CGM's should also update their time to match your phone.
  3. You should keep looping automagically. No need to do anything*.

Unless...

  • You picked a timezone for your rig that doesn't do DST so you can control when you update to the new time. If so, change at the time of your own choosing.
  • You're looping offline - the rig won't know about the time change; you can wait till you go back online, or update rig time zone manually.
  • If you use xdrip-related type app on the phone and you turned off your phone's ability to update the time..that might throw things off. But if you haven't done anything funky with your phone's ability to update time, you should still automagic.

This is also a friendly reminder to check your backup alerts and alarm methods - Nightcout has useful "not looping" alarms, and your CGM should have backup alarms set as well.

Oh, and if you didn't change your lancet last time, you might want to do so this time. Automagic doesn't work on lancets ;)

Scott Leibrand
@scottleibrand
Mar 07 20:24
@acember keep in mind that targets you set on the pump are not temp targets and don't adjust sensitivityRatio, just the actual BG target
if you want to schedule temp targets, you can look into the google calendar IFTTT integration in the openaps docs, or just set up a cron job to do oref0-append-local-temptarget on the rig
Martin Haeberli
@mhaeberli
Mar 07 20:25
@danamlewis the last line about lancets got an lol from @edengh !
Dana Lewis
@danamlewis
Mar 07 20:26
;D
Jon Cluck
@cluckj
Mar 07 21:25
@tomasboudr what you're seeing is the json output of appending that temp target
you should see it pop up in the next loop, or on nightscout, or on the offline webpage, once it gets merged
@Stargazer32584 I might have some experimental no-config x12 stuff for you if you want to try it?