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

10th
Jan 2019
Raymond Richmond
@PedanticAvenger
Jan 10 02:00
I agree, I got one from Shapeways and it's pretty rugged too. I even managed to fit a 2500mAh cell in there.
Dustin
@dheald88
Jan 10 03:20
image.png
Any ideas on what I'm doing incorrectly?
tuzoenduro
@tuzoenduro
Jan 10 12:30

@tuzoenduro
Hello Everyone,

Happy new year!!!

Is there anyone who can code in python that could take a look at this :
pazaan/decoding-contour-next-link#7 and pazaan/decoding-contour-next-link#38
Lennart, the person behind the Android app to get values from the MM 640g to NS started with a python code and then continued it in Android.
The problem is for the moment the values are put on the console and that is it. It would be great if someone could continue this and have it post the values to NS, or share them offline with openAPS. This way the same rig could get the values from the 640 and then use them to control a loopable pump, even offline!!
Thank you for all the help getting into looping.
I also posted this in the google docs openaps-dev... and the FB looped site in case anyone sees the post there as well...
link -> https://groups.google.com/d/msg/openaps-dev/pqbCXSZJKrA/LGOUNVZnDAAJ

renegadeandy
@renegadeandy
Jan 10 15:39
How would the loop work on flights? Is there a local 'option' for times like during a flight that nightscout wouldn't be accessible?
renegadeandy
@renegadeandy
Jan 10 16:13
Although I appear unable to detect the ip address of the BT-PAN client (my openaps system) which has been issued by my phone
Alan
@Alzibiff
Jan 10 16:14
@renegadeandy Take a look at the network logs in Papertrail
renegadeandy
@renegadeandy
Jan 10 16:14
I don't use papertail @Alzibiff
My setup is run with nightscout on a local server (i run my own server farms)
Alan
@Alzibiff
Jan 10 16:20
@renegadeandy Have you tried running a terminal session on your phone and using ifconfig when the rig is BT tethered?
renegadeandy
@renegadeandy
Jan 10 16:26
@Alzibiff actually no, which app would i use to try that>?
what ip do i connect to? 127.0.0.1?
Alan
@Alzibiff
Jan 10 16:33
@renegadeandy I use an application called "Terminus" on my Android phone and use this to connect to the openAPS rig using its host name.
renegadeandy
@renegadeandy
Jan 10 16:34
@Alzibiff does that work when the openaps is configured to get its network connection via the BT-PAN?
WHen I try to connect to the hostname when in BT-PAN mode the connection fails
renegadeandy
@renegadeandy
Jan 10 16:39
I get an unable to resolve host error, which means the DNS doesn't know what my hostname is
Alan
@Alzibiff
Jan 10 16:41
@renegadeandy Not helpful I know but it works for me - sorry. On the openAPS rig case question which you had earlier, I have a spare one of the Robert Silvers cases which I printed myself if you are interested - not for free as postage to you would be around £4. Message me if you want to take this further.
renegadeandy
@renegadeandy
Jan 10 16:47
Thanks @Alzibiff I am going to a local 3d printers in 45 minutes ot get that one printed! Fingers crossed! I'll share a pic of the outcome later this evening. If that all falls flat, then that would be awesome
Alan
@Alzibiff
Jan 10 16:51
No worries - ensure your supplier uses the right STL file as the later Edison boards are a bit thicker than the original ones - Robert Silvers added a file for the later boards to his Thingiverse thing.
renegadeandy
@renegadeandy
Jan 10 16:59
I believe I have a v1.2 explorer board
so would use the originals?
oddly it says - please use the file that says 1.3, but as far as I can see in that zip, none of the files says 1.3!
Alan
@Alzibiff
Jan 10 17:15
He may well have updated the contents of his repository on Thingiverse. I suspect all will be OK though - better that slots for the boards are too wide than too narrow.
Scott Leibrand
@scottleibrand
Jan 10 17:49
FYI it’s Termius not Terminus. No n.
Alan
@Alzibiff
Jan 10 18:00
Thank you. I stand corrected. 👍
renegadeandy
@renegadeandy
Jan 10 20:03
So I am struggling through all available channels, to determine my ipaddress for my BT PAN connected rig
my fone doesn't tell me anywhere natively
the 2 apps suggested I can't get to work
i.e they dont show the ip address
Raymond Richmond
@PedanticAvenger
Jan 10 20:16
@renegadeandy I missed what kind of phone you have. If it's Android the address is somewhere (probably) in the 192.168.44.x/24 range. The long and painful way would be to ping each address until one responds. The "easier" way is to connect USB to your RIG and look at the network stack, generally once you know the address it doesn't change for that device so you don't need to do this every time.
renegadeandy
@renegadeandy
Jan 10 20:17
Its an Honor 9
Raymond Richmond
@PedanticAvenger
Jan 10 20:19
Ok, so some flavor of Android then. Depending on the version it could also be in the .43.x range I guess but I've only seen .44. In my opinion getting console on your rig is the easiest option and record the information for later use but that assumes you have cable/equipment to do that handy.
renegadeandy
@renegadeandy
Jan 10 20:33
yeah
ill go out in the car with my laptop in about an hour ;)
(not kidding)
Am i correct in saying that a local version of nightscout runs by defauylt with the rig if i chose xdrip as the cgm during setup?
Raymond Richmond
@PedanticAvenger
Jan 10 21:59
I honestly don't know. When I go offline I set xdrip to send results to the BT PAN IP of my rig and it just seems to work. So maybe yes? Now I need to go doc diving to be clearer.