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

6th
Jul 2016
Marianne Smith, PMP
@mariannesmith77_twitter
Jul 06 2016 01:33
Hi everyone. Anybody see this before? Our loop was failing about 75% of the time for a few hours last night, seemed like it was having trouble with the carelink stick even though it is stuck into his belt with the pump.... we can't figure out what to troubleshoot. Might this be something we can troubleshoot?
Jul 05 21:30:34 raspberrypi openaps-report[32375]: size (0) is less than 64 and not 15, which may cause an error.
Here is some more:
Jul 05 21:30:34 raspberrypi openaps-report[32375]: size (0) is less than 64 and not 15, which may cause an error.
Jul 05 21:31:14 raspberrypi openaps-report[32493]: bad zero CRC?
Jul 05 21:31:14 raspberrypi openaps-report[32493]: bad zero CRC?
Jul 05 21:31:14 raspberrypi openaps-report[32493]: bad zero CRC?
Jul 05 21:31:14 raspberrypi openaps-report[32493]: bad zero CRC?
Jul 05 21:31:15 raspberrypi openaps-report[32493]: bad zero CRC?
Jul 05 21:31:15 raspberrypi openaps-report[32493]: bad zero CRC?
Jul 05 21:31:48 raspberrypi openaps-report[32599]: this seems like a problem
fjungman
@fjungman
Jul 06 2016 03:06
Just to ask one more time, as I'm a little stuck debugging this. I get an error on just the openaps report show command:
pi@raspberrypi:~/vmax_aps $ openaps report show
Traceback (most recent call last):
File "/usr/local/bin/openaps-report", line 4, in <module>
import('pkg_resources').run_script('openaps==0.1.5', 'openaps-report')
File "build/bdist.linux-armv7l/egg/pkgresources/_init.py", line 719, in run_script
File "build/bdist.linux-armv7l/egg/pkgresources/_init.py", line 1504, in run_script
File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/EGG-INFO/scripts/openaps-report", line 82, in <module>
app( )
File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/cli/init.py", line 47, in call
self.configure_parser(self.parser)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/EGG-INFO/scripts/openaps-report", line 50, in configure_parser
available = devices.get_device_map(self.config)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/devices/init.py", line 21, in get_device_map
for device in Device.FromConfig(vendors, conf):
File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/devices/device.py", line 79, in FromConfig
device.read(config=config)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/devices/device.py", line 36, in read
self.extra.fields.update(dict(extra.items(self.section_name( ))))
File "/usr/lib/python2.7/ConfigParser.py", line 642, in items
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: u'device "vmax522"'
Anyone have an idea what might be broken here? I reinstalled everything, but it still doesn't work. Should I wipe the card and start over, or is that a waste?
Jason Calabrese
@jasoncalabrese
Jul 06 2016 03:19
might be a little typo in your ini, something with the vmax522 device, could be a missing/extra quote or brace
David Cintron
@loudestnoise
Jul 06 2016 03:33
MaxSafeBasal is my basal rate times 3?
even if I increase my Max Basal Rate or the Max IOB in OpenAPS
These are the questions I ponder after consuming :pizza:
Dana Lewis
@danamlewis
Jul 06 2016 03:55
Max safe basal is capped at 3x Max daily, 4x current, and you may also be capped by your max basal in your pump
@loudestnoise the other thing to ponder is carb absorption rate ;) in case, like me, your pizza carb amount consumption is the kind that might take 3 hours to kick in
Paul Dickens
@thebookins
Jul 06 2016 04:35
@mm22dl @walker0 we've decided to pass on the 522 that @mm22dl is selling, for anyone else who is interested
mariano42
@mariano42
Jul 06 2016 04:39
working through the setup for the first time... making a lot of progress tonight, but it looks like a page in the documentation is down... https://github.com/openaps/docs/blob/master/docs/docs/walkthrough/phase-2/using-openaps-tools.md ... anyone know where else i could go to get this piece of the doc?
Dana Lewis
@danamlewis
Jul 06 2016 04:43
Ah, the last set of PRs probably didn't adjust the readme TOc properly
@mariano42 try the link to the read the docs version
^^^if anyone wants to pr and fix the links
mariano42
@mariano42
Jul 06 2016 04:46
awesome @danamlewis thanks! ps.. the order of this doc makes a little more sense. The configuring and learning to use openaps tools section was throwing me off before.
fjungman
@fjungman
Jul 06 2016 04:51
Thanks, @jasoncalabrese ! Turns out my vmax522.ini is missing. I wonder where it went... :)
fjungman
@fjungman
Jul 06 2016 05:57
So, that got the loop running, only to now have the infamous ACK is 0 bytes issue. I've reset the Pi, unplugged and replugged, checked the pump (they are an inch apart), but no-joy. Are the Carelinks know to just fail outright? That would be a setback... :(
Dave Ewall
@daveewall
Jul 06 2016 06:40
Silly question to those in the know... in my loop, I have a monitor/pumphistory.json used for the IOB report, and a settings/pumphistory-24.json used for AMA calculations. Is there any reason why I couldn't just run pumphistory-24.json once and use that for IOB, cutting out one unnecessary report? I ran the IOB report from both files, and does create different numbers in the output, and the netbasalinsulin field is definitely higher in the 24h version of the IOB report. Just wondering if there's any reason why it should really only be looking at the 4 hour report. Right now my loop takes about 3 minutes to run on the edison, so I'm trying to find any way I can to optimize it. Any other optimization thoughts are welcome. Thanks!
iananders
@iananders
Jul 06 2016 06:48

setting up a new instance for a new setup (and repeating from scratch for practice) and getting stuck on invoking my suggested.json - it seems to run fine and spits out values but then i get the following error below the suggestion. ideas?
'''
pi@raspberrypi:~/myopenaps $ openaps report invoke enact/suggested.json
determine-basal://text/shell/enact/suggested.json
{"delta":-7,"glucose":242,"avgdelta":-6.333}
{"duration":0,"rate":3,"temp":"absolute"}
{"netbasalinsulin":3.4,"activity":0.0541,"basaliob":1.29,"hightempinsulin":3.4,"bolussnooze":0,"iob":1.651}
{"max_iob":6,"type":"current","dia":4,"model":{},"skip_neutral_temps":false,"current_basal":1.3,"max_daily_basal":1.3,"max_basal":5,"min_bg":90,"max_bg":120,"sens":40}

/usr/local/lib/node_modules/oref0/lib/round-basal.js:2
return text.indexOf(val, text.length - val.length) !== -1;
^
TypeError: Object #<Object> has no method 'indexOf'
at endsWith (/usr/local/lib/node_modules/oref0/lib/round-basal.js:2:14)
at round_basal (/usr/local/lib/node_modules/oref0/lib/round-basal.js:21:17)
at Object.determine_basal (/usr/local/lib/node_modules/oref0/lib/determine-basal/determine-basal.js:58:17)
at Object.<anonymous> (/usr/local/lib/node_modules/oref0/bin/oref0-determine-basal.js:168:25)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
reporting enact/suggested.json
'''

