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

24th
Apr 2019
Riko L
@Ricco555
Apr 24 00:00
aha.. I see. in that case it shouldn't matter on edison.
Jon Cluck
@cluckj
Apr 24 00:00
yeah:
root@devtest:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin:/bin:/bin
that's a little bit broken
Riko L
@Ricco555
Apr 24 00:02
it got somehow into my crontab as well.. even tough the folder /usr/local/go/bin does not exist.
anyway.. both rigs are now back to operational level .. on latest dev
Jon Cluck
@cluckj
Apr 24 00:02
:thumbsup:
@ecc1 do we need to set $GOROOT or $GOPATH if we're not installing golang?
Jon Cluck
@cluckj
Apr 24 00:11
root@raspberrypi:~# ls -lah /usr/lib/node_modules/
total 12K
drwxr-xr-x  3 root root 4.0K Apr 23 19:58 .
drwxr-xr-x 54 root root 4.0K Apr 23 20:01 ..
drwxr-xr-x  4 root root 4.0K Apr 23 19:36 json
lrwxrwxrwx  1 root root   23 Apr 23 19:58 oref0 -> ../../../root/src/oref0
yessss
Riko L
@Ricco555
Apr 24 00:19
seams it is playing nicely now. -> I'm off to sleep. GN, and thanks again for helping out
Jon Cluck
@cluckj
Apr 24 00:19
:thumbsup: sleep well!
Jason G
@jguyea
Apr 24 00:27
@cluckj Just finished a fresh image of my card, ran through setup without any errors and my 2nd rig (pi0+rfm69hcw) is now looping! Thanks for your patience and help Jon. OpenAPS is an awesome project. You all should be very proud! I'm a Java programmer by trade but have some experience with bash and JS, let me know if there are any low priority tasks I can contribute to. Cheers!
Dana Lewis
@danamlewis
Apr 24 00:48

Happy looping!

If you’re willing to stick around the next few weeks, helping us test dev fixes and setups will enable us to release a lot faster

Jon Cluck
@cluckj
Apr 24 00:52
woo! glad it's working!
Jason G
@jguyea
Apr 24 01:10
@danamlewis For sure, Let me know what I can do to help out. I plan on upgrading my pi3b+ rig to use a rfm69hcw in the next couple of days and retire my carelink usb. But now, Im off to another flat-lined (BS) night of sleep. I am really not gonna miss my old 1am wake up to take a correction bolus routine. Loving OpenAPS.
Dana Lewis
@danamlewis
Apr 24 01:16
:+1: have a great night!
Eric
@ecc1
Apr 24 01:43
@cluckj no need for those GO* env variables just to run programs, and not even for building with the latest versions of Go (from 1.11 on I think)
Jon Cluck
@cluckj
Apr 24 01:45
thanks!
Scott Leibrand
@scottleibrand
Apr 24 04:34
if anyone is running oref0 dev and using xDrip, we could use some testers of openaps/oref0#1248
Bernhard Klein
@Volberger
Apr 24 07:12

My openaps is running well, but I got this message at the end of the pump-log:
Your instance of oref0 [0.7.0-dev, dev] is out-of-date by 8 commits: you may want to consider updating.
You are currently running a development branch of oref0. Such branches change frequently.
Please read the latest PR notes and update with the latest commits to dev before reporting any issues.
Completed oref0-pump-loop at Wed 24 Apr 08:57:14 CEST 2019
"HAT Display Updated"

Okay, where can I find the „latest PR notes“ and
Is there any instructions on how to get my openaps up to date?

Greetings

pmgauthier
@pmgauthier
Apr 24 11:51

Do any OpenAPS users use a smartwatch to monitor their rig offline? Hoping to use a standalone watch (possibly an android wear watch running xdrip+). My setup will be an Edison/explorer rig running the latest dev build of OpenAPS and xdrip-js-logger to collect readings directly from my g5 transmitter. I know the pebble running pancreable is an option, but I’m looking at all my usable options. Ideally monitoring would not require a phone and would be seamless whether or not the rig and/or the watch are connected to wifi or just Bluetooth tethered.

Thanks in advance for any advice!

