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

24th
Oct 2016
garykidd
@garykidd
Oct 24 2016 00:01
well tht was short lived...ball of blue tape was bothering me so found this plastic collar stay case...will work for a little while I'm sure....
blob
Sgoldberg89
@Sgoldberg89
Oct 24 2016 00:27
When I'm in Terminal (OSX) and enter: ssh pi@raspberrypi.local I am prompted for a password but am unable to type anything into the field. Any ideas?
Rachel Sandlain
@audiefile
Oct 24 2016 00:29
Does it not let you type, or does it not show that you are typing?
As a security measure, it won't show what you are typing. So the length as well as the characters of the password are hidden
Sgoldberg89
@Sgoldberg89
Oct 24 2016 00:29
@audiefile intersting, first time using Terminal (I know, I know). Let me try it
Bingo! Thanks @audiefile!
Rachel Sandlain
@audiefile
Oct 24 2016 00:32
No problem! Glad it was such a simple "fix"
Sgoldberg89
@Sgoldberg89
Oct 24 2016 00:52
@audiefile got another basic Terminal question for you
editing Watchdog configurations using: sudo nano /etc/watchdog.conf and I can't figure out how to confirm the changes once they're made
Matt Walker
@walker0
Oct 24 2016 00:55
exit nano with ctrl x then hit yes/enter until it is happy with saving and in the correct location
Sgoldberg89
@Sgoldberg89
Oct 24 2016 00:58
thank you. I was hitting command, not control. Thanks again
garykidd
@garykidd
Oct 24 2016 02:18
noticed that the ti stick's leds dont illuminate like they had on prior rig? is that a function of the firmware flashed to ti stick?
garykidd
@garykidd
Oct 24 2016 02:48
can someone point me to how to set up bluetooth on edison?
kbobik
@kbobik
Oct 24 2016 02:58
I have a medtronic with the PC Connect so openAPS wont work, from what i understand. But could i still build and see what numbers/temp basals it would recommend? Thanks.
garykidd
@garykidd
Oct 24 2016 03:14
@kbobik I think so. The issue is the pump times out after Ithink 2 minutes....it only works when you enter PC Connect....so it's not feasible to use to loop...but you could probably keep your finger on the trigger enough to see how it would work...
Terri Lyman
@tatigger
Oct 24 2016 03:34
Everything has been working really well with OpenAPS BUT about an hour ago my NS webpage stopped rendering the temp basals and logging the treatments from the pump itself. I can tell you that if there is a way to make a mistake with a pump, I can do it. I really am annoyed that is so difficult to see what you have done with a Medtronic vs Tandem. I checked the Cron to see if the API secret is still in there correctly, it is. I also checked the URL, that is also correct. I checked by pasting it into a browser and pulling up the web site. What else can I check or correct to get the OpenAPS to upload properly to NS. The OpenAPS pill seems to be updating. The treatments are also not updating.
Oh, my pump mistake was entering my meal and bolus information 3 times in 15 minutes. I was convinced I was cancelling out the bolus and that was why it wasn't showing up. I wanted to eat a half gallon of ice-cream. Really
diabeticgonewild
@diabeticgonewild
Oct 24 2016 03:36
It could be that Heroku is down. There have been internet outages everywhere due to DDoS attacks in protest of the WikiLeaks founder being cut off from the internet. It happened a couple of days ago.
Terri Lyman
@tatigger
Oct 24 2016 03:36
But my CGM data is rendering ok.
diabeticgonewild
@diabeticgonewild
Oct 24 2016 03:37
Oh
Terri Lyman
@tatigger
Oct 24 2016 03:37
On both my sites, azure and heroku. But that was my first thought too. Once I stopped blousing the pump, that is.
*bolusing
diabeticgonewild
@diabeticgonewild
Oct 24 2016 03:37
Yeah, still sucks.
Terri Lyman
@tatigger
Oct 24 2016 03:37
Good thing I bought ice cream at the store when I was there.
diabeticgonewild
@diabeticgonewild
Oct 24 2016 03:39
I'm not going to be able to sleep tonight. Have to be at the hospital at 5:30 in the morning for a surgical procedure, courtesy of problems caused by autonomic neuropathy.
Terri Lyman
@tatigger
Oct 24 2016 03:39
Sorry :(
I am pretty over diabetes today, too.
diabeticgonewild
@diabeticgonewild
Oct 24 2016 03:39
I don't think I would be that anxious except that I literally was at the hospital for surgery like 2 weeks ago.
It happens. I just don't deal with diabetes. I'm lazy.
Terri Lyman
@tatigger
Oct 24 2016 03:40
Fatigued isn't the same as lazy.
diabeticgonewild
@diabeticgonewild
Oct 24 2016 03:41
Like I do far below what is expected as bare minimum requirements for insulin pump users. Yet my A1c is always between 6.8-7.3 when slacking off at least, so endo is like "keep up the good work"
I'm just really good with numbers, and guessing about my body and being aware of it. But mostly good with numbers.
But when I try it's much lower. Just can't deal with it though.
But usually my a1c is like a 6.9
Jason Calabrese
@jasoncalabrese
Oct 24 2016 03:45
You might have some future data
Or if you edited openaps uploaded treatments in NS if will save dates unzoned and that will prevent openaps from uploading for some time
Terri Lyman
@tatigger
Oct 24 2016 03:46
I'll check that @jasoncalabrese as I eat more icecream
diabeticgonewild
@diabeticgonewild
Oct 24 2016 03:47
Hahaha!!!!
Terri Lyman
@tatigger
Oct 24 2016 03:51
I can't find any future entries - but I did edit NS treatments when all this started. So I bet that is it. I will give it till tomorrow morning, set some alarms, and trust it. It did great last night, and all week.
Dana Lewis
@danamlewis
Oct 24 2016 03:52
@kbobik yes you could build a rig and manually enact temp basals. Or if you have an android phone, run HAPP which is an open loop app that uses the same base pref0 algorithm but doesn't require physical hardware
fiberfan
@fiberfan
Oct 24 2016 03:52
@tatigger When in doubt about my openaps, I ssh into the pi and run tail -F /var/log/openaps/pump-loop.log which shows exactly what the loop is doing.
diabeticgonewild
@diabeticgonewild
Oct 24 2016 03:53
I definitely do not want to do this procedure tomorrow. I wish I could get out of it. But at the same time, I know I am making the right decision by doing this crap.
elenavilla
@elenavilla
Oct 24 2016 03:53
I've been connected to my openaps for 10h today, and I'm loving it. 170 max number, 88 minimum. Thanks everyone! I'm now working in learning how to manage it. Once thing I can not get in my NS screen is the chart with all the temporal basals that I'm getting. I can see the changes in the openaps pill, but not in the blue-line-basal chart.
Terri Lyman
@tatigger
Oct 24 2016 03:54
That is what quit rendering on mine, elena. @fiberfan, that is how I confirmed that the pills are actually updating, and not frozen, went into the log
but the rendered basal graph really helps my visual brain understand what the Pi is doing.
diabeticgonewild
@diabeticgonewild
Oct 24 2016 03:56
So yeah, have my backpack packed with insulin, extra infusion sets and reservoirs, a backup pump, backup OpenAPS unit, etc., etc. for tomorrow...
fiberfan
@fiberfan
Oct 24 2016 03:56
@elenavilla I used the info in http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-1/nightscout-setup.html to change my NS setup and then firgot to enable everything in the browser.
elenavilla
@elenavilla
Oct 24 2016 03:56
@tatigger were you able to see them at any point?
Terri Lyman
@tatigger
Oct 24 2016 03:56
Yes, up until about 2 hours ago.
When I freaked out and repeated my meal bolus 3 times cuz I had forgotten where in the menus to find that information on the pump. I really want to use my Tandem for this.
elenavilla
@elenavilla
Oct 24 2016 03:58
@fiberfan I enabled it, openaps, pump, etc. I just don't see the graphic of the temporal basals. @tatigger I was never able to see thm
where in the menu is that option?
Terri Lyman
@tatigger
Oct 24 2016 03:59
In the medtronic pump menus Bolus>>History
In Tandem, it pretty much is on the front screen.
Sgoldberg89
@Sgoldberg89
Oct 24 2016 03:59
Struggling to get Raspberry Pi 3 to auto connect to bluetooth on boot. Followed instructions to a tee. Any thoughts?
elenavilla
@elenavilla
Oct 24 2016 03:59
ok, I thought you meant there was an option in the NS menu.
damn question perhaps, but what is cron?
Terri Lyman
@tatigger
Oct 24 2016 04:00
It is the "Basal Profile" selection
Dana Lewis
@danamlewis
Oct 24 2016 04:00
@elenavilla look for "render basals" in NS settings
Cron is how you schedule the loop to run
Terri Lyman
@tatigger
Oct 24 2016 04:01
Cron is the program that tells the Pi how often to run all the reports it runs
Render Basals is up near the top. I have both selected, but the temp basals are still not showing up. If my issue is editing treatments in NS, then that might be what you have been doing as well.
elenavilla
@elenavilla
Oct 24 2016 04:04
@danamlewis I have three options in "render basals": none, default and icicle. This last one is the one I selected. Should I select another one?
Dana Lewis
@danamlewis
Oct 24 2016 04:05
Personal preference of what you want. One shows increased temp basals as above the line; decreased below. (That's what I use.) the other does the opposite. So depending on which way your brain wants to have things :smile:
Terri Lyman
@tatigger
Oct 24 2016 04:05
Ha,, or Scott.
Dana Lewis
@danamlewis
Oct 24 2016 04:06
Actually, often parents like it reversed because it helps them see the "effect" ie more insulin pushes BG down and should be below line, but that's backwards to my brain ;) as a PWD
elenavilla
@elenavilla
Oct 24 2016 04:06
Umm, I still don't see the temporal basals. It only shows me my set basals.
diabeticgonewild
@diabeticgonewild
Oct 24 2016 04:06
My blood sugar is high and I am thirsty. At least I can drink fluids for 1 more hour.
I'm 291...yay
I just had some really bad lows in the past couple of days so I am trying to be careful.
I can take down the highs slowly.
Dana Lewis
@danamlewis
Oct 24 2016 04:08
@elenavilla you've got basals visualized, but no temps? And you have a loop running and setting temp basals? Is the rest of OpenAPS info being updated in Nightscout?
diabeticgonewild
@diabeticgonewild
Oct 24 2016 04:08
Part of the reason I'm so high is cause I'm hungry and I ate a lot, but under blouses.
elenavilla
@elenavilla
Oct 24 2016 04:09
@danamlewis system is working great, I can see changes if I put the mouse on the openaps pill, just not in the blue chart.
I can also see BG numbers from dexcom, and openaps forecast.
Terri Lyman
@tatigger
Oct 24 2016 04:12
@danamlewis that is what I have going on as well. No treatments and no temp basals in NS, but info accruing to the various pills, including Openaps, and iob, but cob, basal pills are incorrect
Dana Lewis
@danamlewis
Oct 24 2016 04:13
What are ya'll both using for hosting? Try refreshing, too, if you haven't already
Terri Lyman
@tatigger
Oct 24 2016 04:13
Heroku
elenavilla
@elenavilla
Oct 24 2016 04:14
do you mean azure?
azure it is
diabeticgonewild
@diabeticgonewild
Oct 24 2016 04:14
I would use Heroku. It's better and cheaper.
Heroku and Azure are the main hosts people typically use.
Terri Lyman
@tatigger
Oct 24 2016 04:16
I have refreshed, rebooted pi, changed the battery in the pump, deleted future entries from NS (even though it thought there weren't any), redid all the settings on my NS webpage (turned off basal render, then turned it back on) checked my NS website URL and API in Cron, and run the log to verify that it thinks it is uploading.
diabeticgonewild
@diabeticgonewild
Oct 24 2016 04:16
Who was the guy that was trying to get NS hosted locally on an Edison using an explorer board and an SD card? I remember him posting to mmeowlink chat
elenavilla
@elenavilla
Oct 24 2016 04:21
@tatigger how do you check your api in cron? I wonder if that may be my problem.
Terri Lyman
@tatigger
Oct 24 2016 04:22
I have made a note of my hashed api - I don't remember where I found it @danamlewis
elenavilla
@elenavilla
Oct 24 2016 04:23
I know my API, I'm just wondering how you get to check it in cron.
Terri Lyman
@tatigger
Oct 24 2016 04:24
then you use terminal for your pi, ssh in, you know, and then change directory to your openaps directory, then type cron -l (that is L as in LIST), which will generate the cron,
Like 10 or so lines of stuff, including your URL for nightscout and the API
But it is the hashed API, not the secret-API you entered. The system changes it to hashed, which is longer.
elenavilla
@elenavilla
Oct 24 2016 04:25
ok, I'm taking a picture of it, and will try tomorrow.
Terri Lyman
@tatigger
Oct 24 2016 04:26
Have a good night!
elenavilla
@elenavilla
Oct 24 2016 04:26
›It's been a very exciting day for me using my openaps for the first time, I'm exhausted. Good night.
Terri Lyman
@tatigger
Oct 24 2016 04:26
I know where I found it!
Dana Lewis
@danamlewis
Oct 24 2016 04:26
(Sounds like there may be some additional troubleshooting needing to be added back into the docs with the new flow - ie how to check cron and why etc.) (this is a poke for anyone running the new setup who thinks there's something missing - there probably is, and please flag it by opening an issue or submitting a PR with suggested fixes! :))
Terri Lyman
@tatigger
Oct 24 2016 04:27
Ooooh - and writing down your Hashed API - It shows up when you do the setup and it is confirming your entries. That is when I wrote it down
Dana Lewis
@danamlewis
Oct 24 2016 04:28
Re basal rendering, not sure what else to test but to suggest see if it works in the am. Sometimes it's server funkiness and it just works later but not when you're looking at it. The other thing would be to check which NS version you're on.
Terri Lyman
@tatigger
Oct 24 2016 04:29
dev
for that site. But I will check in the morning. Thanks Dana
Dana Lewis
@danamlewis
Oct 24 2016 04:31
:+1: might swap to grilled cheese master and see if that fixes?
Night!
diabeticgonewild
@diabeticgonewild
Oct 24 2016 04:37
Still have 30 more minutes to drink fluids and eat...BG is down 30 points which is good.
At least after this crap is over with, I have thanksgiving, my twin brother graduating from college, and starting to take classes again this upcoming spring at university...to look forward to...
elenavilla
@elenavilla
Oct 24 2016 04:43
I know what cron is! What was I thinking? But will try with grilled cheese tomorrow.
Neal
@tnharvey
Oct 24 2016 04:48
Let me know if this should be over in mmeowlink, but I attempted to flash to jubilinux and the jubilinux flash isn't recognizing my edison. I reboot the edison after running flashall.sh and the reboot finishes, never picks up the flash. I tried the suggestion of getting boot> and running run do_flash, that didn't work, so I checked lsusb, and the ediaon doesn't appear there that I can tell, so I don't know what to change the vid pid to. Any thoughts?
Not sure why this would matter, but my root password isn't null like the instructions indicated.
diabeticgonewild
@diabeticgonewild
Oct 24 2016 04:52
Do it via Windows. It's the least flakiest way of flashing. Go to YouTube and search for "diabeticgonewild" to find the Windows flashing videos
Neal
@tnharvey
Oct 24 2016 04:53
Thanks Monica! I'll try that in the morning and see if it works that way.
diabeticgonewild
@diabeticgonewild
Oct 24 2016 04:55
You're welcome. I literally spent 40+ hours trying to flash via Linux using various methods, and I ultimately failed. Windows worked, so I posted a video. Used to work in Geek Squad too so I'm good with instructions.
Nobody so far has had trouble flashing via Windows after watching these videos.
On the chats. People recommend them too.
Matthias
@ceben80
Oct 24 2016 04:55
Does anybody build jubilinux on Edison in a single partion :question:
diabeticgonewild
@diabeticgonewild
Oct 24 2016 04:56
Yes, because nobody uses swap on the Edison for Jubilinux
Or at least I have heard. I only have used Ubilinux
And the videos...there's only 2 slight modifications you need to make for Jubilinux
garykidd
@garykidd
Oct 24 2016 04:58
hmmmm...tried to add another wifi network and now cant get any to work...
on startup of edison I get...
    Starting Update UTMP about System Runlevel Changes...
[FAILED] Failed to start Hostname Service.
See 'systemctl status systemd-hostnamed.service' for details.
dont really know how to check that...any ideas?
diabeticgonewild
@diabeticgonewild
Oct 24 2016 05:03
No more drinking/eating for me. Damn surgery. Being intubated and being put in a drug induced coma in like 8 hours...meh. Thanks, autonomic neuropathy.
Did you try google?
"failed to start hostname service" AND systemctl
Put that into Google
diabeticgonewild
@diabeticgonewild
Oct 24 2016 06:40
And my BGs are high on the morning of surgery due to stress...yay. Starting up OpenAPS so it can take over, now...
diabeticgonewild
@diabeticgonewild
Oct 24 2016 06:48
JK CGM lied!!!
I'm 62 mg/dL with 3+ units of Novolog on board!!!!
The CGM was 100+ points off!!! WTF!!!
So temp basal at 0.0 U/h for 2 hours, at least!!!
diabeticgonewild
@diabeticgonewild
Oct 24 2016 06:58
Yes! Loop is working!!!
diabeticgonewild
@diabeticgonewild
Oct 24 2016 08:33
Finally my BG is going up. It's 51 mg/dL right now. I don't want to eat/drink, and I don't have glucagon or even an RX for it, for that matter.
And I do want to be able to get this procedure done, even though I am scared. I will admit to that. This is elective and I do have a choice of whether or not I want to get it done. But my autonomic neuropathy is so bad that I feel like I have to do it.
Sandra Keßler
@SandraK82
Oct 24 2016 08:40
@/all Big thanks to all Supporters! http://unendlichkeit.net/wordpress/?p=306&lang=en
diabeticgonewild
@diabeticgonewild
Oct 24 2016 08:53
That's cool! Is that the Freestyle Libre reader?!
Sandra Keßler
@SandraK82
Oct 24 2016 08:55
A device to read tags like the libre via Bluetooth :smile:
diabeticgonewild
@diabeticgonewild
Oct 24 2016 08:58
Awesome!!!!
This is really serious. My heart rate is up, of course, so I had to take medicine to lower my heart rate (Ivabradine 5 mg) plus medicine to raise my blood pressure (midodrine 5 mg) so hopefully they won't be like WTF whenever they take my vital signs.
diabeticgonewild
@diabeticgonewild
Oct 24 2016 09:03
My resting heart rate right now.... https://imgur.com/a/pl6xC
dougtakeuti
@dougtakeuti
Oct 24 2016 09:28

@scottleibrand the edison is getting out of memory space every 3-4 days.

df -h
Filesystem       Size  Used Avail Use% Mounted on
/dev/root        1.4G  1.3G   35M  98% /
devtmpfs         480M     0  480M   0% /dev
tmpfs             97M  316K   96M   1% /run
tmpfs            5.0M     0  5.0M   0% /run/lock
tmpfs            193M     0  193M   0% /run/shm
tmpfs            481M  8.0K  481M   1% /tmp
/dev/mmcblk0p7    32M  5.3M   27M  17% /boot
/dev/mmcblk0p10  1.3G  211M  1.1G  17% /home

cd / && sudo du -xh -d 3 | egrep "[0-9][0-9][0-9]M|[0-9]G"
289M    ./usr/share
287M    ./usr/lib
703M    ./usr
117M    ./root
108M    ./var/log
191M    ./var/cache/apt
194M    ./var/cache
381M    ./var
1.3G    .

However, this time the problem doesn't seem to be .git
Not sure what to do here. Any clue?

Matthias
@ceben80
Oct 24 2016 10:04
This is known to me with this issue....not really good :cry: I reinstalled the whole stuff yesterday, will see when the partions are full again :worried:
diabeticgonewild
@diabeticgonewild
Oct 24 2016 10:33
At the hospital now. REALLY don't want to do this. Nervous as hell.
diabeticgonewild
@diabeticgonewild
Oct 24 2016 11:14
In hospital swag now. Signed and initialed like 20 times for consent. This is going to happen relatively quickly. Can't get out of it now.
diabeticgonewild
@diabeticgonewild
Oct 24 2016 11:20
Perfect facial expression for the occasion https://imgur.com/a/grKyp
I really don't wanna be here.
andyhandy
@andyhandy
Oct 24 2016 12:49
hi all. hoping for some help. have the loop up and running but having lots of connection issues with the carelink. does the TI stick work with the pi? These instructions seem to assume you have Intel Edison: https://github.com/oskarpearson/mmeowlink/wiki/TI-USB-stick. Thanks!
Sandra Keßler
@SandraK82
Oct 24 2016 12:52
@andyhandy ti-USB works great 👍🏻 I use a raspi2 for my Loop currently
Every now and then I have to replug it. I guess around each second or third day
andyhandy
@andyhandy
Oct 24 2016 12:54
super - thanks @SandraK82 would you mind confirming that the following hardware is all i need? http://www.ti.com/tool/cc1111emk868-915 and http://www.ti.com/tool/cc-debugger?
Eric Jensen
@elnjensen
Oct 24 2016 12:57
That's right, @andyhandy - and you only need the cc-debugger once, to flash the firmware. So if you can find someone in your area to borrow one, you can go with just the TI stick.
Just to be extra clear, those two hardware items are all you need in addition to the Raspberry Pi and some way to get CGM data (Dexcom or Minimed sensors).
That reminds me that I still need to return the cc-debugger I borrowed to its owner... :frowning:
andyhandy
@andyhandy
Oct 24 2016 13:23
great - thanks @elnjensen. so then all i need to do is flash the current firmware (https://github.com/ps2/subg_rfspy/releases) on to the TI stick and install mmeowlink on the pi (https://github.com/oskarpearson/mmeowlink/wiki/Installing-MMeowlink)?
Sandra Keßler
@SandraK82
Oct 24 2016 13:38
the mmeowlink part is not needed as this is done by the setup script from @scottleibrand
just flash it, plug it in and run the setup script, the device should be /dev/ttyACM0
andyhandy
@andyhandy
Oct 24 2016 13:41
Cheers thanks 🙏🙏
Matthias
@ceben80
Oct 24 2016 13:44
It's pretty simple @andyhandy :wink:
David
@davidkeddydb
Oct 24 2016 13:59
I don't know how many people are considering looping surrounding NH, but I would lend my debugger after the explorer board is set up
emsamom
@emsamom
Oct 24 2016 14:00
could someone share what the ns.ini should look like? I thought I set it up correctly during the openaps install, but when I run openaps use -h I get this for ns:
ns process - a fake vendor to run arbitrary commands
ns-glucose process - a fake vendor to run arbitrary commands

Here is my ns.ini file:

[device "ns"]
fields = oper
cmd = nightscout
args = ns https://myaps.herokuapp.com a5bb743fa00fdaa963e999faee1d2f9c779ff040

David
@davidkeddydb
Oct 24 2016 14:02
I have varied carb ratios throughout the day. I was reading @danamlewis comments about setting up IFTTT for certain pre-set carb events using pebble watch, etc. How do I get around just sending the carbs over without sending a bolus command given the varied ratios throughout the day?
Chris Oattes
@cjo20
Oct 24 2016 14:02
you don't really want to be posting your API_SECRET in publicly logged channels emsamom
emsamom
@emsamom
Oct 24 2016 14:03
(I change it and my heroku website)
but thanks!
David
@davidkeddydb
Oct 24 2016 14:05
@emsamom
[device "ns"]
fields = oper
cmd = nightscout
args = ns https://blahblah.herokuapp.com
secret API xxxxxxxxx
emsamom
@emsamom
Oct 24 2016 14:06
@davidkeddydb thanks.... do you have something more descriptive for ns when you "openaps use -h"?
David
@davidkeddydb
Oct 24 2016 14:08
Same. What are you trying to do?
can you get data off the cgm?
emsamom
@emsamom
Oct 24 2016 14:09
just get a response from nightscout - I can't get anything from cgm
David
@davidkeddydb
Oct 24 2016 14:09
re check you secret api
emsamom
@emsamom
Oct 24 2016 14:09
so my stupid question is.... I'm using nightscout bridge with share. Do I still need to plug the receiver into my pi?
David
@davidkeddydb
Oct 24 2016 14:10
@emsamom not a stupid question. If you don't have NS set up right yet, then yes :)
emsamom
@emsamom
Oct 24 2016 14:10
theoretically I should be able to have nightscout talking to my pi, then to my pump... no need for a dexcom receiver anywhere, right?
(I haven't used the receiver since I started with G5.... looks like I'll have to go dig it up)
David
@davidkeddydb
Oct 24 2016 14:11
well not plugged in, correct.
I am not as well versed as the rest of the room with the G5 as I have stuck with the g4.
emsamom
@emsamom
Oct 24 2016 14:12
ok thank you for help, I think I should probably back it up and plug in the receiver. Baby steps!
Sandra Keßler
@SandraK82
Oct 24 2016 14:13
@davidkeddydb you are not alone, never used a cgm system, just my bluereader with freestyle Libre sensor
David
@davidkeddydb
Oct 24 2016 14:15
I started plugged and then went via NS. @SandraK82 I am just not hip with all the set up for the G5. I always wanted to try the libre. (Europe ends up ahead with a lot of the T1d tech and I am jealous!)
@emsamom Get the rig working first plugged and then you can set up NS and go unplugged. Then with the Rpi it will work both ways with a little doing.
emsamom
@emsamom
Oct 24 2016 14:17
TY @davidkeddydb But darnit now I have to find and charge the receiver :)
David
@davidkeddydb
Oct 24 2016 14:19
@emsamom The thing with the G5 that always held me back besides the range is the battery usage. Even using openaps, as I am using the phone as a hotspot, is draining my battery pretty quick.
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 14:19
does xdrip work with openAPS ?
emsamom
@emsamom
Oct 24 2016 14:19
I've decided to worry about battery and connectivity once I get it up and working in my house. Was too much to stress over at the beginning!
David
@davidkeddydb
Oct 24 2016 14:21
@diabetic_dude_twitter Yes. if you search you will see a lot of people with questions have posted
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 14:22
@davidkeddydb search where?
David
@davidkeddydb
Oct 24 2016 14:23
search button in the top left, looks like a magnifying glass. It is a huge help trying to find help with previous questions that have been asked
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 14:23
awesome thanks
David
@davidkeddydb
Oct 24 2016 14:24
I would be dead in the water without the search
Have a good day everyone. I have to get to work.
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 14:26
you too
diabeticgonewild
@diabeticgonewild
Oct 24 2016 16:30
Well, because I am disinhibited right now from the anesthesia I guess I will admit to the procedure I had. Because I have urge incontinence brought on by a neurological disease that I have likely had since I was a young child, and the medications I have taken for it weren't that effective, along with an unsuccessful sacral nerve stimulator, I had Botox injections to my bladder. Usually you don't get the benefits from it until like 1-2'weeks after the treatment. However my urologist has said that sometimes it works so well that it works right away. I woke up from the anesthesia and I could feel it already paralyzing my bladder and it getting rid of unpleasant sensations. I had this done in 2009 and 2010 but it didn't last long enough, but my urologist is willing to try a higher dose, among other things. But, I seriously couldn't be any more happier right now. I'm super relieved.
diabeticgonewild
@diabeticgonewild
Oct 24 2016 16:36
But port in my chest isn't working, and they managed to get a vein in my foot. So have to wait around for another surgeon (who placed the port...my urologist said for the staff to call him and have him stop by and check it out). I need this IV access as it's my only reliable place where they can stick me. So meh.
But I'm very pleased and happy with the results so far.
emsamom
@emsamom
Oct 24 2016 16:39
Connecting more dots here.... the pump information that Nightscout gets is coming via OpenAPS sending nightscout data? or something else? (I'm using Medtronic 522, Dexcom G5)
Oh wait - I created a profile for Nightscout including my basal rates. Getting a bit lost here, sorry about that!
emsamom
@emsamom
Oct 24 2016 16:55

I'm definitely missing something in connecting Nightscout to OpenAPS..... I've gone through the NS setup and made the changes to enable openaps and pump

but I've not done anything to tell openaps to send data to nightscout....

so I get the openaps pill giving me an "undefined" error
Dana Lewis
@danamlewis
Oct 24 2016 16:57
@emsamom have you worked through phase 2 setup scripts yet?
that would be when you give your url and API and set up the loop, so you won’t get any info sent to NS until you work through that phase
emsamom
@emsamom
Oct 24 2016 16:58

I think i did that correctly.... Step 1: Pull/clone the latest oref0 dev by running:

mkdir -p ~/src; cd ~/src && git clone -b dev git://github.com/openaps/oref0.git || (cd oref0 && git checkout dev && git pull)

Step 2:

cd && ~/src/oref0/bin/oref0-setup.sh

but I'm not entirely sure how to tell - I have a ton of stuff in my custom openaps directory I specified and I am able to talk to my pump

openaps use pump model

gives me info back from pump

but I can't figure out how to test similarly with ns
Dana Lewis
@danamlewis
Oct 24 2016 16:59
did you do step 3 and tail your log to see if the loop is running?
emsamom
@emsamom
Oct 24 2016 17:00
nope. I thought that was for after I start the cron job?
(which I couldn't figure out how to do)
David
@davidkeddydb
Oct 24 2016 17:00
@emsamom If you said yes to cron, they are already running. Just go to your openaps directory and type crontab -e and see if you see them
Dana Lewis
@danamlewis
Oct 24 2016 17:01
and if you didn’t cron, just run the setup script again and enable it this time (call it something different)
emsamom
@emsamom
Oct 24 2016 17:01
I said NO to cron! let me rerun setup script and say yes this time
Dana Lewis
@danamlewis
Oct 24 2016 17:01
@davidkeddydb want to PR that in to the setup script page in the docs? seems to be a common stumbling point
David
@davidkeddydb
Oct 24 2016 17:02
@danamlewis I will PR and make a comment about saying yes to Cron and what happens if you don't
Dana Lewis
@danamlewis
Oct 24 2016 17:03
:+1: and how to view
David
@davidkeddydb
Oct 24 2016 17:04
@danamlewis You think it best under Phase 2: oref0 set up near var/log or in Phase 3?
Dana Lewis
@danamlewis
Oct 24 2016 17:05
I think should have a short troubleshooting section at bottom of this page http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-2/oref0-setup.html , otherwise people won’t see it in phase 3.
emsamom
@emsamom
Oct 24 2016 17:05
A bit of an overview of what the cron job is doing would be good. I can't quite figure out which scripts it's running and what order... or the fact that the cron job is turning on the loop!
Dana Lewis
@danamlewis
Oct 24 2016 17:06
maybe you should put in a PR too ;) to help clarify language
emsamom
@emsamom
Oct 24 2016 17:06
I want to.... but I still don't understand what I am missing!
I promise I will when I am not so befuddled!
Dana Lewis
@danamlewis
Oct 24 2016 17:07
Where are you stuck? What’s your current question?
PS - it may also be helpful to look at the old “manual” instructions to see what the components are of what you’re setting up. http://openaps.readthedocs.io/en/latest/docs/walkthrough/manual/index.html
emsamom
@emsamom
Oct 24 2016 17:08
right now I am just a bit lost in the details. I just finished the setup script
and am monitoring the log with tail -F /var/log/openaps/pump-loop.log
David
@davidkeddydb
Oct 24 2016 17:08
@emsamom Here is the cron it is running so you can see it.
grep -q 'openaps get-bg' || $
          • cd /root/dke1 && ps aux | grep -v grep | grep -q 'openaps ns-loop' ||$
          • cd /root/dke1 && ps aux | grep -v grep | grep -q 'openaps autosens' |$
          • cd /root/dke1 && ( ps aux | grep -v grep | grep -q 'openaps pump-loop$
emsamom
@emsamom
Oct 24 2016 17:08
but I'm not sure why :) or what my next step is!
Oh I thin the lightbulb just went off!
David
@davidkeddydb
Oct 24 2016 17:11
@emsamom keep it simple. it grabs data from CGM and or nightscout, gets data from pump and then either applies sensitivity if you enabled it or not, and the same with meal assist and then puts together an enacted.json or the basal to put in effect. Is NS updating? Are you testing this without being connected or having someone connected to the pump?
emsamom
@emsamom
Oct 24 2016 17:12
so the cron job I just kicked off in settings is the loop. and what I'm watching now is the actual loop....i see it getting pump history, then reporting on basal.....
I GET IT :)
and don't worry, I'm running an empty pump on my desk while connected to my actual TSLIM..... I won't try this for real until I'm completely comfortable!
and NS is updating now!!!!!
holy toledo this is unbelievable!
Dana Lewis
@danamlewis
Oct 24 2016 17:13
:)
David
@davidkeddydb
Oct 24 2016 17:13
@emsamom Fantastic! Go high and wide to start. You are gong to love it. It is a game changer
emsamom
@emsamom
Oct 24 2016 17:13
Going high all the time is why I decided to try this! ;)
cjo20 @cjo20 isn't sure why the 3 different cron jobs for davidkeddydb
trevettallen
@trevettallen
Oct 24 2016 17:13
I ran into an error message during Nightscout integration install on the Pi and I'm wondering if anyone knows if it will be an issue. here is the error:
While running: " pi@raspberrypi:~ $ curl -s https://raw.githubusercontent.com/openaps/docs/master/scripts/quick-packages.sh | bash -"
ENDED up with:
installed /etc/udev/rules.d/80-dexcom.rules
Installing bash completion script /etc/bash_completion.d/python-argcomplete.sh
/usr/local/bin/json -> /usr/local/lib/node_modules/json/lib/json.js
npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine boom@2.10.1: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
/usr/local/bin/oref0-calculate-iob -> /usr/local/lib/node_modules/oref0/bin/oref0-calculate-iob.js
/usr/local/bin/oref0-find-insulin-uses -> /usr/local/lib/node_modules/oref0/bin/oref0-find-insulin-uses.js
/usr/local/bin/oref0-detect-sensitivity -> /usr/local/lib/node_modules/oref0/bin/oref0-detect-sensitivity.js
David
@davidkeddydb
Oct 24 2016 17:15
@cjo20 Lol. It is what came out of the box.... It was what comes out during set up. I am not utilizing raw readings but it is there I guess if I ever intended to.
Chris Oattes
@cjo20
Oct 24 2016 17:15
trevettallen: Personally, I'd ignore warnings unless it doesn't work later
In most programs, there is a difference between WARN and ERROR
trevettallen
@trevettallen
Oct 24 2016 17:15
lol!! I like that
thx Chris!
Chris Oattes
@cjo20
Oct 24 2016 17:15
Warnings are a good place to start looking if something goes wrong, but doesn't necessarily mean it's broken.
Dana Lewis
@danamlewis
Oct 24 2016 17:16
(@trevettallen the other point is, there’s very few things you can do that are un-fixable. Most things you can do-over if needed)
trevettallen
@trevettallen
Oct 24 2016 17:16
I'm half tempted to wipe the Pi and start over now that I have made it through the installation process.
Dana Lewis
@danamlewis
Oct 24 2016 17:17
there’s 3 crons so that getting BGs doesn’t wait on pump comms. @cjo20 @davidkeddydb and pump loop doesn’t wait on auto-sens, etc.
Chris Oattes
@cjo20
Oct 24 2016 17:19
@danamlewis I'm not sure I see the benefit to that. There's not much point re-running autosens or determine-basal until you have more data to run on, which you don't have completely until run of fetching data has finished
trevettallen
@trevettallen
Oct 24 2016 17:20
@danamlewis @cjo20 Thanks!
emsamom
@emsamom
Oct 24 2016 17:22
@danamlewis so being somewhat dangerous with code (and not hooked up to the pump I'm testing on) I'm tempted to make a change to determine-basal.js to force a temp rate and prove I can effect change on my pump....
Dana Lewis
@danamlewis
Oct 24 2016 17:23
you don’t need to do that
you can just set a manual temp
emsamom
@emsamom
Oct 24 2016 17:23
I thought I might be skipping something obvious
take a dig into the openaps toolkit
Scott Leibrand
@scottleibrand
Oct 24 2016 17:24
@cjo20 we had it all in one loop originally, and found that the time it took to do the non-pump stuff was preventing us from enacting temps within a minute or two of receiving new BG
emsamom
@emsamom
Oct 24 2016 17:24
yep, back to that now!
thanks @danamlewis
emsamom
@emsamom
Oct 24 2016 17:26
yea I'm about to send my pump a bolus command now :clap:
Dana Lewis
@danamlewis
Oct 24 2016 17:26
eeeerm. That’s the one I do not recommend using, FYI
safer to test and do things with temps
emsamom
@emsamom
Oct 24 2016 17:26
I figured it will always be tempting me so I may as well get it out of the way on a pump with no insulin or connection to live human!
good to make all the mistakes up front!
Dana Lewis
@danamlewis
Oct 24 2016 17:27
ha. ok. but…after this, don’t test with boluses :)
emsamom
@emsamom
Oct 24 2016 17:27
I promise!
Chris Oattes
@cjo20
Oct 24 2016 17:27
@scottleibrand do you mean the fetching from NS? Or autosens / determine-basal?
Scott Leibrand
@scottleibrand
Oct 24 2016 17:27
Doing it all in a single loop was particularly problematic when using openxshareble and having to wait multiple minutes for BG to come in. Being able to collect pumphistory settings etc. in parallel means we can enact as soon as we get the BG
NS doesn't take long: it was mostly autosens and openxshareble.
Determine-basal itself still has to be in the pump-loop, but it's quick.
If you only have one rig, and keep it on your body all the time, you can get away with one loop. But not if you want rigs all over the house.
Chris Oattes
@cjo20
Oct 24 2016 17:30
doesn't you get in to race conditions where files are being overwritten as the other jobs are trying to read them?
David
@davidkeddydb
Oct 24 2016 17:30
@danamlewis I want to use IFTTT for some set carbs as I prebolus but I have different carb ratios for each meal. Can I set the commands using the bolus wizard with just carb info or do I have to set a bolus as well? Let me know if that doesn't make sense
Dana Lewis
@danamlewis
Oct 24 2016 17:31
@davidkeddydb depends on what pump you have. run a test and see if you do a carb entry, but then “back out” without doing bolus, if it ends up putting that carb into Nightscout. some pumps do, some don’t.
Scott Leibrand
@scottleibrand
Oct 24 2016 17:32
@cjo20 I've never seen issues with that. But it might be contributing to the full .git directories. We might need to break out each loop into a dedicated directory with its own .git and copy end result files between them, like the openxshareble cgm-loop does.
David
@davidkeddydb
Oct 24 2016 17:32
@danamlewis I have a 722 and I know it put the carb entry up. I attempted the carb entry in IFTTT but couldn't get it to go to the pump, but would go to NS
Dana Lewis
@danamlewis
Oct 24 2016 17:32
oh, you can’t send carb entries to the pump
sorry, wasn’t clear that’s what you are asking
if you IFTTT/put in nightscout, it won’t go to your pump
Chris Oattes
@cjo20
Oct 24 2016 17:33
Having files being opened for read/write at the same time feels like it could easily cause undefined or unexpected behaviour, while being hard to reproduce
David
@davidkeddydb
Oct 24 2016 17:34
@danamlewis So I can't enter a command through IFTTT for prebolus for a set number of carbs to the pump?
Dana Lewis
@danamlewis
Oct 24 2016 17:34
you cannot send carb entry to your pump, no. If you do IFTTT, you are purely entering carbs into nightscout/your loop.
you could enter carbs via IFTTT, and do a manual bolus on your pump, but since you’ve got different carb ratios that seems to not be an ideal solution.
Scott Leibrand
@scottleibrand
Oct 24 2016 17:36
@cjo20 would welcome assistance at breaking them out into their own directories if you're inclined.
David
@davidkeddydb
Oct 24 2016 17:37
@danamlewis Yeah, I need it to calculate each time. Was hoping I could send the bolus wizard commands through NS to the pump, ie similar to activity mode or eating soon using a temp basal
No big deal. It is pretty cool as is.
Dana Lewis
@danamlewis
Oct 24 2016 17:38
doesn’t seem like IFTTT is a good solution for that then
you could use BWP in NS to preview the bolus amount, but if you’re going to be doing something precise (not rounded up or down in a way that can easily be popped in using easy bolus buttons), probably makes since to use pump bolus wizard
David
@davidkeddydb
Oct 24 2016 17:40
so I could do it if I could use the easy bolus buttons. Given that I am using ama and autosens, I may try that. I will have to play with it and see what I get when I get a minute
Dana Lewis
@danamlewis
Oct 24 2016 17:41
(you’d get the bolus in via easy bolus buttons. you’d calculate the bolus amount and enter your carbs via NS careportal/BWP. but the carbs would NOT be stored on your pump for future boluses)
David
@davidkeddydb
Oct 24 2016 17:42
@danamlewis right as they would be in NS but not on the pump. That I am not worried about. Is github.com/openaps/docs where I should be doing that PR?
Chris Oattes
@cjo20
Oct 24 2016 17:42
@scottleibrand struggling with having the motivation to get out of bed/go to work at the moment, let alone coding in the evening (hence being quiet recently). if its still like it os when i have some energy ill take a look
Dana Lewis
@danamlewis
Oct 24 2016 17:43
@davidkeddydb yep. PR to master.
emsamom
@emsamom
Oct 24 2016 17:51
I AM CONTROLLING MY PUMP VIA THE INTERNET. I FEEL INVINCIBLE!
Scott Leibrand
@scottleibrand
Oct 24 2016 18:01
lol :-D :confetti_ball:
@cjo20 completely understand. I have it on my long list of things to get to as well, but I suspect someone affected could get to it before either of us do.
trevettallen
@trevettallen
Oct 24 2016 18:09
Does anyone know of any pump exchange sites (other than posting it on craigslist) where I might find someone interested in upgrading from their 522/523 to my 530g? It would be nice to get a few of the resevoirs and supplies in trade rather than getting scripts filled and being on shots as pumps cross in the mail.
trevettallen
@trevettallen
Oct 24 2016 18:17
So, no one knows of a trade/diabetes forum other than medwow or craigslist?
emsamom
@emsamom
Oct 24 2016 18:18
there is a T1D pay it forward group on facebook...
trevettallen
@trevettallen
Oct 24 2016 18:18
Thx emsamom! And congrats on your godlike powers!
diabeticgonewild
@diabeticgonewild
Oct 24 2016 18:22
Leaving the hospital right now! Port is OK!!! 😃
emsamom
@emsamom
Oct 24 2016 18:57
OK I'm getting an error, not clear what needs to happen.... or how to stop and restart the loop....

Error, retrying
Starting pump-loop at Mon Oct 24 14:56:36 EDT 2016:
monitor/temp_basal.json raised ACK is 0 bytes:

pump://JSON/read_temp_basal/monitor/temp_basal.json
Traceback (most recent call last):
File "/usr/local/bin/openaps-report", line 82, in <module>
app( )
File "/usr/local/lib/python2.7/dist-packages/openaps/cli/init.py", line 51, in call
self.run(self.args)
File "/usr/local/bin/openaps-report", line 75, in run
output = app(args, self)
File "/usr/local/lib/python2.7/dist-packages/openaps/cli/subcommand.py", line 52, in call
return self.method.main(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps/reports/invoke.py", line 40, in main
output = task.method(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps/uses/use.py", line 44, in call
self.before_main(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps/vendors/medtronic.py", line 61, in before_main
self.setup_medtronic( )
File "/usr/local/lib/python2.7/dist-packages/openaps/vendors/medtronic.py", line 160, in setup_medtronic
self.uart.open( )
File "/usr/local/lib/python2.7/dist-packages/decocare/stick.py", line 874, in open
log.info('%s' % self.product_info( ))
File "/usr/local/lib/python2.7/dist-packages/decocare/stick.py", line 515, in product_info
return self.query(ProductInfo)
File "/usr/local/lib/python2.7/dist-packages/decocare/stick.py", line 509, in query
return self.process( )
File "/usr/local/lib/python2.7/dist-packages/decocare/stick.py", line 496, in process
ack, response = self.command.respond(raw)
File "/usr/local/lib/python2.7/dist-packages/decocare/stick.py", line 71, in respond
raise AckError("ACK is 0 bytes:\n%s" % lib.hexdump(raw))
decocare.errors.AckError: ACK is 0 bytes:

Dana Lewis
@danamlewis
Oct 24 2016 18:57
range. where’s the pump?
emsamom
@emsamom
Oct 24 2016 18:57
right next to the carelink! (still no insulin in it)
Dana Lewis
@danamlewis
Oct 24 2016 18:57
(and errors like that should resolve, you wouldn’t need to do anything other than get the pump in range probably)
emsamom
@emsamom
Oct 24 2016 18:58
hmm
Dana Lewis
@danamlewis
Oct 24 2016 18:58
it should resolve then
Scott Leibrand
@scottleibrand
Oct 24 2016 18:58
you might be able to help it along by unplugging the carelink and plugging it back in
emsamom
@emsamom
Oct 24 2016 18:58
this reminds me of when I first went on cgm. HYPER aware of what's going on
I'll wait a bit and see what happens.
In the meantime I'm reading ahead
if I am going to mess with my IOB max or target BG after I'm comfortable with low prevention looping
do I just change those settings on my pump and in Nightscout profile?
or do I have to set them somewhere in openaps too?
Dana Lewis
@danamlewis
Oct 24 2016 19:00
read the docs ;)
keep reading ;)
emsamom
@emsamom
Oct 24 2016 19:01
Into Phase 4? It started to mush toghether...
emsamom
@emsamom
Oct 24 2016 19:02
yep, that's where I am.... I will reread :)
Dana Lewis
@danamlewis
Oct 24 2016 19:03
(I realize now we need to add one sentence to a page…but read that whole section and tell me which page you think it’s missing from)
emsamom
@emsamom
Oct 24 2016 19:03
ok
Dana Lewis
@danamlewis
Oct 24 2016 19:03
and you may spot other things missing
emsamom
@emsamom
Oct 24 2016 19:29
ok I've reread the entire section, updated 2 docs and will make a PR. I think I need to ask my question differently....
what's the point of the target BG information being stored in Nightscout profile? Does it impact the predictive BGs? (how important is it to keep this value and the pump setting the same?)
Dana Lewis
@danamlewis
Oct 24 2016 19:31
very good Q. That’s to show the lines on the NS graph, I believe. and it does NOT impact the loop operation. The one that drives preditive BGs in the loop is what is stored on the pump
emsamom
@emsamom
Oct 24 2016 19:32
ok. I hope you will review my PR and reject it if my changes are wrong!
ty
Dana Lewis
@danamlewis
Oct 24 2016 19:33
that’s how PRs work! looking forward to checking it out :)
emsamom
@emsamom
Oct 24 2016 19:36
I now understand why people test this while connected to insulin. My brain is going to explode trying to compare what my loop is doing against what my non-looping pump is doing and figure out what I should be doing with both!
diabeticgonewild
@diabeticgonewild
Oct 24 2016 19:37
I wish I didn't admit to getting that procedure done today. Yay drugs. It definitely was worth it though. At home and resting.
fiberfan
@fiberfan
Oct 24 2016 19:40
@emsamom I tried to mirror what the loop was doing by setting temp basals on my non-looping pump. I wasn't able to exactly mirror the loop but it still helped me see how the loop works. I was then able to decide I trusted it enough to switch to the looping pump since I already trusted xdrip to wake me if bgs were low.
emsamom
@emsamom
Oct 24 2016 19:42
@fiberfan that's what I'm trying to do, but I'm not patient :)
fiberfan
@fiberfan
Oct 24 2016 19:43
I wasn't either, I switched to the looping pump the first non-work day after getting the looping pump running with water in a reservoir.
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 19:58
what is a good server to work with nightscout? I thought there was a different one aside from the MS Amazon and google services listed
Jason Wittmer
@jbwittmer
Oct 24 2016 19:58
@danamlewis Re: your discussion of carbs via NS or pump abve, I did actually (accidentally) find a way to enter carbs via the pump with no insulin delivered. A 723 anyway. If you enter carbs, dial the insulin down to zero, then hit ACT, the pump just beeps but it does record the carbs into the pump history. At least it did on our 723.
Dana Lewis
@danamlewis
Oct 24 2016 19:58
@jbwittmer right. that enters it to loop/NS, but no way to enter carbs in NS and it go to the pump
Jason Wittmer
@jbwittmer
Oct 24 2016 19:59
Oh. Right. Sorry. Mis-read that.
diabeticgonewild
@diabeticgonewild
Oct 24 2016 19:59
Heroku for NS with OpenAPS setup is good and cheap.
Dana Lewis
@danamlewis
Oct 24 2016 19:59
@jbwittmer no worries
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 20:01
thanks @diabeticgonewild that is the one I was hearing about Heroku
@diabeticgonewild just the free one or is there another?
tazitoo
@tazitoo
Oct 24 2016 20:02
Anyone know the dimensions of the Explorer board? I need to order up some lipos to power it...or if you have links to appropriately sized batteries that would also help. TIA!
diabeticgonewild
@diabeticgonewild
Oct 24 2016 20:03
There really isn't a free server for NS plus OpenAPS unless you are hosting your own server...or carrying around an offline Raspberry app.
NS plus OpenAPS costs around $8 per month with Heroku.
Azure is ridiculously expensive for NS plus OpenAPS features in my opinion.
Chris Oattes
@cjo20
Oct 24 2016 20:04
Yeah, £0.00 is far too much
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 20:04
I dont mind paying just would love to know ... sweet thanks.. also what language should I choose?
diabeticgonewild
@diabeticgonewild
Oct 24 2016 20:05
What do you mean which language should you choose? I'm confused as to what you're asking (but keep in mind I had anesthesia drugs this morning...)
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 20:06
Primary Development Language*
emsamom
@emsamom
Oct 24 2016 20:06
@diabetic_dude_twitter I don't think the language matters since you are going to push code from github into Heroku. I think I picked "other"
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 20:06
cool thanks both of you
emsamom
@emsamom
Oct 24 2016 20:06
but make sure to pay for your app as a "hobby" otherwise it stops working after the first little while.
Neal
@tnharvey
Oct 24 2016 20:07
Do you still use mongo with heroku? I'm going to have to switch soon, once I get things running
emsamom
@emsamom
Oct 24 2016 20:08
yes, still use mongo.
Jason Wittmer
@jbwittmer
Oct 24 2016 20:08
Heroku will set up with its own MongoDB. You can switch to the one you set up with Azure and preserve your history.
Rachel Sandlain
@audiefile
Oct 24 2016 20:08
Yes. Heroku will set one up for you, or you can tell it to use an existing one by setting your mongo uri and collection just like you did when you set up Azure
diabeticgonewild
@diabeticgonewild
Oct 24 2016 20:09
@diabetic_dude you're welcome.
Rachel Sandlain
@audiefile
Oct 24 2016 20:09
What @jbwittmer said!
diabeticgonewild
@diabeticgonewild
Oct 24 2016 20:12
And damnit, got a fraudulent charge on my debit card! It IS a fraudulent charge, for sure, as it's for a POS system in Australia. I would have NO use for an Australian POS system as I don't live in Australian and don't own a business.
Won't be able to deal with it until tomorrow.
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 20:23
I have set up a Heroku account, now do I create a new Database, dataclilp or element? The only reason I ask is because I started with DB and it wanted to charge me 50.00 a month
got it Bobby basic plan
oops Hobby basic plan that is
taylorfowler
@taylorfowler
Oct 24 2016 20:33
@tazitoo If you've got a minute on your hands, you can download this KiCAD program and download the board specs from here: https://github.com/EnhancedRadioDevices/915MHzEdisonExplorer
I think that should have exact measurements
(but not 100%)
fiberfan
@fiberfan
Oct 24 2016 20:37
@diabetic_dude_twitter The smoothest way to get NS running on Heroku is to use the deploy to Heroku button on the main page of your github clone of cgm-remote-monitor
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 20:38
ok trying that now thanks
diabeticgonewild
@diabeticgonewild
Oct 24 2016 20:41
I'm fighting to stay awake.
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 20:56
@fiberfan I can not find that darn button for the life of me.
taylorfowler
@taylorfowler
Oct 24 2016 20:58
blob
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 21:00
@taylorfowler geez! Thank you ( I can not believe I missed that not that I found it. ) sorry
taylorfowler
@taylorfowler
Oct 24 2016 21:00
:+1:
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 21:06
the API secret is made from scratch or do I pull it from somewhere?
is there another app that holds the API secret or am I generating it?
emsamom
@emsamom
Oct 24 2016 21:07
you are generating it
12 characters, no spaces
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 21:08
any other options that I should pay special attention to ?
I see most have defaults set
emsamom
@emsamom
Oct 24 2016 21:09
the options in ENABLE
It's all in the docs if you follow it
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 21:11
sorry, I have both the nightscout and the readthedoc open
emsamom
@emsamom
Oct 24 2016 21:12
I hear you - it's easy to get lost down the rabbit hole :)
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 21:15
and geez I thought I never would say this but what I am doing now would be so much easier in linux
bschrag620
@bschrag620
Oct 24 2016 21:36
Is it correct that there still isn't a way to use a 723 pump with
Is it correct that there still isn't a way to use a 723 pump with the 3.0 firmware update already installed?
Dana Lewis
@danamlewis
Oct 24 2016 21:37
does it have PC Connect as an option under Utilities->Connect devices?
bschrag620
@bschrag620
Oct 24 2016 21:37
Yes
Dana Lewis
@danamlewis
Oct 24 2016 21:37
then no, it will not work
you can read, but not write temp basal, so no looping possible
bschrag620
@bschrag620
Oct 24 2016 21:38
Gotcha.
emsamom
@emsamom
Oct 24 2016 21:46
@danamlewis I'm still figuring out what to do during the day. ... In usability considerations it recommends using the Nightscout targets to set temp targets.... doesn't this conflict with what we discussed earlier today?
Dana Lewis
@danamlewis
Oct 24 2016 21:47
nope. temp targets are entered via care portal for a period of time (i.e. one hour)
they’d override what’s in the pump for that time period, until it expires or unless you cancel
but that’s different than the targets in general in your NS profile
Paul Martin
@Spazholio
Oct 24 2016 21:50
@danamlewis I have what may be considered a VERY boneheaded question this late in the game. The targets that OpenAPS shoots for - does it use what I have in the pump, or what I have set in NS? I feel like I should absolutely know this, but I’ve forgotten...
Dana Lewis
@danamlewis
Oct 24 2016 21:50
It’s what’s in the pump
Paul Martin
@Spazholio
Oct 24 2016 21:52
Ok, good. Because that’s what I thought it was. My NS is a MUCH larger range than what’s in my pump. I mean, technically it would have to, since there’s no range in my pump. =)
emsamom
@emsamom
Oct 24 2016 21:55
@danamlewis I think I get it. So if I enter a huge temp target via care portal, say for 12 hours from 9AM to 9PM, it would override anything openaps would do during that time, effectively shutting off the loop? Would there be issues with the fact that my pump wouldn't be in range of the pi during this time?
Dana Lewis
@danamlewis
Oct 24 2016 21:59
If you ever walk out of range, you don’t need to do anything (other than you know you need to be in manual mode because not looping). It Just Works when you walk back into range.
To shut off the loop, you can shut down your Pi, or go out of range of it (i.e. leave it at home)
Temp targets are more for activity mode, or eating soon mode, or sick day, etc.
emsamom
@emsamom
Oct 24 2016 22:01
awesome, thanks!
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 22:03
I am sorry for the stupid question but in the openaps readthedocs it says "Next, on your Nightscout website, go to the Settings" in the nightscout set up section
what is my nightscout website? the Heroku site?
Paul Martin
@Spazholio
Oct 24 2016 22:06
Correct.
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 22:15
I am not able to find the list of plugins at all, but under settings, config variables I do see "enable openaps pump careportal"
emsamom
@emsamom
Oct 24 2016 22:21
the config variable is ENABLE
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 22:23
right, so I see the option in the code
just not able to get past this one friggin spot
emsamom
@emsamom
Oct 24 2016 22:24
the parameters you want will vary - see the full list http://www.nightscout.info/wiki/nightscout-jump-links
in Heroku, find the ENABLE setting, the click the pencil to edit, and change the values
mine looks like this:
Screen Shot 2016-10-24 at 6.25.09 PM.png
bridge careportal iob basal cob openaps pump bwp
are you looking on the heroku setup?
https://dashboard.heroku.com/apps/<YOUR AP NAME>/settings
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 22:27
yes and I modified mine to look a bit like yours
emsamom
@emsamom
Oct 24 2016 22:27
then refresh the nightscout page
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 22:27
but what does cob stand for just asking
Scott Leibrand
@scottleibrand
Oct 24 2016 22:27
carbs on board
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 22:28
sweet soo awesome, thanks for your help, I am getting sick and a pump malfunction last night blah blah blah
I am not all here today but really would like to get this going because in the long run (and short ) it will help.
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 22:34
one more question, how do I create a profile in my Heroku site that contains the Timezone, Duration of Insulin Activity (DIA), Insulin to carb ratio (I:C), Insulin Sensitivity Factor (ISF), Carbs Activity / Absorption rate, Basal Rates and Target BG range.
is that done on the same settings page settings config Vars ????
emsamom
@emsamom
Oct 24 2016 22:40
click on the bars in the top right to get to settings, then click on profile editor
Screen Shot 2016-10-24 at 6.40.00 PM.png
that needs to be done from the running nightscout page (front end)
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 22:41
OH that looks like the mlab site
that is the mlab site correct? and I missed most of that set up, I created the log in and did all of that but then left an set up the heroku account
then deployed my infor from git to heroku
Diabetic_Dude
@diabetic_dude_twitter
Oct 24 2016 22:47
but I am sure i need to link mlab and heroku now then go back to where I am in the instructions
dougtakeuti
@dougtakeuti
Oct 24 2016 22:51
Hey @scottleibrand I'm not sure if you saw my post earlier on today, so I'm reposting just in case. My .git directory continues to grow so that I've had to repeat the procedure you taught me. However, this time the problem seems to be in a different place. I wonder if you could please shine some light on this?
edison@juba:~$ cd /. && sudo du -xh -d 3 | egrep "[0-9][0-9][0-9]M|[0-9]G"
289M    ./usr/share
287M    ./usr/lib
703M    ./usr
117M    ./root
110M    ./var/log
191M    ./var/cache/apt
194M    ./var/cache
384M    ./var
1.3G    .
edison@juba:/$ df -h
Filesystem       Size  Used Avail Use% Mounted on
/dev/root        1.4G  1.3G   32M  98% /
devtmpfs         480M     0  480M   0% /dev
tmpfs             97M  316K   96M   1% /run
tmpfs            5.0M     0  5.0M   0% /run/lock
tmpfs            193M     0  193M   0% /run/shm
tmpfs            481M   20K  481M   1% /tmp
/dev/mmcblk0p7    32M  5.3M   27M  17% /boot
/dev/mmcblk0p10  1.3G  230M  1.1G  18% /home
edison@juba:/$ cd /home && sudo du -xh -d 3 | egrep "[0-9][0-9][0-9]M|[0-9]G"
118M    ./edison/src/decocare
157M    ./edison/src
228M    ./edison
228M    .
Scott Leibrand
@scottleibrand
Oct 24 2016 22:56
looks like you installed decodare from src. you could delete the src/decocare directory to free up that 118M...
but you'll need to make sure it's installed from packages
emsamom
@emsamom
Oct 24 2016 22:56
@diabetic_dude_twitter my screenshot is the running nightscout site
Scott Leibrand
@scottleibrand
Oct 24 2016 22:56
@dougtakeuti you might also be able to clean up your apt cache
@dougtakeuti the other think you could do is move some stuff like /var/log over to /home and symlink it
something like cd /var/ && mv /var/log/ /home/log/ && ln -s /home/log
but of course that means you have less space for .git in your home dir
we need to figure out if there's any git gc type stuff that we can run programmatically to keep .git from growing too big
dougtakeuti
@dougtakeuti
Oct 24 2016 23:01
Don't I need to worry about /dev/root 1.4G 1.3G 32M 98% /?
Scott Leibrand
@scottleibrand
Oct 24 2016 23:02
yeah, your root partition is almost full, so we need to free up space there
that's where /var/log etc are
not sure what's in /root, if you're logging in as edison
dougtakeuti
@dougtakeuti
Oct 24 2016 23:10
ok, so do I log in as root then?
Scott Leibrand
@scottleibrand
Oct 24 2016 23:11
not necessarily
I'm just wondering what's in your /root partition if you always log in as edison
you might have to sudo bash to cd there and ls -larS to see
dougtakeuti
@dougtakeuti
Oct 24 2016 23:14
root@juba:/home/edison# ls -larS
total 72
-rw-r--r--   1 edison users     0 Oct 13 12:49 kern.log
-rw-r--r--   1 edison users    55 Apr 24  2016 .gitconfig
-rw-r--r--   1 edison users    66 Apr 26 23:56 .selected_editor
-rw-------   1 edison users   281 Oct 23 21:03 .nano_history
drwxr-xr-x   8 edison users  4096 Oct  8 10:25 src
drwxr-xr-x   5 edison users  4096 May 14 10:10 openaps-sh
drwxr-xr-x   9 edison users  4096 Oct 24 07:03 myopenaps
drwxr-xr-x   7 edison users  4096 Sep 27 00:30 mmeowlink-source
drwxr-xr-x   7 edison users  4096 Oct 13 07:02 ju
drwxr-xr-x   4 root   root   4096 Dec 31  1999 ..
drwxr-xr-x   8 edison users  4096 Oct 13 12:49 .
-rw-------   1 edison users 10010 Oct 24 11:43 .bash_history
drwxr-xr-x 184 edison users 20480 Sep 26 21:40 .npm
Scott Leibrand
@scottleibrand
Oct 24 2016 23:14
that's /home/edison, not /root
might try a cd /root && sudo du -xh -d 3 | egrep "[0-9][0-9]M|[0-9]G" too
dougtakeuti
@dougtakeuti
Oct 24 2016 23:18
root@juba:~# sudo du -xh -d 3 | egrep "[0-9][0-9]M|[0-9]G"
11M     ./swig-3.0.5/Examples/test-suite
20M     ./swig-3.0.5/Examples
11M     ./swig-3.0.5/Source/Modules
20M     ./swig-3.0.5/Source
60M     ./swig-3.0.5
13M     ./bluez-5.28/tools
45M     ./bluez-5.28
117M    .
Scott Leibrand
@scottleibrand
Oct 24 2016 23:18
ah. we could probably clean those up
maybe should have oref0-setup delete them when it's done...
dougtakeuti
@dougtakeuti
Oct 24 2016 23:20
but where's the 1.3 G?
Scott Leibrand
@scottleibrand
Oct 24 2016 23:20
that's everything in /
edison@juba:~$ cd /. && sudo du -xh -d 3 | egrep "[0-9][0-9][0-9]M|[0-9]G"
289M    ./usr/share
287M    ./usr/lib
703M    ./usr
117M    ./root
110M    ./var/log
191M    ./var/cache/apt
194M    ./var/cache
384M    ./var
1.3G    .
emsamom
@emsamom
Oct 24 2016 23:20
Is there a reason OTHER than the suggested temp basal matching the current basal that openaps would choose not to enact the suggestion?
Scott Leibrand
@scottleibrand
Oct 24 2016 23:21
that is not a valid reason for rejecting it
most common reason is you have the pump in percentage mode instead of absolute
or you haven't primed yet, or are suspended or bolusing
@dougtakeuti so of your 1.3G in /, 400M is in /var, 120M is in /root, and 700M is in /usr
dougtakeuti
@dougtakeuti
Oct 24 2016 23:23
Ok, get it, sorry for being so thick...
So I have to clean up all sort of unnecessary bits such as those you mentioned. Is there a way to figure out what can be safely deleted?
Scott Leibrand
@scottleibrand
Oct 24 2016 23:33
try it and see if anything breaks? ;-)
dougtakeuti
@dougtakeuti
Oct 24 2016 23:33
ok then :+1:
Scott Leibrand
@scottleibrand
Oct 24 2016 23:34
dougtakeuti
@dougtakeuti
Oct 24 2016 23:35
:laughing:
Paul Martin
@Spazholio
Oct 24 2016 23:37
:thumbsup:
Scott Leibrand
@scottleibrand
Oct 24 2016 23:38
@dougtakeuti more seriously, someone here will probably know what's necessary vs. not
dougtakeuti
@dougtakeuti
Oct 24 2016 23:39
ok, that ./swig-3.0.5/Examples folder for instance?
Scott Leibrand
@scottleibrand
Oct 24 2016 23:40
swig was a dependency for libmraa. I think that's just an install folder you don't need any longer
another thing you can do is mv things to /tmp/
and then if nothing breaks and you don't have to mv it back, it'll get deleted on next reboot
or just re-run oref0-setup usually works if something does break and you didn't save a copy
dougtakeuti
@dougtakeuti
Oct 24 2016 23:41
Ok, thanks a lot for the hints!
emsamom
@emsamom
Oct 24 2016 23:46
@scottleibrand thank you! I missed the %/absolute mode along the way.
I finally got the enacted temp rate I've been waiting for!
Screen Shot 2016-10-24 at 7.48.20 PM.png
Dana Lewis
@danamlewis
Oct 24 2016 23:49
:confetti_ball: