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

4th
May 2018
micheliseferian
@micheliseferian
May 04 2018 00:02
@ecc1 thank you for your answer, its not clear to me what exactly to remove even after checking the docs. Is there a way to start the rig all over again? thanks again
Scott Leibrand
@scottleibrand
May 04 2018 00:10
you could reflash, or if you're done reviewing the logs, you could just rm -rf /var/log/openaps/* to free up enough space to do the rest of the steps on that troubleshooting page.
Deweyoxberg
@Deweyoxberg
May 04 2018 00:17
Hi all, ran into disk space issues and found ./dev/mmcblk0p10 is using 1.4 gig; safe to delete this directory?
Deweyoxberg
@Deweyoxberg
May 04 2018 00:30
Assuming that's a no :)
Scott Leibrand
@scottleibrand
May 04 2018 00:37
Probably not.
That’s probably your entire file system.
/dev/ is a special directory for physical devices. Your disk usage problem won’t be there.
Deweyoxberg
@Deweyoxberg
May 04 2018 00:39
Figured that was the case when I read the system log through papertrail and it was mentioned during boot up :D
going through old logs now... goes back to *.24.gz
probably can remove those :P
Deweyoxberg
@Deweyoxberg
May 04 2018 01:03
@scottleibrand : Am I crazy here? I noticed the auth.log, daemon.log, kernel.log and syslog all exploded in size yesterday. They're 12-20MB each, when traditionally they're more like 1MB each.
No one was in the rig at the time that I'm aware of.
Scott Leibrand
@scottleibrand
May 04 2018 01:07
You could actually read through those logs to see what they’re filling up with...
Deweyoxberg
@Deweyoxberg
May 04 2018 01:07
yeah looking at that now, at the moment standard stuff like subg_rfspy status : OK :P
Deweyoxberg
@Deweyoxberg
May 04 2018 01:37
managed to free up enough space from old log files to force a rotation. keeping an eye out for a recurrence or if this was a one-off thing
thanks for the warning regarding mmcblk0p10 :D
important part is we're looping again. woot woot!
Aaron Michelson
@Aaybob
May 04 2018 01:49
Hi,
git clone could not resolve host github.com
Does that mean I need to log into git?
How does one log in from the rig's command line?
Scott Leibrand
@scottleibrand
May 04 2018 02:08
It means your rig is not connected to the Internet.
Fix your wifi or Bluetooth and make sure you can ping google.com
micheliseferian
@micheliseferian
May 04 2018 14:38
@scottleibrand thank you! i will try that
Terri Lyman
@tatigger
May 04 2018 15:28
Good morning! I have been trying to make offline looping work with Dexcom G4 plugged in to an explorer board v.1.2 2017, and no good. The cable (2 of them) are usb otg. Everything works fine through nightscout. I redid setup yesterday and selected G4-upload. The docs say G4-raw, but that was not one of the options in setup. Any idea why the blood glucose data isn't getting into the Edison?
ejoe132
@ejoe132
May 04 2018 15:39
Hello all, Looking for a pump to loop with, my drowned when I fell outta my kayak a bit ago, let me know if anyone has one theyd like to sell. Prefer the large resi pump but anything would be great
Scott Leibrand
@scottleibrand
May 04 2018 15:48
@tatigger it’s now called g4-upload, although g4-local-only should work too. What does lsusb show?
Terri Lyman
@tatigger
May 04 2018 15:59
root@Thing1:~# lsusb
unable to initialize libusb: -99
Scott Leibrand
@scottleibrand
May 04 2018 16:06
that means it's a hardware issue. does the charging icon come on on the receiver when you plug it in? try reversing the direction of the OTG cable and see if you can get lsusb to show devices. there should be 3 (the one with no name is the Dex)
Terri Lyman
@tatigger
May 04 2018 16:19
Charging icon on, and the log says it is probably charging (or battery full.) Same error with cable reversed .
Same with a different cable. Charging icon on.
Ok, so at least I know what the problem is. I will fly without Openaps working. Just 2 hours each leg ;)
Terri Lyman
@tatigger
May 04 2018 16:49
Thanks @scottleibrand :) I'll check in the Looped group for a spare explorer board.
Scott Leibrand
@scottleibrand
May 04 2018 16:59
it might not be a bad EB
but certainly worth trying another one if you do get one
what is your USB power source? which ports are each cable plugged into?
James Babcock
@jimrandomh
May 04 2018 18:13
@tatigger For that setup (Explorer board connected to G4 by USB-OTG), you can't use a LiPo battery, you have to power the Explorer board through the USB port. If it's working, the charge indicator on the G4 receiver should show that it's charging; if you're powering it the wrong way, it won't.
Terri Lyman
@tatigger
May 04 2018 19:00
Hi @jimrandomh, @scottleibrand, The light on the explorer board lights up when plugged in via usb to a power bank and/or directly to the wall. I have tried both power sources for the edison/exolorer board to use off-line blood sugars. The power was in the charge side and the otg was in the otg side of the explorer board, as labeled.
James Babcock
@jimrandomh
May 04 2018 19:01
Does the G4 receiver show it's charging?
Terri Lyman
@tatigger
May 04 2018 19:01
Yes
I do have a spare explorer board, but it is the older version. No time to do trace cutting etc before leaving....will try that next when I get back. I have tried to directly connect the G4 before, with no luck. Same rig. PS: used 2 different cables as well, same results.
Terri Lyman
@tatigger
May 04 2018 19:18
So, dumb question, but if I swap out explorer boards, do I then need to run setup again? Or with the Edison "remember" everything and run ok?
James Babcock
@jimrandomh
May 04 2018 19:21
All the memory/storage is on the Edison, so it should remember everything
Terri Lyman
@tatigger
May 04 2018 19:23
Cool, thanks James
James Babcock
@jimrandomh
May 04 2018 19:24
One thing to watch out for, that matches the symptom you've got: mechanical damage to the USB ports. (I broke one Explorer block that way). When traveling, you want a rigid case with the blocky parts of the USB cables fully inside and covered, so they're protected from impact.
Terri Lyman
@tatigger
May 04 2018 20:03
Thanks, that is helpful. I will be extra careful this trip, and have the other explorer board handy, They get a lot of wear and tear, even from adults :)