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

24th
May 2017
Paul Dickens
@thebookins
May 24 2017 00:07 UTC
@danamlewis "lookout" was just the name of the branch. Was thinking of turning Loop into an OpenAPS oberservation/feedback app, hence the name "lookout"
Dana Lewis
@danamlewis
May 24 2017 00:09 UTC
Ahh, I see - totally missed any naming around it
Martin Haeberli
@mhaeberli
May 24 2017 00:09 UTC
@thebookins :clap: :+1: look forward to just what you’re doing!
Scott Leibrand
@scottleibrand
May 24 2017 00:17 UTC
@Bender1061 I think I'm over-specifying things. Whatever you think would be clearest and easiest to maintain. That could be what you already have if you prefer.
John Benjamin
@Bender1061
May 24 2017 00:21 UTC
I have a pretty good idea, I'm going to test it in a min
David
@davidkeddydb
May 24 2017 00:46 UTC
@danamlewis Definitely one thing at a time.
Paul Dickens
@thebookins
May 24 2017 00:59 UTC
@mhaeberli :+1: there's a bunch of people working towards the same goal I believe. Would be great to have local looping, local control.
Evan Strat
@evan10s
May 24 2017 01:23 UTC
I'm new here, but curious: I have a t:slim X2. Has there been any work towards "getting in" to the pump to investigate either getting data out or making it set a temp basal? I know that with it being a newer pump, it's probably much more locked in, but can't hurt to ask.
Dana Lewis
@danamlewis
May 24 2017 02:05 UTC
Hey @evan10s - don't think anyone's had any success with tslim
Evan Strat
@evan10s
May 24 2017 02:07 UTC
OK, well at least Tandem can update the software. I'm excited about the possibilities but here's hoping Tandem actually makes it happen...
diy-aps
@diy-aps
May 24 2017 02:12 UTC
a couple things regarding setting up the bluetooth PAN... Firstly does the t-mobile variant of the s7 edge (SM-G935T) have the ability to bluetooth tether? cant seem to find it in the settings, although I do see the options for Mobile HotSpot and USB tethering...
Secondly, when following the instructions for [Bluetooth tethering] (https://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-4/bluetooth-tethering-edison.html) everything seems fine until I try to establish a Bluetooth Network connection with my phone:
'''
pi@raspberrypi:~$ sudo bt-pan client 88:83:22:1A:B7:1E
Traceback (most recent call last):
File "/usr/local/bin/bt-pan", line 228, in <module>
if name == 'main': sys.exit(main())
File "/usr/local/bin/bt-pan", line 196, in main
try: iface = net.Connect(opts.uuid)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in call
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.bluez.Error.NotSupported: Operation is not supported
'''
Any ideas? Also, does it make a difference for the above if I'm using the rpi3 with carelink instead of the edison?
Thank you all so much!
also I'm pretty new to gitter so sorry for not knowing how to properly format
Martin Haeberli
@mhaeberli
May 24 2017 02:53 UTC
@scottleibrand
Starting oref0-online.
At Tue May 23 19:43:02 PDT 2017 my local IP is: 10.0.0.209
172.20.10.3

At Tue May 23 19:43:02 PDT 2017, my wifi network name is AirportNetwork, and my public IP is: 
Error, cycling networking 
Stopping networking (via systemctl): networking.service[ 1178.515948] wl_android_wifi_off in
[ 1178.528447] wifi_platform_set_power = 0
.
Starting networking (via systemctl): networking.service[ 1185.794541] 
[ 1185.794541] Dongle Host Driver, version 1.141.59 (r)
[ 1185.794541] Compiled in /home/robin/src/edison-linux-helper/edison-bcm43340 on Apr  4 2017 at 22:42:52
[ 1185.794727] wl_android_wifi_on in
[ 1185.826451] wifi_platform_set_power = 1
[ 1186.422578] F1 signature OK, socitype:0x1 chip:0xa94c rev:0x2 pkg:0x0
[ 1186.431547] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[ 1186.440962] dhdsdio_download_firmware: firmware path=/lib/firmware/fw_bcmdhd.bin, nvram path=/lib/firmware/bcmdhd.cal
[ 1186.578288] sdioh_request_buffer: [1] doing memory copy buf=f4f3b000, len=2037
[ 1186.589942] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 1186.759430] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 1186.770097] wifi_platform_get_mac_addr
[ 1186.777024] wifi_get_mac_addr_intel: unable to open /config/wifi/mac.txt
[ 1186.788848] Firmware up: op_mode=0x0015, MAC=90:b6:86:0c:52:39
[ 1186.819444] Firmware version = wl0: Aug 15 2014 15:09:17 version 6.20.190.2 (r497061) FWID 01-bb9bbd07
[ 1186.830952] dhd_preinit_ioctls wl ampdu_hostreorder failed -23
[ 1191.585841] wl_bss_connect_done succeeded with 88:ad:43:05:f8:88
[ 1191.795529] wl_bss_connect_done succeeded with 88:ad:43:05:f8:88
.
and getting new wlan0 IP