(still can't apparently get the markdown correct either. ha)
Dave Ewall
@daveewall
Jul 06 2016 07:43
Oh, I should also mention that I have to run pumphistory.json before and after the enact report, otherwise it seems that NS doesnt get the new temp basals until the next cycle runs. Not sure if that's typical, or if I have something wrong.
Chris Oattes
@cjo20
Jul 06 2016 09:21
@iananders: I think I know what that bug is, I'll look later
For now, run openaps use <pump> model > model.json and in the enact/suggested.json report add --model model.json to the remainder section
ah, no, sorry, in the settings/profile.json report remainder section
Chris Oattes
@cjo20
Jul 06 2016 10:03
@iananders That pull request I just created should fix the issue when it gets pulled in to dev
@daveewall I believe that the NS upload is based on pumphistory, so what you end up doing is pulling pumphistory from the pump, then setting the basal on the pump. This doesn't update your pumphistory.json, so the tools that process the json to upload to NS have no idea the basal change happened. That's why you need to do another pumphistory at the end to get it to show up straight away
jim-andrews
@jim-andrews
Jul 06 2016 13:52
Morning all. I'm looping and I'm seeing the error below. I've checked storage (not an issue) and did a cold restart of everything. I appear to have communications to the pump as some reports run without issue. Anyone know what's going on here?
blob
JaysonEwer
@JaysonEwer
Jul 06 2016 13:54
You'll want to run oref0-reset-git
Looks like you had a less than desirable shutdown. Did you loose power?
@jim-andrews Good morning, btw. :-). ^^
jim-andrews
@jim-andrews
Jul 06 2016 13:58
Indeed, while switching power sources on waking up this morning. That did fix it however. Thanks for that! So what's the protocol for changing power without an ssh connection I can't do a proper shutdown?
I'm using the same power source as Dana. I'm wondering if I can just charge the battery without having to disconnect it from the pi. On older lithium packs you could not use it when you were charging it, but perhaps they have overcome that little design flaw.
jim-andrews
@jim-andrews
Jul 06 2016 14:09
Ok! I see now. This command should have been part of my loop. excellent.
Chris Oattes
@cjo20
Jul 06 2016 15:40
@scottleibrand it'll be a couple of hours before I can get access to a machine to check that. I'm pretty sure I ran mocha and it reported no failures, but I was trying to do it while also doing work.
JaysonEwer
@JaysonEwer
Jul 06 2016 16:11
@jim-andrews Yes, there are some batteries that allow for charging as they are providing power to the pi. I'm using the recommended technet batter that used to be in the docs. I think it is still there, but haven't looked in a while. I had an older battery that cut off for just a moment when I unplugged the power, which caused problems. It would allow me to charge it while connected to be pi, but as soon as I removed the AC adapter cable I was charging it with it stopped providing current to the pi. The technet works well, and there are others that work well too.
David Cintron
@loudestnoise
Jul 06 2016 16:22
@jim-andrews I’ve got this one that allows the pass through. I get a solid 12-14 hours of power on my RPi3 rig
One downside is the annoying blinky blue light when it’s charging at night. I cover it with my glasses cleaning cloth, although I’m slightly afraid it’ll cause everything to overheat
Paul Martin
@Spazholio
Jul 06 2016 16:24
I keep my spare Pi3 rig next to my battery, inside a mostly closed camera case. It gets pretty warm, but nowhere near overheating levels. You should be fine.
Scott Leibrand
@scottleibrand
Jul 06 2016 16:25
@daveewall the reason to pull a shorter pumphistory is it's less likely to fail. If you have the 24h one getting refeshed along with your settings after the enact, it's no big deal if it fails. If you're relying on it for each loop, that becomes your weakest link for pump comms.
Jeremy M Lucas (GetRileyLink.org)
@jlucasvt
Jul 06 2016 16:34
I have two of the MoKo 9000mAh and they do a great job. I’ve found that they don’t really charge much when running the Rpi 2 unless plugged into a higher power 2.5-3a charger plug.
David Cintron
@loudestnoise
Jul 06 2016 16:40
@jlucasvt Yeah, I’m actually using the Canakit RPi power adapter to charge my MoKo battery which is 2.5A
Works quite well
Jeremy M Lucas (GetRileyLink.org)
@jlucasvt
Jul 06 2016 16:45
Yep. That’s the ticket.. My wife says that with the blinking lights on teh battery and the wifi adapter and dexcom from USB Reset, The whole thing is a light show at nite. I too put it in a Lowepro case to shelter from the blinking lights.
jim-andrews
@jim-andrews
Jul 06 2016 16:50
Good to know. I'm also using the TechNet. I purchased 2, one for charging and one to use, however since I can charge while using, I'll use it to drive my second Pi3. Yes, quite a light show. I'm dragging mine around in a chalk bag that was recommended in one of the youtube videos. I must admit it's a great solution given the carelink, battery, Pi3, & Dexcom receiver I drag around. Maybe time to downsize...
Bill Stackpole
@billstackpole
Jul 06 2016 17:40
@jasoncalabrese : @tejzeratul is working on building authentication into the front end of NightScout as we had discussed. He would like some feedback on potential ideas for how to move forward. At this point he has injected a "landing page" that shows login options rather than simply displaying the entirety of the nightscout dataset to any Tom Dick or Harry that visits the page. There is some conversation going on between us around how the community might want an authentication section implemented. Possiblities include having a new menu item at the top right (by the careportal "+", the speaker, and the three-bar menu dropdown) or including a new section in the admin tools part - perhaps displaying ONLY if the admin user is logged into the instance and authenticated. We look forward to feedback from you and the rest of the Nightscout community. Thanks!
see this page for a view:
Any user or pass will work at this point - just showing the landing page for now.
iananders
@iananders
Jul 06 2016 18:34
@cjo20 thanks so much - added the model to model.json but unclear about the profile.json - don't see a remainder section in there
Martin Haeberli
@mhaeberli
Jul 06 2016 19:28
@bewest - how are you today ?
q:
openaps use ns shell get-status | openaps use tz rezone --astimezone -
fails with error:
Traceback (most recent call last):
  File "/usr/local/bin/openaps-use", line 6, in <module>
    exec(compile(open(__file__).read(), __file__, 'exec'))
  File "/home/ubuntu/openaps/bin/openaps-use", line 63, in <module>
    app( )
  File "/home/ubuntu/openaps/openaps/cli/__init__.py", line 51, in __call__
    self.run(self.args)
  File "/home/ubuntu/openaps/bin/openaps-use", line 57, in run
    output = app(args, self)
  File "/home/ubuntu/openaps/openaps/uses/__init__.py", line 92, in __call__
    return self.method.selected(args)(args, app)
  File "/home/ubuntu/openaps/openaps/uses/__init__.py", line 31, in __call__
    return self.method(args, app)
  File "/home/ubuntu/openaps/openaps/uses/use.py", line 45, in __call__
    output = self.main(args, app)
  File "/usr/local/lib/python2.7/dist-packages/openapscontrib/timezones/__init__.py", line 89, in main
    results = self.convert(inputs)
  File "/usr/local/lib/python2.7/dist-packages/openapscontrib/timezones/__init__.py", line 82, in convert
    value = record.get(field, None)
