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

18th
Aug 2015
diabeticgonewild
@diabeticgonewild
Aug 18 2015 00:57
Updating the walkthrough is going to take more time than I thought...
diabeticgonewild
@diabeticgonewild
Aug 18 2015 01:33
And I am starting to get lazy on the writeup. Maybe I should get distracted doing openaps-js install for awhile....
diabeticgonewild
@diabeticgonewild
Aug 18 2015 01:57
Tell me if this is a crazy idea. I never got the logistics ironed out of this, but it is a design idea and could eliminate carb counting. I thought about it literally like a week before I came across autoimmune autonomic ganglionopathy and I was really sick.
So what if we had bowls and plates (and even measuring spoons and cups and serving spoons) that were Bluetooth enabled and also had embedded scales on them and RFID readers.
The food would come with an RFID tag and when using a utensil, the weight and the identity of the food would be transferred via the RFID data information about the food (such as watermelon nutrition information) via Bluetooth to the plate.
Dana Lewis
@danamlewis
Aug 18 2015 02:02
Have you heard of vessyl? It's a smart cup that supposedly measures carbs calories etc of beverages. However it's not out yet so haven't been able to verify how well it works.
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:03
And there would be an electrical reaction on the plate (just current passing through the foods-a small amount) to map out which food was which on the plate and when you removed a piece from your plate. And using a fork with a scale plus the boundaries and the RFID info transferred it would update how many carbs you have consumed
Dana Lewis
@danamlewis
Aug 18 2015 02:03
But same basic idea of automatic sensing, not sure if there's any products being piloted for food
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:04
There's like a bar tending scale thing that they sell at brook stone. It's junky though
Could be extended to other nutritional uses such as diets.
Vessyl has been in prototype for years
But yeah Walmart has used RFIDs on items it sells to collect data for years. Too bad it hasn't been extended to nutritional information
Personal area network
Sometimes I get absolutely brilliant ideas though right before I get really physically sick. But let me find that thing...
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:11
Yeah I have seen that before. See if there was just a standard digital way of dealing with nutritional information in a dumbed down unobtrusive way we would be so much better off.
The problem with this idea is that it is so proprietary and that's what breaks ideas like this. Like the need for special plates.
Ben West
@bewest
Aug 18 2015 02:12
most of the labels can be scanned/read automatically
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:12
This would be like a perfect senior design project.
Ben West
@bewest
Aug 18 2015 02:12
but some basic logging would go long way
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:12
That takes time.
Ben West
@bewest
Aug 18 2015 02:12
have you seen meals/nutshell?
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:12
No
Something embedded as a standard, with nutritional information that is cost effective. Digitized print does not mean accessible nutritional information
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:13
Integration and making use of that data without added steps is what we need, in a standardized way
Chris Hannemann
@channemann
Aug 18 2015 02:14
I'm stoked for Nutshell + Sonar
Ben West
@bewest
Aug 18 2015 02:14
right, but adding bluetooth to my plates and stuff seems hard
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:14
Oh yeah I remember seeing that on my Twitter feed
Ben West
@bewest
Aug 18 2015 02:14
have to get them all networked and whatnot
getting more info is good idea
trick is how to do it
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:14
That's because it's a prototype design, like OpenAPS
Ben West
@bewest
Aug 18 2015 02:15
lot of packaged foods have labels, and the info there is often not used as effectively as it could be
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:15
If food manufacturers had RFIDs on a standard place on their packages it would be awesome
Exactly, even in digital it's all analog
Ben West
@bewest
Aug 18 2015 02:16
scanning the nutritional, you can do OCR on it, is what I'm saying
so you could actually parse that info out
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:16
Cause it can only be processed in analog=human
Ben West
@bewest
Aug 18 2015 02:16
most of the labeling is OCR'able
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:16
Human=analog
Chris Hannemann
@channemann
Aug 18 2015 02:17
You'll run into the same issue with most of these products/ideas: it's a reasonably high barrier to using them enough to make a difference.
Ben West
@bewest
Aug 18 2015 02:17
right
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:17
Take out the human element of the unnatural computation of nutritional stats. And leave in the natural parts of eating, like the social aspects.
Chris Hannemann
@channemann
Aug 18 2015 02:17
Using the same cup / fork / plate isn't particularly feasible
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:17
3D printing makes it almost tangible
Chris Hannemann
@channemann
Aug 18 2015 02:18
As much as I'd love to roll out my own place setting at restaurants ;-)
Ben West
@bewest
Aug 18 2015 02:18
people get pretty picky about things like china
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:18
If you could just get a standardized way to process the nutritional info that is unobtrusive
Then the rest could be figured out
Take out the human element.
In Japan they have an app in the Apple App Store where you can take a photo of your food and it gives the nutritional stats, but that is still processing digital back to analog
Leaving in the human element which isn't that effective
Chris Hannemann
@channemann
Aug 18 2015 02:20
Meal Snap
Had that here for a while; it used Amazon's Mechanical Turk, I believe
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:21
Yeah they were paying people
Wolfram alpha is very close to closing in on photos and nutritional info very well
You can put a photo into its engine and it can identify what is in it using artificial intelligence
But that still is unnatural
I want something embedded
And natural. And makes the best use out of the data possible.
Ben West
@bewest
Aug 18 2015 02:23
one of the better ideas I've heard from this is from tim o'reilly
who suggested the toilet should do this job
it's got access to all the info
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:25
This is the Japanese app that uses AI to identify nutritional info http://www.foodlog.jp
That doesn't make use of nutritional info in real time and that is more on a macronutrient scale
Chris Hannemann
@channemann
Aug 18 2015 02:25
+1 @bewest
Ben West
@bewest
Aug 18 2015 02:26
but it depends on the human to do what humans do
Chris Hannemann
@channemann
Aug 18 2015 02:26
Now where is the poop emoji in gitter ...
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:26
The AI wouldn't work well on like gummy bears or ice cream
Ben West
@bewest
Aug 18 2015 02:26
gummy bears have a nice label
and once it knows that label is attached to something like that
it can use machine learning to permanently associate the two
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:26
I have suspected inflammatory bowel disease so I'm reluctant on the toilet thing. I get a lot of gut cramping and pain.
Not with mapping things on an x-y plane
Ben West
@bewest
Aug 18 2015 02:27
it'd be a different kind of information
if human is in charge of dosing insulin, there's going to be some engagement on carbs and things
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:28
True but you are still converting analog to digital back to analog for processing
Analog (pile of food) to digital (photo to count carbs) to analog (digitized text that is a carb count)
There can be better done than that
Ben West
@bewest
Aug 18 2015 02:29
design is all about balancing tradeoff
you have to trade what you want people to do for what you want to do for them
it's an interesting thought experiment, given that we have a smart-utensil
what it might be like to use plates and forks and things like that
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:30
The problem conceptually is going back and forth from analog to digital to analog unnecessarily and not make appropriate use of the data because a human can only process so many BITS (literally) of information
Ben West
@bewest
Aug 18 2015 02:30
what that might entail over lifetime of use
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:31
Even if you are taking photos of food, the standard nutrition label entails
Ben West
@bewest
Aug 18 2015 02:31
taking photo with smartphone/device
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:31
And has its ever presence in pseudo digital
Which is to be reprocessed as analog
Ben West
@bewest
Aug 18 2015 02:32
vs what does requiring a plate entail?
I'm actually not terribly attached to idea of taking pictures
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:33
Keeping it all digital, no loss, no added steps, more precise analysis and data on a large scale
Ben West
@bewest
Aug 18 2015 02:33
means you need a plate though... every time you eat?
has to be the same plate?
all of a sudden there's certain things about that set of design choices that starts to have consequences, right?
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:33
And perhaps a more standardized nutritional system
Ben West
@bewest
Aug 18 2015 02:34
we actually have a very regimented, standardized system
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:34
Not necessarily. Remember this is just prototype. There are ways of adapting it they haven't come to mind yet
But it hasn't evolved to the digital world or to the IoT
And humans can't process much of that info
Efficiently or effectively
Ben West
@bewest
Aug 18 2015 02:36
it's hard to brainstorm about things that haven't come to mind yet
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:36
I have ideas....
Well to think about it. The IoT for food could be extremely fun.
Even healthy fun. Like Pandora style recommendation engines for food based on X Y Z
Things that could extend well beyond the black and white analog nutrition facts label or the nutrition pyramid that is rigid
Ben West
@bewest
Aug 18 2015 02:39
the two current ways I can think of to get nutrional information are from databases, the food labels, and perhaps self-reported guesses
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:39
But yeah crazy ramble. Crazy idea. But this one was from ages ago. Engineering will make you pretty creative actually.
Ben West
@bewest
Aug 18 2015 02:39
three
or maybe two and a half
diabeticgonewild
@diabeticgonewild
Aug 18 2015 02:39
Hahaha!
Frank Best
@efbest
Aug 18 2015 06:52
Take a look at [this
Frank Best
@efbest
Aug 18 2015 06:58
I don't know how copy/paste works. Ask Google for 'Peter Diem' and 'Computer Vision-based carbohydrate estimation for Type 1 diabetics'!
diabeticgonewild
@diabeticgonewild
Aug 18 2015 10:18
That's cool!
My very rare autoimmune autonomic ganglionopathy/neuropathy is putting me through hell right now. I knew when I heard the high pitched ringing in my ears (a warning signal) last night that it was going to be bad. It started off with extremely uncomfortable palpitations and rhythmic fluttering of my heart. Now I can't stand up at all without losing my vision, hearing, and of course concentration. I don't know what caused it either but it's devastating. If I could lie in bed all day I would but I have obligations today believe it or not. At least I get intravenous immunoglobulin on Wednesday. That should help...heart just prematurely contracted...again.damnit
diabeticgonewild
@diabeticgonewild
Aug 18 2015 10:27
This sucks!
Taking medicine to raise my blood pressure....whenever it kicks in. Damn gastroparesis
diabeticgonewild
@diabeticgonewild
Aug 18 2015 11:09
I seriously just almost passed out from low blood pressure from just getting out of my bed to say good morning to my mom. Heart rate is ridiculously high. "Good morning!"
Scott Leibrand
@scottleibrand
Aug 18 2015 13:09
Hang in there! Hope the drugs kick in soon and help.
diabeticgonewild
@diabeticgonewild
Aug 18 2015 13:10
They kicked in. It makes my scalp tingle so I'm good now. Thanks.
diabeticgonewild
@diabeticgonewild
Aug 18 2015 14:06
Went blind due to a lack of blood flow to my eyes even after taking medicine to raise my blood pressure. Also nothing like gasping for air and heart palpitating and having to lie down to recover. Just going to be a bad day. Also have to drive to the hospital pharmacy soon....yay
Oliver Schumacher
@oschumac
Aug 18 2015 17:48
@bewest I need some help with openaps. Is it possible to get glykose data from nightscout via openaps?
Ben West
@bewest
Aug 18 2015 17:48
yes, with some modifications/plugin
for that I would make a bash script that uses nightscout rest api
then tell openaps to use the bash script as a "device" using the process/shell type
so in bash script curl -s mynightscout/api/v1/entries.json?count=10 or something similar
then add it to openaps as nightscout device with the "process" type
Scott Leibrand
@scottleibrand
Aug 18 2015 18:52
I currently have a version of share2 bridge pulling data from Dexcom's servers into openaps, fwiw.
Chris Hannemann
@channemann
Aug 18 2015 19:03
@scottleibrand does your version backfill if it misses a datapoint? Specifically, if for whatever reason you aren't uploading to the Share server (receiver out of range from phone, for example), but then you restart, does the bridge backfill your data into openaps?
diabeticgonewild
@diabeticgonewild
Aug 18 2015 20:31
I think he has a bash shell script that defaults to the offline openaps uploader when offline. I'm not on top of this though
I think I am going to take some drugs and check out for the day. It's a bad day for me. Autonomic nervous system is acting up. Pupils are absolutely humongous. This was taken an hour ago when I was picking up medicine from the hospital pharmacy... http://i.imgur.com/8aT0KPn.jpg
FWIW this is what I have been working on. This needs its own separate guide legitimately. https://github.com/diabeticgonewild/docs/blob/master/Setup/AccessPointEdimax.md
Paul Andrel
@stavlor
Aug 18 2015 20:39
ooh hostapd fun
hope the rest of you day goes better
Scott Leibrand
@scottleibrand
Aug 18 2015 20:44
@channemann pretty sure you can configure share2nightscout to pull missing historical datapoints. I think the default is to not do very many of those. it hasn't been an issue for us, as Dana usually keeps her receiver nearby.
diabeticgonewild
@diabeticgonewild
Aug 18 2015 20:53
Thanks!
Dana Lewis
@danamlewis
Aug 18 2015 20:57
@scottleibrand Might could check logs and see how it did sun from flight with those missed data points. That's the most recent scenario I can think of.
Chris Hannemann
@channemann
Aug 18 2015 21:00
Thanks, @scottleibrand and @danamlewis. I have the issue with NS, but I think I simply need to set the maxCount variable to something besides 1.
diabeticgonewild
@diabeticgonewild
Aug 18 2015 21:06
Would you want to encrypt your data for any reason? I am thinking it would cause problems with configurations....
I'm trying not to mess around too much but I wonder if this feature is good or is too proactive sudo apt-get install cryptsetup dosfstools
Drugs still haven't kicked in yet...patiently waiting
As long as I drink plenty of fluids and take some downers and force myself to rest I think I should be alright
Before I was taking tincture of opium for a dehydrating gut problem I was drinking 4-8 liters (1-2 gallons of fluids) per day. Now it's like 2-3 liters. I have to drink a bunch of fluids and take in a ton of salt to keep my blood pressure up....
diabeticgonewild
@diabeticgonewild
Aug 18 2015 21:11
I drank like that for years, until it backfired.
timomer
@timomer
Aug 18 2015 21:12
To add to the chat earlier about an app that can tell you whats in your food, check this out http://tellspec.com/
They did a crowd funding campaign a few years back, I invested in a device - should have it in a few months
diabeticgonewild
@diabeticgonewild
Aug 18 2015 21:27
@timomer that is super awesome technology!
diabeticgonewild
@diabeticgonewild
Aug 18 2015 22:57
Drugs/meds/whatever is kicking in. Also called the NIH Genetic and Rare Diseases hotline today which is staffed by information specialists. They are going to email me a couple of journal articles that I can't get. I'm super excited! Anyone in the world can contact them and they will help out. Tax dollars at work. But it is good cause my autoimmune autonomic ganglionopathy/neuropathy has no FDA approved treatments and it never will so if somebody were to face insurance roadblocks they could get peer reviewed journal articles from them which is very very important for appeals. https://rarediseases.info.nih.gov/gard/contact-gard
Ben West
@bewest
Aug 18 2015 23:14
@diabeticgonewild you might try something like this, going forward: https://gist.github.com/bewest/1d0ac7e5016fa47cde3a
turns the whole thing into a single step: curl -s https://gist.githubusercontent.com/bewest/1d0ac7e5016fa47cde3a/raw/c57f1eb26428464438ec8dfc1cbaaf44664343df/setup_rpi_hostapd.sh | sudo bash
diabeticgonewild
@diabeticgonewild
Aug 18 2015 23:15
Awesome! thank you so much for the recommendation and tip!