Rebecca Drabenstott
@WhatWouldHoneyBadgerDo
Apr 24 12:14
I successfully flashed my Edison. I got around the issue of not being able to reboot during flashing (because my Edison was unresponsive when I tried to initiate a screen session). I just manually rebooted it by power cycling it. Yay! So now I'm running the bootstrap script and it is not connecting to wifi. The instructions say to come here if it does not work. I'll paste my logs. Hopefully I can format them correctly. (Haven't used Gitter much.) I tried rebooting my Edison several times and rerunning the bootstrap script and I get the same result each time.
Rebecca Drabenstott
@WhatWouldHoneyBadgerDo
Apr 24 12:19
Listening on LPF/wlan0/fc:db:b3:a6:98:17
Sending on   LPF/wlan0/fc:db:b3:a6:98:17
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

Wifi SSID: root@jubilinux:~#
Jon Cluck
@cluckj
Apr 24 13:40
@Volberger those recent updates are mostly for new installs, but if you want to update there are instructions here: https://openaps.readthedocs.io/en/latest/docs/Customize-Iterate/update-your-rig.html
you don't need to update every time there's a commit though :)
Raymond Richmond
@PedanticAvenger
Apr 24 13:48
@scottleibrand I have a second rig I can test that on, won't be able to get started for another 10h or so unfortunately. I'm REALLY interested in this feature branch as I fly a lot and camp a lot so this would be spiffy.
Eric
@ecc1
Apr 24 14:32
@WhatWouldHoneyBadgerDo so your wifi seems to be working but your rig isn't getting an IP address from a nearby wifi router. Are you in range -- does your phone show a strong wifi signal? If you run iwlist scan on your rig, does it list access points?
Scott Leibrand
@scottleibrand
Apr 24 14:34
Maybe also try using a different wifi network for setup purposes: maybe a phone hotspot?
Rebecca Drabenstott
@WhatWouldHoneyBadgerDo
Apr 24 14:51
@ecc1 My phone and laptop both show strong signals. iwlist scan run from my rig does show my wifi network. Is this quality okay? (I assume this is the important output.)
Quality=50/70  Signal level=-60 dBm
@scottleibrand I do have a hotspot with very limited data before I have to pay through the nose. I can end up with a huge bill if I'm not careful. Maybe if I remove curl https://raw.githubusercontent.com/openaps/oref0/master/bin/openaps-install.sh > /tmp/openaps-install.sh bash /tmp/openaps-install.sh from the bootstrap script, it won't use too much data?
Scott Leibrand
@scottleibrand
Apr 24 14:57
Nah, no point in connecting to the hotspot for install if you don’t have enough data.
You can check manually to see if the wifi came up later, and if so, proceed with the later steps like those two.
Jon Cluck
@cluckj
Apr 24 15:08
I've noticed the wifi setup on the edison not "sticking" through a reboot until all of oref0-setup is complete
Rebecca Drabenstott
@WhatWouldHoneyBadgerDo
Apr 24 17:25
I've narrowed it down to my home wifi. I tried it on my hotspot with the last line of the bootstrap script removed just to see if it will connect and it does. So now I need to find a wifi network with no data restrictions. And I guess I eventually need to work out the issues with my home network anyway if I ever hope to loop at home.
Scott Leibrand
@scottleibrand
Apr 24 17:46
if you haven't already, try just rebooting your home router
Rebecca Drabenstott
@WhatWouldHoneyBadgerDo
Apr 24 17:53
Thanks @scottleibrand, I'll try that later tonight!
Eric
@ecc1
Apr 24 18:38
Anyone using the dev branch with a model 512 or 712 pump? I could use your help checking whether the historypage command works properly
Jon Cluck
@cluckj
Apr 24 18:48
I can check it in about an hour or so
Eric
@ecc1
Apr 24 18:50
Thanks -- I need to know what it reports when the pump has a full history (32 pages)
Jon Cluck
@cluckj
Apr 24 18:51
ah my 512 has an empty pumphistory. I can spam it though...how many entries is >32 pages?
Eric
@ecc1
Apr 24 18:54
that's my problem too, which is why I was hoping someone's using it in production. depends on the events -- boluswizard entries are pretty long
Jon Cluck
@cluckj
Apr 24 18:54
ah okay
Scott Leibrand
@scottleibrand
Apr 24 18:56
you could set up a for() loop to issue commands every few seconds... ;-)
I had to do that one time to age a bad command out of history that decocare couldn't yet parse. :-)
Eric
@ecc1
Apr 24 19:01
I will if I don't get any responses, just hoping to lazyweb it first
(plus that's likely to cause some havoc with my actual rig ...)
Jon Cluck
@cluckj
Apr 24 19:23
:laughing:
Jon Cluck
@cluckj
Apr 24 20:25
root@testing:~/myopenaps# bash pumpspam.sh
2019/04/24 16:24:27 connected to CC111x radio on /dev/spidev0.0
2019/04/24 16:24:27 setting frequency to 916.650
2019/04/24 16:24:29 waking pump
2019/04/24 16:24:39 setting temporary basal of 0.15 units/hour for 30 minutes
2019/04/24 16:24:39 model 512 pump
2019/04/24 16:24:40 disconnecting CC111x radio on /dev/spidev0.0
Jon Cluck
@cluckj
Apr 24 20:30
filled ~7 pages in 15 minutes
Natalia S.
@Propelld
Apr 24 20:52
Hi all, I'm setting up my backup rig. After the initial interactive setup, I'm getting:
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Could not run nightscout autoconfigure-device-crud
Also, at what point in the setup is the HAT screen supposed to come on?
Jon Cluck
@cluckj
Apr 24 22:31
@Propelld can you run setup again?
the HAT screen will come on after you've rebooted
Natalia S.
@Propelld
Apr 24 22:38
Ok the interactive setup? Can I rerun it with my settings saved?
Jon Cluck
@cluckj
Apr 24 22:43
I think runagain is working
Natalia S.
@Propelld
Apr 24 22:45
Ok. I've tried the runagain and just starting from scratch. I'll do it from scratch one more time
Natalia S.
@Propelld
Apr 24 23:29
@cluckj I just reran from scratch and got the same results :(