AttributeError: 'unicode' object has no attribute 'get’
Chris Oattes
@cjo20
Jul 06 2016 19:56
@iananders if you update from the openaps/oref0 git, the issue should have been fixed
@iananders you might need to add the remainder line yourself.
[report "settings/profile.json"]
use = shell
bg_targets = settings/bg_targets.json
preferences = preferences.json
settings = settings/settings.json
basal_profile = settings/basal_profile.json
reporter = text
json_default = True
device = get-profile
remainder = --model model.json
insulin_sensitivities = settings/insulin_sensitivities.json
That's what mine looks like
If you make that change and you're using a 523 or 554 pump, you'll get 0.025u/hr basal increments
kenstack
@kenstack
Jul 06 2016 20:37
@scottleibrand @jasoncalabrese @bewest @loudnate does anyone have advice on keeping pumps from getting button errors? Ive noticed that after I clean off the membrane switches and get the buttons working again (pull back label etc) they get more and more prone to moisture finding its way in and generating button errors. Its becoming a bit unwieldy as my kid is working out a lot in the heat and sweating on the pump. Any advice / thoughts on robust button repair would be great!
going to try some teflon spray and other water proofing methods but figured Id ask first.
Jason Calabrese
@jasoncalabrese
Jul 06 2016 20:43
that sucks, I haven't had that problem yet, maybe some clear tape or something on top of the buttons?
Dana Lewis
@danamlewis
Jul 06 2016 20:49
Ugh. That stinks. I’m wondering about doing a vaccuum seal bag or similar, if it would be possible to do around the tubing?
For tape, I’m thinking the flexifix tape might work if y ou can get it over the edges of the button pads where it might otherwise seep in…but it sticks really, really well so I’d be pretty careful placing it.
Martin Haeberli
@mhaeberli
Jul 06 2016 21:01
@bewest
sudo npm install -g git://github.com/oref0/oref0.git'#dev'
failed
but
sudo npm install -g git://github.com/openaps/oref0.git'#dev'
succeeded ...
kenstack
@kenstack
Jul 06 2016 21:02
Yeah I'm going to look into some aircraft adhesives I used to use - problem is that lets face it - these pumps are all getting older and the adhesives under the face fail ... I can keep repairing but sooner or later .... I'm thinking also about doing a better job resealing the edges .... Will let you know thanks !
Dana Lewis
@danamlewis
Jul 06 2016 21:03
let us know, I know other people interested in solutions, too!
kenstack
@kenstack
Jul 06 2016 21:03
Yes absolutely
If people need help fixing the buttons I can post some pics I've got 2 pumps I've repaired now - minus sweat or lake water they work great :)
Paul Martin
@Spazholio
Jul 06 2016 21:53
My Pebble was down to 20%. Plugged this in: https://smile.amazon.com/gp/product/B01D9UBVCI/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1. Up to 100% in 3s! That’s impressive!
headdesk
David Cintron
@loudestnoise
Jul 06 2016 21:55
wait, so it’s incorrectly reporting how much power is left or does it really charge that fast?
ha
Paul Martin
@Spazholio
Jul 06 2016 21:58
I think if it charged that fast, it would have melted while it was violating the laws of electricity and physics. I am very curious to know if it was actually down to 20% or closer to 100% in actuality. I charged it yesterday, I think.
Paul Dickens
@thebookins
Jul 06 2016 21:58
Hi everyone. Just completed our first night of looping for our T1D son (it's morning in Australia). Very grateful to this community - thanks for all the help!
Paul Martin
@Spazholio
Jul 06 2016 21:59
Congrats!
Dana Lewis
@danamlewis
Jul 06 2016 22:00
:confetti_ball: :sparkles: :clap: @thebookins!
David Cintron
@loudestnoise
Jul 06 2016 22:00
:shipit:
Scott Leibrand
@scottleibrand
Jul 06 2016 22:07
@Spazholio was that reporting 100% while charging, or after you unplugged?
I've noticed that the battery % meter (which is probably just a voltage meter) is confused when it has a full charging voltage
Paul Martin
@Spazholio
Jul 06 2016 22:07
Watch reads 20%. Plug in. “BATTERY CHARGED!” immediately. Remove charger. It reads 100%.
Scott Leibrand
@scottleibrand
Jul 06 2016 22:07
ah
Paul Martin
@Spazholio
Jul 06 2016 22:08
And it’s still sitting at 100%.
Scott Leibrand
@scottleibrand
Jul 06 2016 22:08
I've also seen that "100%" isn't really: more like 80%
Paul Martin
@Spazholio
Jul 06 2016 22:09
Still, the 20% to 100% is one hell of a discrepancy. I wouldn’t be too surprised if I saw this at around 80-90%...
Scott Leibrand
@scottleibrand
Jul 06 2016 22:09
yeah
Chris Oattes
@cjo20
Jul 06 2016 22:10
Has anyone managed to get battery voltage reading working on ubilinux yet?
Paul Martin
@Spazholio
Jul 06 2016 22:10
I’ve been considering contacting Pebble support. 2 days is simply unacceptable when they advertise 7 days. I’m pretty sure I have average usage - email notifications, text notifications (I don’t text) and a watchface that updates once every 1-5m.
@cjo20 The kernel is missing something key to making it work. I got the command to compile, but it’s missing a core file to actually read the voltage.
Scott Leibrand
@scottleibrand
Jul 06 2016 22:11
@Spazholio I've always assumed that constantly running watch apps that update every minute is the reason for the short battery life
Chris Oattes
@cjo20
Jul 06 2016 22:12
@Spazholio yeah, that's as far as I got. The kernel must be just be reading a value from a pin somewhere, so I'm not sure whether it actually needs to be built in to the kernel or not
Paul Martin
@Spazholio
Jul 06 2016 22:12
The only one I have that does that is the watchface. And it’s doing a simple BT call, not redrawing the screen. I’ve been doing some reading, and apparently redrawing the screen is the big battery killer (which is weird to me since it’s e-ink).
Well, I know the file I need, but there’s no way to make it appear. I’d imagine it’s a kernel component, but you’re right, it might not be.
Chris Oattes
@cjo20
Jul 06 2016 22:13
the file is something like /sys/devices/pcim_cssm/battery_voltage
but reading the file is probably actaully just an interface to a driver, which might be possible to run outside of the kernel
mm22dl
@mm22dl
Jul 06 2016 22:14
Hey there, sor
Chris Oattes
@cjo20
Jul 06 2016 22:15
I'm downloading the edison kernel source at the moment, but their site is slow. 1.2GB @ 300k/s :(
val-albany
@val-albany
Jul 06 2016 22:28

so I am working on my 2.0 system (edison + TI stick) and walking through the docs for setting up openaps. I am getting a weird error while trying to set up my dec 4 with share: Running setup.py install for Adafruit-BluefruitLE

Could not find .egg-info directory in install record for Adafruit-BluefruitLE==0.9.0 from git+git://github.com/bewest/Adafruit_Python_BluefruitLE.git in /usr/local/lib/python2.7/dist-packages
Successfully installed Adafruit-BluefruitLE
Cleaning up...

Paul Martin
@Spazholio
Jul 06 2016 22:29
Pretty sure that’s safe to ignore.
val-albany
@val-albany
Jul 06 2016 22:29
ok thanks!
Chris Oattes
@cjo20
Jul 06 2016 22:51
@Spazholio Looks like they get the value from the PMIC controller, which is an (undocumented) TI device. It uses i2c to communicate (specifically i2c-8), but without knowing the protocol, it'll be hard to read values, and I'm not sure it's a great idea to try and take over the i2c bus when the kernel thinks it has control
Sarah Hodson Grady
@shgrady
Jul 06 2016 23:11
blob
So I come across this
but when I go to look it up
I get this
blob
which is kind of circular logic for me, any suggestions on what goes in combined-treatments? or a better way to think about it?
Brandon Faloona
@bfaloona
Jul 06 2016 23:25
I'm stuck on getting OpenAPS to enact a suggestion. Nightscout reports 'Not Enacted' and the enacted json shows recieved is false. What might cause this?
Paul Martin
@Spazholio
Jul 06 2016 23:25
Can you paste the entire error?
Scott Leibrand
@scottleibrand
Jul 06 2016 23:26
is your pump's temp basal mode in percent?
tazitoo
@tazitoo
Jul 06 2016 23:37
@cj20, @Spazholio - for edison voltages - think it's as easy as making a call using libmraa?
then if it's installed, maybe a simple python script to read the pins (whichever ones correspond to vin and gnd)?
Chris Oattes
@cjo20
Jul 06 2016 23:39
It's not as simple as that, you need an ADC
tazitoo
@tazitoo
Jul 06 2016 23:42
is there an ADC on the mini-breakout board? guess I should look at the yocto recipe...
a little googling found this:
most voltages not in mraa
Chris Oattes
@cjo20
Jul 06 2016 23:43
The yocto recipe uses a kernel file in /sys/devices, which isn't present in ubilinux.
tazitoo
@tazitoo
Jul 06 2016 23:43
do you have a link to the source?
tazitoo
@tazitoo
Jul 06 2016 23:44
thanks!
Chris Oattes
@cjo20
Jul 06 2016 23:44
/sys/devices/platform/pmic_ccsm/battery_level that endpoint is the one that is missing
Brett
@burgertime14
Jul 06 2016 23:47
@tazitoo I was looking at this and it appears that you would have to add an ADC if you are using the intel breakout
tazitoo
@tazitoo
Jul 06 2016 23:49
so the yocto recipe wouldn't work on the mini-breakout board?
(sorry feeling a little slow...)
Paul Martin
@Spazholio
Jul 06 2016 23:50
No, the Yocto image will provide voltage information out of the box.
Brett
@burgertime14
Jul 06 2016 23:50
@tazitoo my understanding would leave me to believe that you need the analog signal to provide battery status, whether it be ubilinux or yocto
Brandon Faloona
@bfaloona
Jul 06 2016 23:52
@Spazholio Sadly, I don't have it handy.
Paul Martin
@Spazholio
Jul 06 2016 23:52
What about what @scottleibrand asked? That’s a pretty specific question, so I’d imagine he’s seen this before. =)
Brandon Faloona
@bfaloona
Jul 06 2016 23:53
@scottleibrand Yes, I believe it is in percent mode. I'll check. Sounds like that's not supported.
tazitoo
@tazitoo
Jul 06 2016 23:53
<sorry dinner calls - time to test and shoot>
Brett
@burgertime14
Jul 06 2016 23:53
@Spazholio according to the documentation, there is no ADC available, so OS won't matter.
Paul Martin
@Spazholio
Jul 06 2016 23:54
I can’t speak to that, I just know that under Yocto you can get voltage info, under Ubilinux, you cannot.
(yet)
Brett
@burgertime14
Jul 06 2016 23:57
@Spazholio This is from experience, or just the post that talks about some C code that could be used (that references an analog device or ADC)?
Brandon Faloona
@bfaloona
Jul 06 2016 23:57
Thanks @scottleibrand. I found this which helps explain the situation. https://groups.google.com/forum/#!msg/openaps-dev/Y5L2wmp3Jh4/UbKpRH9RBQAJ
Paul Martin
@Spazholio
Jul 06 2016 23:57
Oh no, experience.
Ben West
@bewest
Jul 06 2016 23:58
@burgertime14 your version sounds correct to me as well
Brandon Faloona
@bfaloona
Jul 06 2016 23:59
And thanks for the support @Spazholio! Ok my current timezone demands that I sleep now. :smile: Night all.
Ben West
@bewest
Jul 06 2016 23:59
my understanding is that you need to short a circuit to enable battery monitoring