These are chat archives for nightscout/beta

21st
Mar 2015
Jason Calabrese
@jasoncalabrese
Mar 21 2015 02:07
Seems like a waste of a request to get the server time like they do, why not just look at the headers
Kevin Lee
@ktind
Mar 21 2015 02:10
It needs a ref at the time of the download.
Guess it could call the difference at the login
Calc
Not call
Not sure how long the session is valid
But it really should get that ref point with every download of the receiver
Jim Sifferle
@jimsiff
Mar 21 2015 04:17
@bewest I'm looking at the wip/heroku branch of share2nightscout-bridge.
Is it functional at this point? I don't have a Share receiver to test with, but I have a local family that wants to give it a try.
They're applying for an Azure Pass, but I'm considering Heroku as a long-term option if it's generally reliable.
Jim Sifferle
@jimsiff
Mar 21 2015 04:37
I notice the mongolab:sandbox add-on is still listed in the app.json. Is that necessary for the sidecar or just a leftover from the Nightscout app.json?
Ben West
@bewest
Mar 21 2015 05:54
I suspect it's not needed in the sidecar
@jimsiff yeah, give it a try please
Jim Sifferle
@jimsiff
Mar 21 2015 05:55
I have credentials and permissions... I will look at deploying an uploaderless Nightscout instance using a pair of Heroku apps. Add it as a lab if it works out.
Ben West
@bewest
Mar 21 2015 05:56
yeah, someone sent me the patch; I wrote them back asking how many people had tried it etc
if you get it independently working, that's great evidence to merge it
Jim Sifferle
@jimsiff
Mar 21 2015 05:56
ok
Ben West
@bewest
Mar 21 2015 05:56
in future I suspect we will integrate this directly into the webapp
feels like it's a pretty popular feature
Jim Sifferle
@jimsiff
Mar 21 2015 05:57
I have a local family I support who have a teenage T1 daughter. They're an iPhone family but don't want to give up their Pebbles.
Ben West
@bewest
Mar 21 2015 05:57
yeah, that's the use case
Jim Sifferle
@jimsiff
Mar 21 2015 05:58
Their daughter wants to lose the rig... and I don't think they use raw.
seems like a good fit
Ben West
@bewest
Mar 21 2015 05:58
yeah, don't blame her
I just use a simple rubber band, lol
I drop it on the floor and everything
it's fine
Jim Sifferle
@jimsiff
Mar 21 2015 05:58
it's also a friendly way to bridge the gap between what a "Share" user is and what a "Nightscout" user is. Why not both?
lol
Ben West
@bewest
Mar 21 2015 05:59
why not both
why choose?
Jim Sifferle
@jimsiff
Mar 21 2015 05:59
yeah
Ben West
@bewest
Mar 21 2015 05:59
why let some vendor tell you what you can do with what you own
Jim Sifferle
@jimsiff
Mar 21 2015 05:59
exactly
Ben West
@bewest
Mar 21 2015 05:59
or why let some vendor tell you what to do/how to spend your time
hehe
Jim Sifferle
@jimsiff
Mar 21 2015 06:00
lol
I think @StephenBlackWasAlreadyTaken mentioned possibly talking with Dexcom about their thoughts on importing xDrip data.
Part of me thinks they'd say no, but why? It's more BG data... it would likely be tagged as xDrip... storage is cheap
Ben West
@bewest
Mar 21 2015 06:00
would be good if we could pair up for android support
Jim Sifferle
@jimsiff
Mar 21 2015 06:00
yeah
Ben West
@bewest
Mar 21 2015 06:01
parley that into them supporting us with FDA
Jim Sifferle
@jimsiff
Mar 21 2015 06:01
they seem to do well with the FDA
Ben West
@bewest
Mar 21 2015 06:02
well they've spent ton of money lobbying and working with them for decade now
I've been studying their last approval for share2 like crazy
they had to have partnered to make that work
very frustrating no one will partner with us in that way
they basically said "does not apply" for like 2/3rds of a normal application
Jim Sifferle
@jimsiff
Mar 21 2015 06:09
wow...
It's a lot of work to go from startup mode to market leader in 10 years
Ben West
@bewest
Mar 21 2015 06:10
not that hard given the market
there was only one real competitor
Jim Sifferle
@jimsiff
Mar 21 2015 06:10
that's fair
Ben West
@bewest
Mar 21 2015 06:10
and it sucked
Jim Sifferle
@jimsiff
Mar 21 2015 06:11
yeah, I remember hearing stories about the early cgms like the clinical ones with no real-time display
Jim Sifferle
@jimsiff
Mar 21 2015 07:40
seems to work fine.
I've been tweaking the deploy button a little...
will send a pr
Sulka Haro
@sulkaharo
Mar 21 2015 09:23
Running latest dev on an instance against our live data and it's working great across all devices I'm testing it on (iPhone 6 / iPad / desktop Safari).
Oh and this is deployed on Heroku. Can't stand the Azure management interface after starting to use Heroku :D
Jim Sifferle
@jimsiff
Mar 21 2015 09:26
Heroku is really easy.
Sulka Haro
@sulkaharo
Mar 21 2015 09:31
Yes
The command line tools are also awesome. One-liner to fork an existing app to duplicate the config for testing a branch...
Jim Sifferle
@jimsiff
Mar 21 2015 09:34
yep the CLI tool belt is handy
Sulka Haro
@sulkaharo
Mar 21 2015 13:45
Ok practical experience today on sporadic 3G connection: the MQTT version updates a bit different from the old one, where it's more likely to hang for a while and show an old IVG value. Does it cache data locally?
Sulka Haro
@sulkaharo
Mar 21 2015 14:05
Sigh. Another pump broken. Got a replacement after a motor error occurred and the up arrow button broke in a week. :(
Jason Calabrese
@jasoncalabrese
Mar 21 2015 15:16
Cloud mqtt does do some caching
Sulka Haro
@sulkaharo
Mar 21 2015 16:18
Yup, does look like the MQTT build has a lot more occasions where after opening the page on the phone, I need to wait and see if it updates more data. Have gotten load sequences were I first see very old data which updates to more recent data, which updates to freshest data a few seconds later. The old build was pretty explicit in what data I was seeing at any time.
Ben West
@bewest
Mar 21 2015 21:28
@sulkaharo that doesn't sound related to mqtt actually
Sulka Haro
@sulkaharo
Mar 21 2015 21:37
@bewest oh ok. I tested using a very recent dev deployed just before MQTT was merged and the most recent dev.
Ben West
@bewest
Mar 21 2015 21:37
the server receives messages from mqtt when the mqtt server pushes them from android into the server
from there the messages get stored in mongo
the basic design of the server/web-client relationship is still based on the same polling mechanism
we've been discussing ways to remove that
I mean, still have it, but not rely on it for getting fresh data to clients
Sulka Haro
@sulkaharo
Mar 21 2015 21:39
Right.