These are chat archives for nightscout/intend-to-bolus
$ sudo lsusb unable to initialize libusb: -99
dpkg-reconfigure tzdataand rebooted.
dateshows PST, but the openaps
zonetool keeps picking up UTC instead
openaps report invoke monitor/upload-status.json ns-status://JSON/shell/monitor/upload-status.json monitor/upload-status.json raised [Errno 2] No such file or directory Traceback (most recent call last): File "/usr/local/bin/openaps-report", line 4, in <module> __import__('pkg_resources').run_script('openaps==0.0.9', 'openaps-report') File "/usr/local/lib/python2.7/dist-packages/setuptools-19.6-py2.7.egg/pkg_resources/__init__.py", line 727, in run_script self.require(requires).run_script(script_name, ns) File "/usr/local/lib/python2.7/dist-packages/setuptools-19.6-py2.7.egg/pkg_resources/__init__.py", line 1652, in run_script exec(code, namespace, namespace) File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/EGG-INFO/scripts/openaps-report", line 82, in <module> app( ) File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/openaps/cli/__init__.py", line 44, in __call__ self.run(self.args) File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/EGG-INFO/scripts/openaps-report", line 75, in run output = app(args, self) File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/openaps/cli/subcommand.py", line 50, in __call__ return self.method.main(args, app) File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/openaps/reports/invoke.py", line 40, in main output = task.method(args, app) File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/openaps/uses/use.py", line 45, in __call__ output = self.main(args, app) File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/openaps/vendors/process.py", line 81, in main proc = subprocess.Popen(command, stdout=PIPE) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
[device "ns-status"] fields = clock iob suggested enacted battery reservoir status cmd = ns-status vendor = openaps.vendors.process args =
@bewest Hello, I've successfully been able to update my NS OpenAPS plugin pill and the other pills but I haven't figured out how to automate the updating yet. I saw the discussion earlier, that I was talking to @jasoncalabrese and @scottleibrand, you chimed in and said using the ns-upload device was your preferred method to make this happen. I guess i'm wondering what I'm doing wrong and if there is anything particular in the ns-upload script that you created that might be causing my problem. For instance, when I issue the following command from my openaps folder, shortly after my loop runs, I successfully upload my status to the Nightscout OpenAPS plugin pill and also update my treatments all in one command.
pi@Ewer-Open-APS:~/Documents/openaps $ openaps status-upload ; (openaps latest-ns-treatment-time && openaps format-latest-nightscout-treatments) ; openaps upload-recent-treatments
But if I try to add that to my crontab file, I get messages complaining about entries.json not being created. I looked at your script and see that it's generating that entries.json real time dynamically and it looks like its doing a screen scrape to populate that entries.json. Am I understanding how that script works correctly?
pump.inias the only file as it is getting updated with the expires entry? what was the entry used for again?
--auto-initfeature will work better for carelink stick now
sudo dpkg -i *.deb
/usr/local/bin/bluetoothd --experimental &?
hci0: Type: BR/EDR Bus: USB BD Address: 5C:F3:70:75:C6:FA ACL MTU: 1021:8 SCO MTU: 64:1 UP RUNNING RX bytes:5160 acl:0 sco:0 events:317 errors:0 TX bytes:36144 acl:0 sco:0 commands:284 errors:0
openaps vendor add openxshareble?
openaps device add share openxshareble
openaps use configure --serial SM12345678
openaps use share iter_glucose 2
pi@socalAPS ~/red_1 $ openaps use share iter_glucose 2 Traceback (most recent call last): File "/usr/local/bin/openaps-use", line 4, in <module> __import__('pkg_resources').run_script('openaps==0.0.9', 'openaps-use') File "build/bdist.linux-armv7l/egg/pkg_resources/__init__.py", line 745, in run_script File "build/bdist.linux-armv7l/egg/pkg_resources/__init__.py", line 1670, in run_script File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/EGG-INFO/scripts/openaps-use", line 63, in <module> app( ) File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/openaps/cli/__init__.py", line 44, in __call__ self.run(self.args) File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/EGG-INFO/scripts/openaps-use", line 57, in run output = app(args, self) File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/openaps/uses/__init__.py", line 92, in __call__ return self.method.selected(args)(args, app) File "/usr/local/lib/python2.7/dist-packages/openaps-0.0.9-py2.7.egg/openaps/uses/__init__.py", line 31, in __call__ return self.method(args, app) File "/home/pi/openxshareble/openxshareble/__init__.py", line 89, in __call__ res = self.ble.run_mainloop_with(run, quit_with_loop=False) File "/home/pi/Adafruit_Python_BluefruitLE/Adafruit_BluefruitLE/bluez_dbus/provider.py", line 121, in _user_thread_main self._return_code = target() File "/home/pi/openxshareble/openxshareble/__init__.py", line 84, in run self.before_main(args, app) File "/home/pi/openxshareble/openxshareble/__init__.py", line 67, in before_main self.prolog(mac=mac) File "/home/pi/openxshareble/openxshareble/app.py", line 85, in prolog raise RuntimeError('Failed to find UART device!') RuntimeError: Failed to find UART device!
openaps use share list_dexcom
pi@socalAPS ~/red_1 $ openaps use share list_dexcom Searching for UART devices...
bluetoothctlfor the first time
list_dexcomI forgot the result ...
list_dexcomworking and then one failing...
bluetoothctlto pair successfully while being connected to xdrip on the phone.
npm -g ls oref0shows what is installed for oref0
npm show oref0 versionshows latest from npm I believe
exports.project = require('../package.json');?