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

3rd
Jan 2019
fjungman
@fjungman
Jan 03 01:22
Posted this in xDrip+, but no one could help there. @fjungman
I've been through all the debugging steps in OpenAPS and read through months worth of posts here. I'm getting a rest API message that says it cannot reach the OpenAPS rig for offline data. The system was working good at my kid's university, then stopped with no change (he doesn't touch the settings himself). xDrip+ shows good BG data from his G6, and OpenAPS is sending pump data to NS. No BG data is getting to NS or the rig. I've checked the tethering is working (it has to, as the rig does not have WiFi setup here at home). It is trying to contact the APS on port 5000, which should not have changed. I updated NS last night, the behavior is identical across three OpenAPS Edison rigs, which kinda eliminates them, and have rebooted everything until the buttons are ready to fall off. It seems OpenAPS's internal BG database is not getting data from xDrip+, which matches the messages I see. The BT PAN IP address of the phone is 192.168.44.1, and xDrip+ is trying to send to 192.168.44.2, which should be correct, and I did try .3, .4 and .5 to be safe, but same result. Is port 5000 still correct?
Message is "Unable to do REST API Download java.net.ConnectException: Failed to connect to /192.168.44.2:5000 Failed to connect to /192.168.44.2:5000 url: http://<apisecret>@192.168.44.2:5000/api/v1/"
Phone is Samsung S7 Edge is the phone.
BTW, it isn't the IP address or connection itself, as the rig is finding the internet using the BT PAN, and uploading pump data to NS. It is the BG data that is not getting to NS or the APS.
rosaasor1
@rosaasor1
Jan 03 08:48
What is the Bluetooth IP address on your rig? If your rig BT IP address is 192.168.44.68, then try http://<apisecret>@192.168.44.68:5000/api/v1/ That is independent of your phone BT IP address 192.168.44.1.
ArvoNiilo
@ArvoNiilo
Jan 03 13:27
I have for several times refreshed my second rig that got stuck a while ago. Finally, everything seems to work up to the point of not getting access to wifi after having defined network/interfaces and wpa_supplicant. What does the following message mean?:" root@jubilinux:~# ifup wlan0
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Failed to bring up wlan0." Can this be fixed. Reboot does not help.
straykatz
@straykatz
Jan 03 16:31
Sensors ... What are your thoughts on Enlite / Dexcom 6? I enjoy the seamless integration between the pump and sensor, especially for offline looping. And ... how much do I trust the Enlite sensors? They have always been pretty good for me, but they are what - 10 years old tech? Yesterday night, the sensor was insisting that my BG was around 50, when it was ~100. OK, this was also day 8 or so on the sensor, so I was waiting for this to happen. I'll be seeing my Endo next month and discuss the closed loop. Sensors will be on my list of things to discuss. I have moved from a 670G with Guardian sensors back to my old 522 and my old MiniLinks. Ebay and a coworker gave me sensors. My BGs have been lovely since I got this set up and reliably running, and if they are not, I know why. What are your preferences, sensor-wise, and why? Thanks, and Happy New Year.
live4sw
@live4sw
Jan 03 16:33
@straykatz This is a discussion space for OpenAPS-related topics, you might find more helpful opinions on a more general discussion board like Reddit Diabetes (https://www.reddit.com/r/diabetes/).
straykatz
@straykatz
Jan 03 16:35
@live4sw Hi Andrew - mine is a question specially concerning sensors with OpenAPS.
live4sw
@live4sw
Jan 03 16:40
My understanding is that Dexcom loopers significantly outnumber Enlite loopers, you might also find it helpful to search the Facebook Looped group archives (https://www.facebook.com/groups/TheLoopedGroup), there are a lot of discussions about CGMs. And that group is specifically loop-focused.
straykatz
@straykatz
Jan 03 16:41
Ahem. Thank you. I am going to stop explaining my question, and wait for others to answer.
straykatz
@straykatz
Jan 03 16:48
^^^ It's a bit early around here - so let me be more specific - the question about Enlite vs Dexcom is specifically concerning using these with OpenAPS. I have been set up with my Edison rig/522/Enlites for a few days. I am wondering what your experiences are with Dexcom/Edison/522 versus Enlite/Edison/522. Hope this is more clear now. :)
or really, any other loop able pump using OpenAPS.
john36m
@john36m
Jan 03 17:02
Raspberry Pi0 question. This has happened to me a few times. I do the install and it runs successfully, but after I do the final reboot after installing oref0-setup.sh, I lose all wireless connectivity to the rig. I made sure that ssh was enabled and my wpa_supplicant.conf was still there and correct. Is there an analogous procedure to the Edison where I can run "sudo screen /dev/tty.usbserial-* 115200" via a rig that is plugged in? Or any other clues?
Eric
@ecc1
Jan 03 17:12
If the Pi is configured with a serial port over USB, then the same screen command should work. I use that all the time from a Linux desktop. But I don't know if the default Pi setup supports that or not -- you can check whether the tty device appears when you plug it in.
Dana Lewis
@danamlewis
Jan 03 17:34
@straykatz very few if any people are still running the old enlite sensors for the reasons you described (they are less accurate than more modern sensors). Keep in mind with dexcom sensors of any kind, you can also do offline looping with xdrip-js so the rig reads the transmitter and gets BG directly. Not quite same as it showing on pump a la enlite; but there are definitely trade offs around accuracy etc
If it reads falsely low, OpenAPS will zero temp. So then you’ll get a rebound later due to the negative insulin. Some people found the sensors were good enough for them; so YDMV; but if they consistently read falsely low or otherwise are inaccurate and you have the ability to try another sensor, I’d consider it
straykatz
@straykatz
Jan 03 17:40
@danamlewis Thank you, Dana. I'll definitely consider it. Yep on the zero temp. ... OK. xDrip is an Android-only app, right? So far the Enlite sensors are working well for me - I was pushing it a bit hard with the sensor's long time in place. Merci bien.
john36m
@john36m
Jan 03 17:41
@ecc1 No serial over USB. Back to the drawing board. Thanks for the suggestion
Dana Lewis
@danamlewis
Jan 03 17:48
@straykatz no, xdrip-js is the software that helps your Edison or Pi read BGs direct from the transmitter. No phone required
(There’s other xdrip stuff, some is android phone, but not all)
straykatz
@straykatz
Jan 03 17:51
cool, thank you!
Eric
@ecc1
Jan 03 18:16
@john36m there's always the USB keyboard + HDMI monitor route, or you can mount the SD card on another machine and try to configure USB serial access that way (a bit more difficult)
ArvoNiilo
@ArvoNiilo
Jan 03 18:24
I'm still stuck with this question I sent a few hours ago: I have for several times refreshed my second rig that got stuck a while ago. Finally, everything seems to work up to the point of not getting access to wifi after having defined network/interfaces and wpa_supplicant. What does the following message mean?:" root@jubilinux:~# ifup wlan0
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Failed to bring up wlan0." Can this be fixed. Reboot does not help.
I copied wpa-supplicant from my working rig (the first ip there is 10.11.12.13 and not the one in the docs). However, this did not help but ifup wlan0 give the same error message..
john36m
@john36m
Jan 03 19:05
@ecc1 That's a mini HDMI on the Pi0, right?
tzachi-dar
@tzachi-dar
Jan 03 22:50
I have noticed that pumploop.log has stopped showing papertrail (it did work, and then it stopped). other logs are working well. Is this a known problem?
tzachi-dar
@tzachi-dar
Jan 03 23:07
OK, seems like restarting the service fixed it (sudo systemctl stop remote_syslog.service, sudo systemctl start remote_syslog.service)
Still, is it something known or just bad lack?
straykatz
@straykatz
Jan 03 23:30
Hi there, I have a Bolus Snooze question: Why am I getting zero temp basals shortly after a bolus? Pictures at the links. https://share.icloud.com/photos/0FKHvQeS4mhXyAz9EzjrO1_YQ. https://share.icloud.com/photos/05v7W2_v0F5vmxjhoyolzOV6w. Thank you.