At Tue May 23 19:43:24 PDT 2017, my wifi network name is AirportNetwork, and my public IP is: 73.223.4.244
At Tue May 23 19:43:25 PDT 2017, my wifi network name is AirportNetwork, and my public IP is: 2600:0387:0006:0804:0000:0000:0000:0024
Finished oref0-online.
  • confirmed that the “space” in the network names has been removed - but it repeats this. when oref0-online is disabled in cron, no flaps, very low packet loss… so I’ll try to deconstruct again...
Martin Haeberli
@mhaeberli
May 24 2017 04:17 UTC
ok, so here’s a related question - oref0-online is linked to ../lib/node_modules/oref0/bin/oref0-online.sh and so is NOT using the one in src/oref0 - did I miss something?
in other words, ‘how do I install it correctly?’ - I had tried doing oref0-setup ...
Scott Leibrand
@scottleibrand
May 24 2017 04:18 UTC
npm run global-install from ~/src/oref0
Martin Haeberli
@mhaeberli
May 24 2017 04:18 UTC
thx thanks
then maybe re -run pref-setup?
Scott Leibrand
@scottleibrand
May 24 2017 04:19 UTC
not necessary if you just need to update oref0-online, but maybe useful if you want other stuff like oref1
Martin Haeberli
@mhaeberli
May 24 2017 04:47 UTC
ok thx - @scottleibrand fyi it looks like the npm run global-install using dev did the trick - so sorry for crying wolf all over ITB
so i’m trying to run again using oref0-runagain, but it seems to want to offer to re-install everything
Martin Haeberli
@mhaeberli
May 24 2017 05:04 UTC
ok - G4 was changed to G4-upload ..
Martin Haeberli
@mhaeberli
May 24 2017 07:15 UTC
anybody around? feed has been silent for a while !
Martin Haeberli
@mhaeberli
May 24 2017 07:49 UTC
@rsilvers129 are you around?
siriushex
@siriushex
May 24 2017 07:54 UTC
How to set oref1?
cd ~/src/oref0 && git checkout dev && git pull
npm run global-install
cd && ~/src/oref0/bin/oref0-setup.sh
what else ?
samihusseingit
@samihusseingit
May 24 2017 07:58 UTC
I hope oref1 will help with my sons night spikes which he almost always gets even if he has lots of IOB going into bed :)
will wait for it to finish :)
Tim Street
@tim2000s
May 24 2017 08:06 UTC
@diy-aps - It may depend on your carrier. BT Tethering is available in all versions of android, but if your carrier has not enabled it, you may not be able to.
Matthias
@ceben80
May 24 2017 09:14 UTC
Btw I'm using bt tethering overnight with mobil data switch off, it works :wink:
vladysdelaplace
@vladysdelaplace
May 24 2017 09:14 UTC
Hello.
Tim Street
@tim2000s
May 24 2017 10:02 UTC
@ceben80 On android, you can use bt tethering to share the wifi connection. On iPhone you can't. I use it all the time so I don't have to configure a bunch of webpage based sign in wifi connections on my rig.
Tim Street
@tim2000s
May 24 2017 10:20 UTC
Hi @increddibelly, existing Libre solutions include a Sony smartwatch 3 solution, the Limitter and Bluereader. As far as I'm aware, most people are using Dexcom in one form or another.
There have been discussions earlier in this chat about someone using a Libre so it might be worth searching through.
fidoman
@efidoman
May 24 2017 10:26 UTC
Originally, I successfully used the Libre with a rooted Sony smartwatch 3 and an android app called LibreAlarm which pushed the CGM data to NS. It worked OK, but was very clumsy to use with all the parts required and could not work offline. I was also not happy with the accuracy of the Libre sensor. Costs were high as well. I switched to the enlite sensors and have been much happier. It loops offline automatically and only a couple of devices to keep batteries / charged (the pump and the rig).
David Rimmer
@zjedr
May 24 2017 10:57 UTC
Is setting temp targets while offline working with oref1? I'm using set_temp_target.sh to create temptargets.json which looks correct, after next loop iteration temptargets.json is reset to [] but the info from it does not seem to be considered in the loop
fidoman
@efidoman
May 24 2017 11:00 UTC
I haven't tested setting temp targets while offline. I set them using either NS or my apple watch and ifttt so I don't think it would work since both of those require internet to work. I also setup an automatic temp target for M-F at 6:30am since I almost always eat breakfast around 7:30am and since my BG levels seem to want to rise in the early AM.
vladysdelaplace
@vladysdelaplace
May 24 2017 11:09 UTC
HELLO..Hox to past the picture in gitter, I have some problems with data. i want to show ; thank you
how
David Rimmer
@zjedr
May 24 2017 11:10 UTC
I'm not actually offline, rig is BT tethered to phone so it has internet. I'm using Hot Button on phone to create temp target, it looks like its been overwritten before processing, was working in oref0.
vladysdelaplace
@vladysdelaplace
May 24 2017 11:42 UTC
image.png
image.png
Matthias
@ceben80
May 24 2017 11:44 UTC
@vladysdelaplace don't post your NS URL in a public room,
vladysdelaplace
@vladysdelaplace
May 24 2017 11:44 UTC
image.png
Matthias
@ceben80
May 24 2017 11:44 UTC
but it's up to you
vladysdelaplace
@vladysdelaplace
May 24 2017 11:45 UTC
ITS NOT FULL URL
Matthias
@ceben80
May 24 2017 11:46 UTC
ok :wink:
vladysdelaplace
@vladysdelaplace
May 24 2017 11:48 UTC
image.png
image.png
I DELETE MY FULL DATA
and its still dont work
i make the nex mongodb once again too.;but pribleme come back after several days
and its not running
fidoman
@efidoman
May 24 2017 12:49 UTC
@zjedr - Temp targets are working for me fine using oref1 (microbolus enabled). However, I am not using bluetooth tethering.
Lynne Butts
@flutelynne_twitter
May 24 2017 13:16 UTC
@mhaeberli the oref0-runagain will list everything that you set up before, just asking for a confirmation. It will also ask to do cron, and ask to replace what you had before. Just read through and make sure it lists what you want.
David Rimmer
@zjedr
May 24 2017 13:22 UTC
Looks like its been broken, I can create temp target from NS and works as expected. Temp targets writing directly to settings/temptargets.json seems to be overwritten with [] before processing, I presume when NS fetch finds no valid temp target info.
Tim Street
@tim2000s
May 24 2017 14:24 UTC
@zjedr It's working as expected. If you want to use hot buttons you have to disable the temp target pull in NS-loop.
ejoe132
@ejoe132
May 24 2017 14:36 UTC
Can anyone guide me on getting autotune turned on to run closed loop? Been using it daily via putty and using a spreadsheet creating averages per hour to make changes for awhile and am liking the results but would like to make it run everynight automatically. When set up I added it but dont know how to enable it
Tim Street
@tim2000s
May 24 2017 14:37 UTC
@ejoe132 If you enabled Autotune then it already runs automatically every night. You'll find the output in {OpenAPS directory}/Autotune
rsilvers129
@rsilvers129
May 24 2017 14:37 UTC
@ejoe132 I think you just put autotune on the enable string in the runagain script.
How does one make a Nightscout widget for the lock screen of an iPhone?
Tim Street
@tim2000s
May 24 2017 14:38 UTC
When you ran oref0-setup, did you choose Y for Autotune @ejoe132 ?
ejoe132
@ejoe132
May 24 2017 14:40 UTC
@tim2000s Yes, I chose Y in the setup. Is that all that is required? And how can I see what it is doing? I believe what Ive been using to be its reccomendations but didnt know it may be using those
@tim2000s been using this string to get to the data I use but believed this was only based on 24 hours not the multiple weeks. tail -n 100 /var/log/openaps/autotune.log
Tim Street
@tim2000s
May 24 2017 14:57 UTC
If you selected y in setup, Autotune has run every night on your closed loop at 0005hrs
You can see it's output in {myopenaps}/Autotune/autotune_recommendations.log
rsilvers129
@rsilvers129
May 24 2017 15:08 UTC
@tim2000s thanks. Glimpse worked.
How can I purge autotune data? I have been testing the system without actually wearing the pump. I start wearing it tomorrow.
ejoe132
@ejoe132
May 24 2017 15:21 UTC
@tim2000s Ok, so I would type "/Autotune/autotune_recommendations.log" to see what its doing?
For the glimpse what IOS is required? I got the app but cant find how to add a lockscrren widget. Im on ios 9.3.5
Tim Street
@tim2000s
May 24 2017 15:28 UTC
For Autotune you'd just use 'less' on a that file.
Glimpse needs IOS 10
ejoe132
@ejoe132
May 24 2017 15:33 UTC
@tim2000s What do you mean by use "less"? And ok looks like I gotta get some memory and update the phone then
Tim Street
@tim2000s
May 24 2017 15:50 UTC
You're getting in to Linux commands to read the file, so it's worth having a quick Google.
Martin Haeberli
@mhaeberli
May 24 2017 15:53 UTC
@flutelynne_twitter :+1: thx
rsilvers129
@rsilvers129
May 24 2017 16:02 UTC
@ejoe132 to view a file on Linux you can use cat, more, or less.
less is the newfangled version of more.
David
@davidkeddydb
May 24 2017 16:27 UTC
@tim2000s Any idea why Glimpse won't show my OpenAPS pill though it is on my NS url?
Tim Street
@tim2000s
May 24 2017 16:31 UTC
You have to set pills as default using the SHOW_PLUGINS variable in Nightscout. You may also want to set THEME to default to colors
David
@davidkeddydb
May 24 2017 16:36 UTC
@tim2000s Thank you. I didn't have those set as defaults in plugins, but had them in ENABLE.
rsilvers129
@rsilvers129
May 24 2017 16:56 UTC
This is code for ITTT for site change. What do I use for insulin chage? {"enteredBy": "IFTTT-button", "eventType": "Site Change", "duration": 0, "secret": "your_hashed_api_goes_here!!!"}
ejoe132
@ejoe132
May 24 2017 17:36 UTC
@rsilvers129 yeah not real sure what all that means, more of a copy this string kinda user I guess
Dana Lewis
@danamlewis
May 24 2017 17:37 UTC
Check care portal or the API to see what kind of event types are already built, and you can sub in any that already exist easily
cameronrenwick
@cameronrenwick
May 24 2017 17:45 UTC
@rsilvers129 what do you mean by insulin change? (cartridge change?) I use the site change button with IFTTT so that every 72 hours I can just click the button and it's reflected in NS. I don't keep track of cartridges... when they're empty I reload and away we go. Is there something I"m missing?
reload meaning new cartridge, filled w insulin of course...
rsilvers129
@rsilvers129
May 24 2017 17:57 UTC
Site change is for SAGE. I want something that resets IAGE.
cameronrenwick
@cameronrenwick
May 24 2017 18:06 UTC
understood... just wondering tho what IAGE would actually measure. When you push the IFTTT button does that restart the age of the cartridge then?
also, SAGE, as is currently on NS measure hours/days since a new cgm sensor inserted. CAGE measures canula age
ejoe132
@ejoe132
May 24 2017 18:11 UTC
How do I setup my defaults for ns so using glimpse I get all pills and basal rendering? Looking on heroku under config vars i dont see a default box?
Tim Street
@tim2000s
May 24 2017 18:25 UTC
@ejoe132 please read back through the channel. That was answered recently.
rsilvers129
@rsilvers129
May 24 2017 18:32 UTC
Sorry. Not SAGE. There is a site age. Is there also an insulin age?
ejoe132
@ejoe132
May 24 2017 18:37 UTC
@tim2000s ok got that, is there a command line for rendering basal? got my pills but not the rendering
Tim Street
@tim2000s
May 24 2017 18:44 UTC
It's in the Nightscout docs somewhere. I can't remember off the top of my head.
Martin Haeberli
@mhaeberli
May 24 2017 18:48 UTC
@ejoe132 outside command line, you can do it from the Nightscout web interface also… in settings
cameronrenwick
@cameronrenwick
May 24 2017 18:50 UTC
@rsilvers129 I don't believe so... at least I've never seen reference to one in any of the docs I've read
jmcrawford
@jmcrawford
May 24 2017 18:54 UTC
In CarePortal, there is an Insulin Cartridge Change event. That's probably what you're looking for?
rsilvers129
@rsilvers129
May 24 2017 19:17 UTC
Yes. But I need to know the ITTT command to reset it.
danamlewis @danamlewis repeats: sub it in as the “event type” for IFTTT to use
katie disimone
@Kdisimone
May 24 2017 20:02 UTC

@rsilvers129 I’ll add it to the docs…it is this…

{"enteredBy": "IFTTT", "eventType": "Insulin Change", "duration": 0, "secret": “your_hashed_API"}

I use IAGE to track pump battery life. (I have it on my to-do list to change the alert levels in IAGE to be in-line with what my lithium battery age tends to be…i’ll have it turn red a day before the lithium goes down.)
PieterGit
@PieterGit
May 24 2017 20:07 UTC
@tim2000s @cjo20: did you ever find out what is causing RefreshValueError: need more than 0 values to unpack. The errors are coming in the refresh_pumphistory24h function. I found you had these errrors, see https://gitter.im/nightscout/intend-to-bolus?at=58a43ab4f045df0a224e1d30 . Do you both have WW pumps. I have the idea that WW pump init might cause these errors.
jmcrawford
@jmcrawford
May 24 2017 20:11 UTC
@tim2000s Have you got Glimpse showing the basal chart?
Lynne Butts
@flutelynne_twitter
May 24 2017 20:28 UTC
@PieterGit this may not be related, but I was getting those errors last night and this morning. It turns out that one of my Edison screws needed a half-turn. I have a NA pump.
PopcornPam
@PopcornPam_twitter
May 24 2017 20:43 UTC
Hi all, I have switched my nightscout from azure to heroku, and am trying to edit the runagain.sh
I thought nano runagain.sh was the command, but that brings us a blank doc
PopcornPam
@PopcornPam_twitter
May 24 2017 20:51 UTC
thank you!
Tim Street
@tim2000s
May 24 2017 20:55 UTC
@jmcrawford Yes, I have
Tim Street
@tim2000s
May 24 2017 21:04 UTC
Had an interesting one tonight. Flashed the latest jubilinux on to the Edison. It's supposed to be an LPON edition, and it can't find the wlan0 interface....!
Wonder if the sent the wrong one...?
PopcornPam
@PopcornPam_twitter
May 24 2017 21:06 UTC
So this past weekend I brought my rig with me to see how it did picking up bluetooth, and make sure it was good to go before I give back the beta bionics. All seemed ok, until I tried to charge it overnight at the hotel, and it charred the explorere board, battery wire, and partially melted the case @rsilvers129 had printed for me
The explorere board had had a hard time staying connected to the battery for awhile (often had to be unplugged and replugged)
Now, I tried plugging it into the computer and it got REALLy hot, like way too hot
I have another board, but trying to figure out what happened here, if it is fixable, and if I made some major error that I should be careful not to repeat
Photo on 5-24-17 at 5.09 PM.jpg
jmcrawford
@jmcrawford
May 24 2017 21:10 UTC
I had an explorer nearly go up in smoke, one of the early gen ones. Was plugged in for charging. Left bit charred mess in the middle of the board. I haven't really tested its' functionality since. I found that it powers up on a battery, powers up when plugged in, but if plugged in with a battery connected one of the components on the board starts glowing red within a few seconds.
PopcornPam
@PopcornPam_twitter
May 24 2017 21:10 UTC
it is a chip right above the gold dot that says 5v near the lipo connection
Tim Street
@tim2000s
May 24 2017 21:11 UTC
With the explorer boards, you have to be a bit careful what the input is into the board. I charged one off a 2.5A USB port and melted my case. Fortunately I noticed. I now don't go any higher than 2A if I can avoid it.
PopcornPam
@PopcornPam_twitter
May 24 2017 21:11 UTC
Any ideas of what was wrong?
Interesting... ok
have you noticed any differences between being plugged in uart v otg for overheating?
jmcrawford
@jmcrawford
May 24 2017 21:12 UTC
burntboard.jpg
Tim Street
@tim2000s
May 24 2017 21:12 UTC
Because the charging circuit is limited to 250mA, (500 on the old ones), the power has to go somewhere, and it ends up disappearing as heat
PopcornPam
@PopcornPam_twitter
May 24 2017 21:12 UTC
yup.. looks like the same place!
Chris Oattes
@cjo20
May 24 2017 21:12 UTC
@PieterGit I don't think it's pump init. I think that pump comms are just dodgy with the amount of data it needs to transfer for the 24h transfers.
Tim Street
@tim2000s
May 24 2017 21:16 UTC
@esialb Are you aware of any issues with the latest Jubilinux and the LPON version of the edison?
Scott Leibrand
@scottleibrand
May 24 2017 21:21 UTC
@tim2000s the higher resistance controlling the charging rate means that the total power that runs through the board is reduced. It doesn't have to "go somewhere": the increased resistance means less power gets drawn from the same 5V input.
Matt Walker
@walker0
May 24 2017 21:22 UTC
@tim2000s it should t make any difference what amperage the charger is capable of. It should only draw what it requires unless there is a board design problem. Same with the 250ma charging. The way it has been reconfigured it should only draw 250ma and not 500 with 250 going as heat.
Scott Leibrand
@scottleibrand
May 24 2017 21:22 UTC
but if there's a short on the Explorer board, that all breaks down, and more and more current goes through the charging circuit until something overheats enough to melt and break the circuit. that's when the magic smoke gets released. if you have that happen, I would contact ERD about getting a replacement. Morgan would like to know where the most common failure points are.
Paul Martin
@Spazholio
May 24 2017 21:24 UTC
So apparently after you start getting “battery low” messages with the G4, you can have as little as 2 days to get a new one. Not really a lot of advance notice there, Dexcom. So…is the battery replacement method somewhat painless? =)
cameronrenwick
@cameronrenwick
May 24 2017 21:26 UTC
I just did the battery replacement last week. Took about an hour, plus the time for the epoxy to harden.
Paul Martin
@Spazholio
May 24 2017 21:27 UTC
Can you point me at the tutorial you used?
cameronrenwick
@cameronrenwick
May 24 2017 21:27 UTC
one thing I did that I haven't seen done before (and worked like a charm) was used "wire glue" which is essentially electrical conducting epoxy, to hold the batteries in the body of the G4.
Paul Martin
@Spazholio
May 24 2017 21:28 UTC
The only epoxy I have is jeweler’s epoxy (as my wife is a jeweler). Might work in a pinch...
if you PM @elodaille01 he had some excellent shots he shared. Not a bad job, just make sure to test the voltage with a digital meter before epoxying the batteries closed in the body of the G4 - that way if you don't have a solid connection you can figure out why before sealing the unit.
the wire glue, IMO, is a real safety feature for success.. no scratching or hoping that the crazy glue works
from warning to doing the job I had 3 days
Paul Martin
@Spazholio
May 24 2017 21:31 UTC
The fact that they recommend supergluing the batteries in seems weird. Doesn’t that mean you’re not getting them out again to repeat the process?
cameronrenwick
@cameronrenwick
May 24 2017 21:33 UTC
agreed. the wire glue scratches off but at the same time makes positive connectivity. It'll be much easier come next battery replacement I believe
in the ifixit tutorial in step 6 it show the bottom contact for the battery. That picture is misleading as it appears that the contact strip is quite wide. It actually is only attached to the pc board beneath about 1mm. I actually broke one of them. You have to be super careful. In the picture on the ifixit site, where the bottom tab is attached is actually on the opposite side (180 degrees) to the top tab. Be careful when prying the battery off as I believe the batteries, when new, are actually spot welded to the tab. They will come off with some mild persuasion tho.
Paul Martin
@Spazholio
May 24 2017 21:44 UTC
That Amazon link you provided seems to show solder rather than electrical epoxy. Is that the right link or am I misreading it?
katie disimone
@Kdisimone
May 24 2017 21:46 UTC
@tim2000s did you try ifup wlan0?
Tim Street
@tim2000s
May 24 2017 21:48 UTC
Yup. Shows that the wpa_supplicant daemon isn't starting.
David Rimmer
@zjedr
May 24 2017 21:48 UTC
@tim2000s thanks, I missed that step.
Cameron Chunn
@applehat
May 24 2017 21:52 UTC

Too add late comment to the explorer board fire - amp ratings on chargers don't imply any sort of "push". A 2.5amp charger is simply capable of delivering 2.5 amps of current if the load that its going into has a low enough resistance to draw that much amperage (ohms law).

A 250mAh charging circuit will draw 0.25amps from a power supply.

PieterGit
@PieterGit
May 24 2017 21:54 UTC
@flutelynne_twitter : i'll check my screws :hammer: :smile: .Thx
Lynne Butts
@flutelynne_twitter
May 24 2017 21:55 UTC
You're welcome.
PopcornPam
@PopcornPam_twitter
May 24 2017 21:56 UTC
@applehat, so not worth searching for specific chargers?
I am also wondering about portable battery packs... When I go to Haiti I really don't trust the voltage coming out of the wall (my laptop electrecuted me last trip), so am looking for an option for rig charging while abroad
PieterGit
@PieterGit
May 24 2017 21:58 UTC
@Spazholio : I put https://github.com/PieterGit/dexcom_reader/blob/master/dexcom_reader/bat.py in my udev rules to make sure the charging is off when the dex is plugged in with usb
Paul Martin
@Spazholio
May 24 2017 21:58 UTC
@PieterGit I don’t think that was intended for me. =)
PieterGit
@PieterGit
May 24 2017 22:01 UTC
sorry, I read it as BAT ERROR. I don't want to charge my dexcom if it's connected to my rig (saves rig battery, and probably is better for the Dexcom.
katie disimone
@Kdisimone
May 24 2017 22:06 UTC
@PieterGit wait!? Do I understand that properly? That will prevent a fully charged G4 receiver from drawing the rig battery while plugged in for offline use?
And if so...how exactly do I install this?! 👍🏻
PieterGit
@PieterGit
May 24 2017 22:14 UTC

@Kdisimone something like:

cd $HOME/src
git clone https://github.com/PieterGit/dexcom_reader.git

and edit /etc/udev/rules.d/80-dexcom.rules to

ATTRS{idVendor}=="22a3", ATTRS{idProduct}=="0047", \
  ENV{ID_MM_DEVICE_IGNORE}="1", \
  MODE="0664", GROUP="plugdev", RUN+="/root/src/dexcom_reader/dexcom_reader/bat.py"
just found/fixed a bug, so please use git pull again. The script must be chmod +rx /root/src/dexcom_reader/dexcom_reader/bat.py (which I can't do from my windows git)
maybe I should polish it a bit, so that it can be included in a next dexcom_reader release
It will prevent charging the receiver (so if it's empty you need to add it to another USB port or charger).
PieterGit
@PieterGit
May 24 2017 22:20 UTC
it will show a short charging icon on the dex when you plug it in, but that will disappear once the script has been run
i wanted to do fancy stuff (only charge dexcom when needed), but it turned out it is never needed to charge the dex if it's connected to the rig most of the time. I think this will prevent overheating the Dex battery by charging it
would anybody like this for the CGM=G4-upload?
Cameron Chunn
@applehat
May 24 2017 22:25 UTC
@PopcornPam_twitter as long as the charger is outputting 5v correctly (and not over-volting) it should be fine.
katie disimone
@Kdisimone
May 24 2017 22:26 UTC
@PieterGit yes. Me!
and thank you
PieterGit
@PieterGit
May 24 2017 22:27 UTC
works for pi and explorer board btw.
katie disimone
@Kdisimone
May 24 2017 22:28 UTC
@PieterGit I won't be able to install until tonight anyways. If you make any changes in the next several hours, let me know?
PieterGit
@PieterGit
May 24 2017 22:28 UTC
i'll put it on my too long todo-list, but first i want a proper ww and token based authentication integrated in dev
i won't make any changes, you need to chmod +rx it by hand i think. if you want document it as an issue, i'll work on it later (and other may also integrate it)
i was just manually adding it to a new rig. most US people tend not to use USB afaict
there has not been a dexcom_reader release for a long time, if there will be one it would be great if we can get this issue (for my type of receiver) fixed: openaps/dexcom_reader#16
Dana Lewis
@danamlewis
May 24 2017 22:33 UTC
hmm. there was something weird that RTD didn’t like about the formatting, @jbwittmer , so didn’t update RTD even though github content was updated yesterday with your PR (thanks!). fixed now. (also @JELCRAWFORD , can’t remember if it was ya’ll or someone else talking about scheduling a week’s worth of targets in care portal - you might like the calendar approach as it’s a bit easier to move things around if something gets cancelled/changed) http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-4/ifttt-integration.html#google-calendar-integration
katie disimone
@Kdisimone
May 24 2017 22:33 UTC
We don't use USB connection often, but only because we don't want to have to carry a spare battery all the time necessarily. But since her receiver and rig are usually side by side anyways, this would be an easy one cable solution to have backup if her BT or wifi fail. Love it
Dana Lewis
@danamlewis
May 24 2017 22:34 UTC
if anyone sees a PR to the docs merged, but doesn’t see the content show up in RTD, let me know - usually means some formatting of character RTD doesn’t like, so it’s fixable but just have to know it’s doing it. (Happens 1/20 PRs or so, not common, but just FYI)
rsilvers129
@rsilvers129
May 24 2017 22:38 UTC
Pushover alarms are totally out of control. I don't understand how to make them not go off every 15 minutes.
PieterGit
@PieterGit
May 24 2017 22:39 UTC
@danamlewis (or others): Could you post your firmware / api version for which calibrations work fine with Dexcom G4 into issue: openaps/dexcom_reader#16 I would like to know which firmware / API works with calibrations and which does not. Calibrations only work for me if I use the android uploader (and not with dexcom_reader/openaps/oref0). Help is wanted on this issue.
@rsilvers129 : disable the cron line :smile:
rsilvers129
@rsilvers129
May 24 2017 22:40 UTC
I want reasonable alarms. But the first rule of alarms is that if you alarm too much, people disable them.
cameronrenwick
@cameronrenwick
May 24 2017 22:44 UTC
@Spazholio I just checked the link and I think it's pointing correctly. The stuff I'm suggesting is called wire in a jar. It's a little container that has a black glue which is electronically conductive when dry. You can do a google search for "wire glue" and it'll come up
JELCRAWFORD
@JELCRAWFORD
May 24 2017 22:48 UTC
@danamlewis - yes, it was us - calendar feature would be awesome - previously if something needed changing it meant you had to re-do all of them. Yay for calendar!
katie disimone
@Kdisimone
May 24 2017 22:52 UTC
@rsilvers129 are these NS-generated or rig-generated pushovers?
rsilvers129
@rsilvers129
May 24 2017 22:53 UTC
Not sure. Pump battery Low is the one driving me nuts.
I do have some pump battery alarms in NS
Not sure if the rig also does them?
JELCRAWFORD
@JELCRAWFORD
May 24 2017 22:53 UTC
@danamlewis @Kdisimone - with regard to IFTTT - I have never been able to get the 'this button' app on pebble to work - I've gone through documentation several times and no go - I'm sure it is something simple, but I'm at a loss - was there anything 'tricky' to getting it to function well? I'd love to set it up on DS's pebble too to simplify his data entry, but so far haven't got it to work. IFTTT - works fine on iphone.
cameronrenwick
@cameronrenwick
May 24 2017 22:54 UTC
thought I'd share something I've been working with. I'm using xdrip+ with my android. I've got 2 base urls in my api upload as I've got 2 primary wifi environments. Long story short, 3 new wifi devices are in one of the areas and I'd been getting a msg on my openaps pill saying I had stale glucose readings. Everything was looping fine; just this error message. Anyway, when I run ifconfig in the wifi area that has the 3 new devices of course the IP address of my rig had changed. I corrected that to the newly assigned IP and stale data is gone. I've gone out and back into these wifi areas to confirm that the error doesn't come back and all is good. I'm sure there's a way to assign an IP etc but in case anyone else was having this happen, here's what I've learned
katie disimone
@Kdisimone
May 24 2017 23:00 UTC
@rsilvers129 that is a NS-generated alarm. Won't come from the rig. And the value that triggers it is in your heroku settings under PUMP_WARN_BATT and PUMP_URGENT_BATT. (Each of those have a U and V version for percent and voltage, respectively). For OpenAPS, I recommend only using the PUMP_WARN_BATT_V...delete any of the other pump battery warnings that you have in your configuration in heroku. Warn settings have less frequent recurrence than urgent warnings, and can be snoozed longer. I have my PUMP_WARN_BATT_V set at 1.3 (I use lithium)
When I get an alarm from NS, I snooze it on my NS app and then "acknowledge" the pushover in the pushover app. That effectively quiets the alert for as long as the snooze was selected
Dana Lewis
@danamlewis
May 24 2017 23:11 UTC
@JELCRAWFORD :+1: for calendar. and re: This Button - I just built some more yesterday. I think the trick was doing Maker Webhook + Maker Webhook to make those work, slightly different from the DoButton+Maker approach for the IFTTT widget
Diadon81
@Diadon81
May 24 2017 23:14 UTC
Dears, I have got an error during installation of oref0-0.5.0-dev.
Resetting spi_serial Traceback (most recent call last): File "/usr/local/bin/reset_spi_serial.py", line 3, in <module> s = spi_serial.SpiSerial() File "/usr/local/lib/python2.7/dist-packages/spi_serial/spi_serial.py", line 11, in __init__ self.dev = m.spiFromDesc("spi-raw-5-1") AttributeError: 'module' object has no attribute 'spiFromDesc' Attempting to communicate with pump: mmtune: pump://JSON/mmtune/monitor/mmtune.json monitor/mmtune.json raised 'module' object has no attribute 'spiFromDesc' Traceback (most recent call last): File "/usr/local/bin/openaps-report", line 6, in <module> exec(compile(open(__file__).read(), __file__, 'exec')) File "/root/src/openaps/bin/openaps-report", line 82, in <module> app( ) File "/root/src/openaps/openaps/cli/__init__.py", line 51, in __call__ self.run(self.args) File "/root/src/openaps/bin/openaps-report", line 75, in run output = app(args, self) File "/root/src/openaps/openaps/cli/subcommand.py", line 52, in __call__ return self.method.main(args, app) File "/root/src/openaps/openaps/reports/invoke.py", line 40, in main output = task.method(args, app) File "/root/src/openaps/openaps/uses/use.py", line 44, in __call__ self.before_main(args, app) File "/root/src/openaps/openaps/vendors/medtronic.py", line 62, in before_main self.setup_medtronic( ) File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/mmeowlink.py", line 92, in setup_medtronic setup_medtronic_link(self) File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/mmeowlink.py", line 75, in setup_medtronic_link link = builder.build(radio_type, port) File "/usr/local/lib/python2.7/dist-packages/mmeowlink/link_builder.py", line 16, in build return SubgRfspyLink(port) File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/subg_rfspy_link.py", line 55, in __init__ self.open() File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/serial_interface.py", line 27, in open self.serial = spi_serial.SpiSerial() File "/usr/local/lib/python2.7/dist-packages/spi_serial/spi_serial.py", line 11, in __init__ self.dev = m.spiFromDesc("spi-raw-5-1") AttributeError: 'module' object has no attribute 'spiFromDesc' Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information.
because I'am not too familiar with mmeowlink, I need a help to deal with this issue. I have a US model.
Dana Lewis
@danamlewis
May 24 2017 23:15 UTC
did you also do npm global install?
Diadon81
@Diadon81
May 24 2017 23:17 UTC
yes. I do.
cd ~/src/oref0 && npm run global-install
Ok, if you think that problem with that, I can try to start this command again a re-run oref-setup script.
Dana Lewis
@danamlewis
May 24 2017 23:21 UTC
you need to do 1) cd ~/src/oref0 && git checkout dev && git pull and 2) npm run global-install
if you didn’t do exactly that, I’d re-do those steps next vs. the setup script
Diadon81
@Diadon81
May 24 2017 23:24 UTC
I strictly follow doc material. 1) install dev branch of dependencies according to this link https://raw.githubusercontent.com/openaps/docs/master/scripts/quick-src.sh 2) run mkdir -p ~/src; cd ~/src && git clone -b dev git://github.com/openaps/oref0.git || (cd oref0 && git checkout dev && git pull) 3) run cd ~/src/oref0 && npm run global-install
Diadon81
@Diadon81
May 24 2017 23:25 UTC
I am installing from scratch.
root@Diadon-Openaps-Test:~/src/oref0/myopenaps# cd ~/src/oref0 && git checkout dev && git pull Already on 'dev' Your branch is up-to-date with 'origin/dev'. Already up-to-date.
ok anyway, I will try one more time.
I am not updating my rig, just making completely new install
Diadon81
@Diadon81
May 24 2017 23:39 UTC
same problem
JELCRAWFORD
@JELCRAWFORD
May 24 2017 23:41 UTC
@danamlewis - Okay - I'll go through the setups again and see if I can see an error - I entered in the Maker Webhook where it was asked for, but evidently I still did something wrong :)
Dana Lewis
@danamlewis
May 24 2017 23:42 UTC
@JELCRAWFORD heh. it looked different yesterday from when I had first set it up (some combo of IFTTT changing and This Button changing), but let me know if it doesn’t work & I can try to help troubleshoot since this one is fresh for me
@Diadon81 ok. this is before or after running oref0-setup.sh?
Diadon81
@Diadon81
May 24 2017 23:43 UTC
@danamlewis after
Dana Lewis
@danamlewis
May 24 2017 23:44 UTC
@Diadon81 k. can you share more about your setup? what type of radio stick, cgm, and what kind (NA or WW) of pump?
Diadon81
@Diadon81
May 24 2017 23:44 UTC
I am using explorer board, MDT cgm and NA pump
I can open ssh access for you if you really want to troubleshoot this problem
i through it will be faster that conversation here.
Dana Lewis
@danamlewis
May 24 2017 23:53 UTC
@Diadon81 I am on my phone walking to the store, so someone might be faster to help you in channel in the meantime.
If you can’t get things going, though, you might also try installing master and see if you get the same errors
dev is highly experimental, so you may also have found something unique to dev if it doesn’t show up on master
Diadon81
@Diadon81
May 24 2017 23:56 UTC
I want to try SMB and UMA features :)
Dana Lewis
@danamlewis
May 24 2017 23:57 UTC
if you have never used OpenAPS before, I would use master for several weeks first
Diadon81
@Diadon81
May 24 2017 23:57 UTC
this is my second rig
before I used openaps for 4 month
Dana Lewis
@danamlewis
May 24 2017 23:58 UTC
k
Diadon81
@Diadon81
May 24 2017 23:59 UTC
I doesn't write here for two reasons, 1) I am russian, so my english isn't so good 2) everything was ok with master release :)