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

12th
Jun 2017
Martin Haeberli
@mhaeberli
Jun 12 2017 00:19
@efbest where are you running Nightscout ? azure? heroku?
@marafie - I donโ€™t have direct experience w/ androidaps / HAPP - much more with general openaps
Jason Curry
@mccgm
Jun 12 2017 00:31
my pump loop keeps trying to call "oref0_init_pump_comms.py" which is not found...
marafie
@marafie
Jun 12 2017 00:48
If I wanted to change the serial number of the pump without rerunning setup.... I see the pump serial number is in pump.ini .... is their any other location the serial number is stored ?
Jason Curry
@mccgm
Jun 12 2017 00:56
I have changed my serial number before and I only changed it in the ini file. Worked fine
marafie
@marafie
Jun 12 2017 01:05
I started looping ๐Ÿ˜Œ
Martin Haeberli
@mhaeberli
Jun 12 2017 01:05
:+1:
marafie
@marafie
Jun 12 2017 01:05
Wish me all good luck
I am fasting tommrow so let's see how it acts
cameronrenwick
@cameronrenwick
Jun 12 2017 01:27
@PopcornPam_twitter after IFTTT button does there not need to be an event type?
PopcornPam
@PopcornPam_twitter
Jun 12 2017 01:37
not according to the docs.. also tried adding that but still doesn't work
cameronrenwick
@cameronrenwick
Jun 12 2017 01:41
sorry @PopcornPam_twitter .. I don't have a button like the one your making and all mine do have event type.. maybe Katie can help.. she's the authority on IFTTT!
Cameron Chunn
@applehat
Jun 12 2017 02:10
Just caught back up. Been out all day (with no rig :()
I'll try that @PieterGit
Also @ecc1 interesting! Maybe Ill order one and play with it.
eliotsdad
@eliotsdad
Jun 12 2017 02:24
Hey gang, I posted in Looped, but am looking for some help with a pump communication error. This is a new pump with an old, previously working edison module and explorer board. The following is the info I am getting from the logs when the loop tries to connect to the pump: mmtune: pump://JSON/mmtune/monitor/mmtune.json
reporting monitor/mmtune.json
"916.636", 0, -99 Starting pump-loop at Sun Jun 11 19:19:36 PDT 2017:
Radio ok, Listening: ............................................No pump comms detected from other rigs
Old pumphistory:
Error, retrying
Listening: .
Any help is greatly appreciated!
Jason Curry
@mccgm
Jun 12 2017 02:24
Have you tried "openaps use pump model"?
eliotsdad
@eliotsdad
Jun 12 2017 02:24
yes. it won't return the model
Jason Curry
@mccgm
Jun 12 2017 02:25
-99 means it is not communicating with the pump. check the serial number and make sure it's close to the rig
Cameron Chunn
@applehat
Jun 12 2017 02:25
The amount of "my rig can't talk to my radio" issues this weekend...
Jason Curry
@mccgm
Jun 12 2017 02:25
also make sure the port is correct
eliotsdad
@eliotsdad
Jun 12 2017 02:25
how would one make sure the port is correct? I'll also look in the docs. . .
Helene Brashear
@sillystring13
Jun 12 2017 02:26
My loop isn't updating treatments automagically to nightscout, but if I run "openaps use ns shell upload-non-empty-treatments uplolatest-treatments.json" everything shows up. Any thoughts on how I can fix it
Jason Curry
@mccgm
Jun 12 2017 02:26
what model of pump?
eliotsdad
@eliotsdad
Jun 12 2017 02:26
512
Jason Curry
@mccgm
Jun 12 2017 02:29
THere are special instructions for the 512 pump. See the section on "512 users"
http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-2/troubleshoot-oref0-setup.html?highlight=512
eliotsdad
@eliotsdad
Jun 12 2017 02:31
i thought there might be something like that!!!! Thank you!!!
Cameron Chunn
@applehat
Jun 12 2017 03:33
When I run a mmtune, lights should light up on the explorer right?
Cameron Chunn
@applehat
Jun 12 2017 03:42
The Edison obviously has a physical link to the radio since I can flash it.
Cameron Chunn
@applehat
Jun 12 2017 03:56
I've tried everythig multiple times and I'm all out of ideas.
Jason Curry
@mccgm
Jun 12 2017 04:30
@applehat what stage are you at? Do you have an SSH connection?
Martin Haeberli
@mhaeberli
Jun 12 2017 04:57
@applehat - wing and a prayer - do you have a second edison / explorer handy?
Frank Best
@efbest
Jun 12 2017 05:13
@mhaeberli Heroku
rsilvers129
@rsilvers129
Jun 12 2017 06:10
15 hours and my battery is at 43%. 2500 size. Has the code been made more power efficient? I have been mostly on wifi.
PieterGit
@PieterGit
Jun 12 2017 06:21
@mccgm did you run npm run global-install
Tim Street
@tim2000s
Jun 12 2017 06:53
@rsilvers129 Wow ๐Ÿ˜ฎ That's way better than anything most of us have seen!
Matthias
@ceben80
Jun 12 2017 07:09
Similar with my 2500mAh lipo :tada: https://twitter.com/ceben80/status/872889885035778053
wharper11
@wharper11
Jun 12 2017 07:30
has anyone ever seen an A52 alarm on the medtronic pump?
Marco
@CaptainBalou
Jun 12 2017 07:49
I tried to access the console of my rig on a Windows machine. Followed the instructions in the documentation. But it doesn't work. The FT230x Basic UART is still an "unknown device". No driver found. Any suggestions?
marafie
@marafie
Jun 12 2017 08:28
image.png
Started using it at 3:45 AM, and looks great
no idea why it went low when I was asleep, I woke up and how that the temp basel is 0 for 2 hours,
saw that
Luuc
@luucvp_twitter
Jun 12 2017 08:52
@marafie It went to 0 because you were trending towards below your target BG probably
marafie
@marafie
Jun 12 2017 08:52
true, but why did it go below,
my last meal was on 1:30 AM which mean I had no IOB at 4:30 am. I think it didn't get the info of the last bolas I toke which was at that time and I started looping at 3:45
Marco
@CaptainBalou
Jun 12 2017 09:00
Didn't got the driver working with Windows. I changed to a Linux VM. This is working now. So don't mind about me and the Windows driver. :-)
Luuc
@luucvp_twitter
Jun 12 2017 09:08
@marafie blood sugar could have gone below due to different things as well, such as your activity etc
Tim Street
@tim2000s
Jun 12 2017 09:10
@marafie you can check what OpenAPS saw by looking in the logs on your rig. If you go back to 3.45am you 'll be able to see if OpenAPS saw IOB, even if Nightscout doesn't have it.
marafie
@marafie
Jun 12 2017 09:20
image.png
i am using xdrip plus, and i wish i can see the basel on it like NS, how can i do this ?
and it does not show any info about the pump
is their any interface to tell to the pump that i will be doing some activity or reduce the basel ..etc ?
like i will be going to the gym in 4 hours
i need my blood glucose level to be in the range 6.5 to 7.5
do i change the target on the pump? or via NS ? or their is an interface?
you can set it in pump and NS
But in NS you can plan it in advance :)
Woops
marafie
@marafie
Jun 12 2017 09:32
i did like what dana mentioned, i modified my pump targets
i added timing for the targets, from 3:30pm to 6:00 pm in the range of 6.5-7.5, but does the openaps plan for it ahead ?
Luuc
@luucvp_twitter
Jun 12 2017 09:34
It starts aiming for the target once it is your target, so for you it will change the basals and aim for your new target at 3:30pm
marafie
@marafie
Jun 12 2017 09:36
should i use careportal for the NS
@luucvp_twitter do the temp basel show up on the X-Drip plus app? (my image above doesn't show)
Luuc
@luucvp_twitter
Jun 12 2017 09:39
I personally use careportal when online, else the pump setting. I don't use x drip so don't know...
But the nightscout mobile web interface is really good as well imo
marafie
@marafie
Jun 12 2017 09:42
what if i am planning to use offline ?
does NS work on the Edison board ? like it would publish a webpage service were i do not need any internet connection to check it, use the bluetooth IP address to login
Luuc
@luucvp_twitter
Jun 12 2017 09:50
For temporary basals you can set them in the pump
For viewing I'm not sure what the possibilities are but I think that a Bluetooth ip won't work
peterfulvi
@peterfulvi
Jun 12 2017 10:04

I cant re run setup on my rig i get this erro

Checking /root/myopenaps: /root/myopenaps already exists
/root/src/oref0/ already exists; pulling latest
Updating 647a35f..b073f66
error: Your local changes to the following files would be overwritten by merge:
        bin/oref0-pump-loop.sh
        lib/oref0-setup/mdt-cgm.json
Please, commit your changes or stash them before you can merge.
Aborting
Couldn't pull latest oref0

I know what i changed it was an issue people were having with the mdt sensor and themicrobolus loop. I changed it manually and it worked, but now i have a new pump so im trying to rerun setup and keep getting this error, even when i update the dev branch

Luuc
@luucvp_twitter
Jun 12 2017 10:07
git stash in your aps directory and rerun should do the job
Rerun the setup script
peterfulvi
@peterfulvi
Jun 12 2017 10:08
Thanks
fidoman
@efidoman
Jun 12 2017 10:20
@luucvp_twitter - when this happens to me, I have to do a git stash in my ~/src/oref0 directory.
peterfulvi
@peterfulvi
Jun 12 2017 10:48
Thanks i will try that
Luuc
@luucvp_twitter
Jun 12 2017 10:49
Yes Eric is right indeed sorry
peterfulvi
@peterfulvi
Jun 12 2017 10:55
I got it running on my other rig and its says microbolus is disabled until i run autotune. I know auto tune waits until i hav a days worth of history to generate a profile. there's no way to run it manually. This happened to me yesterday my basal rate would not go above 2 units an hour which caused my blood sugar to go high. My old rig would high temp me 3.75 units an hour on top of microbolusing. This rig is acting very different. I don't know if its due to the lack of data beig a new rig. Any help would be great. Heres the output
Microbolus var is currently set to:  true
Warning: Autotune has not been run. All microboluses will be disabled until you manually run autotune or add it to run nightly in your loop.
Microbolus var is currently set to:  false
Tim Street
@tim2000s
Jun 12 2017 11:11
@marafie, there is no way to publish basal rates to xdrip+ at the moment. That's something that the guys are looking at and is likely to appear in AndroidAPS first because we need to create a phone based service to pull data off the rig and feed xdripaps.
You can create an HTML page using basic scripting that will allow you to see a text page of what your rig status is currently. Details of how that works are in the docs.
marafie
@marafie
Jun 12 2017 11:12
@tim2000s the last point you have mentioned i did already
it would be great to see Xdrip kit or the parakeet integrated with the Reg
Tim Street
@tim2000s
Jun 12 2017 11:14
Not really. If you use G5 then you don't need it.
Same for MDT sensors via the pump.
marafie
@marafie
Jun 12 2017 11:14
truei
Tim Street
@tim2000s
Jun 12 2017 11:15
I know someone has been trying to get G5 talking direct to the rig, but it's a fair challenge.
(And I think the Bluetooth stack wasn't compatible).
marafie
@marafie
Jun 12 2017 11:17
nice to have all in one rig running openaps, NS, parakeet/xdrip kit
peterfulvi
@peterfulvi
Jun 12 2017 11:20
I figured it out the max basal rate on my pump
Tim Street
@tim2000s
Jun 12 2017 11:21
NS on Edison consumes too much storage. That's the main reason for not doing it.
marafie
@marafie
Jun 12 2017 11:25
it could be for the last 3 hours data
instread of storing all historical data
today is my 6th day using a pump, never used it before. and now this is my 12hrs on the openaps
i think my trust on using openaps is building up
from the idea of rejecting the pump to openaps,
my child was diagnosed as type 1 3 months ago, and from experiencing the management of his type i do really see he needs a pump
i hate giving him correction dosage
marafie
@marafie
Jun 12 2017 11:30
i am used to having 4-6 micro corrections a day , now i am freeeeeeee
Tim Street
@tim2000s
Jun 12 2017 12:34
I've just run the 0.1.1 Jubilinux, and for the second time, it's failed to properly install wpa_supplicant. (Had the same problem on a previous install). Totally different edison and EXB this time too. Very frustrating.
stefanakerblom
@stefanakerblom
Jun 12 2017 12:36
hello! just managed to get my loop up and running. hat to order all the new stuff based on edison and explorer block. The jubilinux installed did not include sudo and i had to reinstall the radio image. But now they are communicating. :)
however, i keep on getting the error message "Old pumphistory:
Error, retrying" and I can not recognise any temp basals????????????????
marafie
@marafie
Jun 12 2017 12:38
wait for few mins it will fix it self
stefanakerblom
@stefanakerblom
Jun 12 2017 12:38
any ideas? Its been on for an hour
indeed. it seems to start working. i am amused
marafie
@marafie
Jun 12 2017 12:56
i am running the openaps now for 14 hours, if you needed any help please do notify me i have did the setup more than 10 times
Tim Street
@tim2000s
Jun 12 2017 13:10
So I'm seeing this with multiple versions of Jubilinux. Anyone any ideas how to fix it?
root@basestation1:~# 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.
live4sw
@live4sw
Jun 12 2017 13:22
@stefanakerblom I get that error all the time but my rig still works enough of the time. I think that that error often just means that you aren't close enough to the rig and that it loses connection while updating the pump history.
fidoman
@efidoman
Jun 12 2017 13:37
Anyone know how to help resolve this error with wifi that started happening this morning on my rig? wifi_get_mac_addr_intel: unable to open /config/wifi/mac.txt
wifi doesn't work while this kernel error is happening.
Tim Street
@tim2000s
Jun 12 2017 13:50
Aaargh - flashed three times, using 0.1.1 twice and 0.2.0 once and none of them are allowing wifi to function. wlan0 is never available!
fidoman
@efidoman
Jun 12 2017 14:00
I edited the supplicant file and rebooted several times and the problem went away. hmmmm.... @tim2000s - wish I could help you on your problem, but I have no clue what is going on with that rig and wlan0 not showing up.
Diabetic_Dude
@diabetic_dude_twitter
Jun 12 2017 15:06
my rig quit communicating with my pump during the night at some time. I woke up this morning and my OpenAPS shows unknown on my NS site and my pump is undefined. I looked at my logs and the only thing i see of interest is....
Temp refreshIOError: Lock for file '/root/myopenaps/.git/logs/HEAD' did already exist, delete '/root/myopenaps/.git/logs/HEAD.lock' in case the lock is illegal
Error, retrying
should I remove the "HEAD" directory ?
I am not able to find a HEAD.lock file
Martin Haeberli
@mhaeberli
Jun 12 2017 15:08
@efbest sorry, have no idea why your mongo is showing full ...
@tim2000s I have sometimes had corrupt / mis-formatted wpa supplicant .conf files (whatever their exact name is) which have caused problems for me
David
@davidkeddydb
Jun 12 2017 15:12
I so need the "I forgot to bolus function"
Savek-CC
@savek-cc
Jun 12 2017 15:13
"eating soon" vs. "ate a while ago" ;)
David
@davidkeddydb
Jun 12 2017 15:14
@savek-cc :+1: Exactly
Bob Duerr
@Duer0049
Jun 12 2017 15:18
@peterfulvi I am running into the same issue with the SMB, I ran autotune manually for the last week, got the new numbers and updated, but the SMB is still not working, how did you get yours to work?
Dana Lewis
@danamlewis
Jun 12 2017 15:19
@Duer0049 how did you enable and turn on SMB?
Bob Duerr
@Duer0049
Jun 12 2017 15:20
@danamlewis Yes, I enabled the SMB with bolus in the preferences
Dana Lewis
@danamlewis
Jun 12 2017 15:20
is that all you did?
You'll want to read the directions and the code. There is another required step to ensure you know what you are doing.
Scott Leibrand
@scottleibrand
Jun 12 2017 15:22
@peterfulvi autotune can be run manually. Not doing so shouldn't limit your high temps like that, unless your pump settings are way off your autotuned ones. What do you have in preferences.json, and what were your current and max basals at the time?
Dana Lewis
@danamlewis
Jun 12 2017 15:24
^ looks like he later saw it was his max basal limiting things, now resolved
kretch
@kretch
Jun 12 2017 15:28
What's the best way of pulling information from MM carelink into NS?
Dana Lewis
@danamlewis
Jun 12 2017 15:28
are you looping or?
kretch
@kretch
Jun 12 2017 15:29
Not looping (yet)
Dana Lewis
@danamlewis
Jun 12 2017 15:30
And are you talking old data, or wanting real time?
kretch
@kretch
Jun 12 2017 15:31
Old data (As in, data that's been uploaded to carelink already) .
cameronrenwick
@cameronrenwick
Jun 12 2017 16:15
anyone know if when you get a warning for a low cartridge that your pump wants you to acknowledge that this in some way causes the pump/rig to stop looping? This just happened and I recall at last low cart. it occurred as well. Just trying to see if it's coincidence or...
Dana Lewis
@danamlewis
Jun 12 2017 16:16
Coincidence
Diabetic_Dude
@diabetic_dude_twitter
Jun 12 2017 16:16
got my issue fixed. backed up my prefs file and my run again file removed myopenaps and ran again
cameronrenwick
@cameronrenwick
Jun 12 2017 16:16
ok.. glad to hear
Dana Lewis
@danamlewis
Jun 12 2017 16:22
Main things from pump would be: low battery, % temp basal mode, suspend, or square wave (which blocks temps).
Cameron Chunn
@applehat
Jun 12 2017 16:30
@mccgm - been looping. Thing my radio is messed up somehow. @mhaeberli - sadly, no.
ericmtx
@ericmtx
Jun 12 2017 16:49
@tim2000s Tim, I had a very odd issue with an Edison last year (pre-explorer board). The wifi worked for a while, but then had a VERY hard time connecting to access points. Reflashing edison, changing wifi routers, etc. Did it all - and finally decided the wifi chip on the Edison had some kind of hardware blowup. Bought a new edison and it worked perfectly, same steps. So if I were you I'd get a new Edison and test that.
@applehat I suspect a radio issue also on mine. PieterGit suggested that since Dev does more mmtune sessions that Master, we may see more radio locks for those of us having that issue. I'm awaiting my new explorer board and will see if that helps. I suspect it will. PieterGit has a branch that reduces the number of mmtunes in dev. Scroll up to yesterday afternoon to see his link
Frank Best
@efbest
Jun 12 2017 17:07
My NS screen shows no bg or pillboxes; apparently because NS marks treatment data as 'in the future' although they aren't, and OpenAPS can't upload any data!?
admin NS.png
Cameron Chunn
@applehat
Jun 12 2017 17:56
@ericmtx it's not happening sparatically for me, tho. It's just been a dead "doesn't work at all" even with the loop completely killed for 2 days now. I've removed power, rebooted, reflahsed radio, ect multiple times. Can't get it to run successfully even once.
ericmtx
@ericmtx
Jun 12 2017 18:27
@applehat yeah that's not good :smile:
Tim Street
@tim2000s
Jun 12 2017 18:47
@ericmtx Need to test it again. I've reflashed to the 0.1.0 Jubilinux version and Pre-setup of network interfaces file and wpa supplicant it recognises wlan0.
jcorbett80
@jcorbett80
Jun 12 2017 19:18
@tim2000s I am setting up a pi zero W from scratch. I had simply used ny pi 3 spare card and everything ran great. So I decide to make its own customized card. HOWEVER when I did and did the upgrades for Jessie several pear b ased nodules / dependencies failed. I did it quite a few times. I could not install oref0 properly or anything else. The network had issues and bt also had issues. I researched. when 8.8 or 8,9 (whatever it is) came out it had this issue ibn the build, There is a fix out. But I had to install it slightly different. I modified the install update line a littl. I used the -f to get full at one point andf dropped -y. I have full network and so on again. The dependencies for open apps installed nomally and I am pulling down Oref0 right now without issue ove ssh via internet. Here is the line I used to fix the jessie upodate. It may not be your issue but why not find out before you hit a 3rd explorer? sudo apt-get update && sudo apt-get โ€“f upgrade
Ryan Dalisky
@rdalisky
Jun 12 2017 20:39
@danamlewis Have u had a chance to read that paper?
Dana Lewis
@danamlewis
Jun 12 2017 20:45
@rdalisky hello from 30,000 feet ;) just replied to your email with a quick Q
jcorbett80
@jcorbett80
Jun 12 2017 20:51
@tim2000s @danamlewis @scottleibrand ok installed oref0 developer and all ran great except it found radio, it read the pump, it acted like it was making changes but never posted on NS and never moved pump. I reinstalled...same thing. I went back and installed master once installed I started loosing wifi like you., My wlan0 was disassoiated with my wifi. I use pixel on my pi's. I opened file folders and manually deleted myopenaps folder and the srs folder. wifi INSTANTLY came back and has not failed. I repeated it 2x I can pull my sd card with on older setup using developer from my other pi and this pi zero w works great with it.Summary: Something in the new developer seems to be struggling with radio at times. but does not show an error. It is reading pump and making changes "in its' mind" I know because I moved my basal on my pump and it reported it on ns. However it thinks it is making the move on pump but pump does not recieve. Everytime I reinstall master it disassoiates wlan0 from my wifi. I have removed everything from pi and using my pi3. Let me know what you want me to test and what you want me to get to you.
Dana Lewis
@danamlewis
Jun 12 2017 21:30
What radio stick are you using?
Miiko
@tw_miiko_twitter
Jun 12 2017 21:45
But Nightscout shows Openaps as unknown
Tim Street
@tim2000s
Jun 12 2017 21:47
@jcorbett80 mine's a fresh flash. I've no OpenAPS installed when the wlan0 can't be found.
jcorbett80
@jcorbett80
Jun 12 2017 21:50
@tim2000s i had the same on my pi zero w. It worked great. But I followed the set up on a new card from scratch and upgraded jessie. Wlan0 failed I did the first fix I sent you and got wlan0 and BT back. Then when I installed oref0 I got what I posted 2nd
@danamlewis TI cc111
Luuc
@luucvp_twitter
Jun 12 2017 21:58
Does someone know what the tiny button is for on the Edison Explorer board?
Cameron Chunn
@applehat
Jun 12 2017 21:58
Its for resetting the edison
holding it down will reboot the rig
Scott Leibrand
@scottleibrand
Jun 12 2017 21:59
specifically, 10s or so of holding will power it off, and then pressing it again for another couple seconds will power it back on
Luuc
@luucvp_twitter
Jun 12 2017 21:59
Thanks!
Miiko
@tw_miiko_twitter
Jun 12 2017 22:34
?
152.195.39.2
garykidd
@garykidd
Jun 12 2017 23:07
@applehat @ericmtx Whatever explorer boards that were available as recently as 3 weeks ago still have issue where the radio locks up illuminating the two smaller leds near the UART...this is becoming a bit of a deal killer and for those experiencing it--it really is painful.
marafie
@marafie
Jun 12 2017 23:11
I have a question related going to shower, I have read that it's better to let the Basel 0 for 30 mins instead of doing suspend one with do this the pump lets cancels the Basel which I modified
garykidd
@garykidd
Jun 12 2017 23:13
zero temp thensuspend what I do
if you dont suspend openaps will overwrite your manually entered zero basal at its next loop
Scott Leibrand
@scottleibrand
Jun 12 2017 23:24
@garykidd have you tried engaging ERD to troubleshoot this?
marafie
@marafie
Jun 12 2017 23:25
@garykidd thanks . Will let temp Basel to zero then suspend
garykidd
@garykidd
Jun 12 2017 23:41
ERD?
@marafie my pleasure. Be mindful to remember to RESUME upon reconnecting....I've forgotten more than once---but if you end up doing it daily---it should become second nature.
marafie
@marafie
Jun 12 2017 23:47
Thanks
Am very great-full to this community making such system....thanks to all people to developed this system and shared it with others
Who developed
I know that the G670 system will be available in kuwait and supplied by the government but at this timing I really need it for my kid who is at the age of 2
Miiko
@tw_miiko_twitter
Jun 12 2017 23:52
Can someone tell me, why missing the file "enacted.json" by setting rig