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

May 2018
Tim Mathis
May 26 2018 00:54
is there a way to wipe an edison install and start from scratch?
May 26 2018 01:00
Hey guys I've been trying to get my pebble to work with IFTTT, I'm not sure what I'm doing wrong. I have the widgets on my phone and even they don't run. I have triple checked URL, Maker Key, API Secret hash ect. I'm I missing something?
Benjamin Mammon
May 26 2018 01:38
Trying to update to 0.6.1 and got these errors
npm ERR! Linux 3.10.98-jubilinux-edison
npm ERR! argv "/home/.rootfs/usr/bin/node" "/usr/bin/npm" "install" "-g" "oref0"
npm ERR! node v6.14.2
npm ERR! npm  v3.10.10
npm ERR! path /home/.rootfs/usr/lib/node_modules/.staging/aws4-383694bd
npm ERR! code EXDEV
npm ERR! errno -18
npm ERR! syscall rename

npm ERR! EXDEV: cross-device link not permitted, rename '/home/.rootfs/usr/lib/node_modules/.staging/aws4-383694bd' -> '/home/.rootfs/usr/lib/node_modules/oref0/node_modules/aws4'
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <>

npm ERR! Please include the following file with any support request:
npm ERR!     /root/src/oref0/npm-debug.log
npm ERR! code 1
May 26 2018 05:58
@beetraps_twitter Tim Mathis, you should be able to go back, and start at the instructions for flashing Jubilinux...
May 26 2018 19:37

After updating to 0.6.1, I'm now seeing the following error show up very regularly: Starting oref0-pump-loop at Sat May 26 15:16:02 EDT 2018 with 29 second wait_for_silence:
MDT CGM configured; not waiting
Radio ok. Listening: .No interfering pump comms detected from other rigs (this is a good thing!)
Preflight OK.
Attempting to retrieve MDT CGM data from pump
MDT CGM data retrieved
No new MDT CGM data to reformat

Profile less than 60m old; Profile valid. Refreshed pumphistoryWarning: could not parse monitor/carbhistory.json
Warning: clock input Invalid Date is unzoned; please pass clock-zoned.json instead
and meal.json
Checking pump clock: "2018-05-26T15:08:45-04:00" is within 90s of current time: Sat May 26 15:16:59 EDT 2018
Pump clock is more than 55s off: attempting to reset it
Waiting for ntpd to synchronize... OK!
Setting pump time to Sat May 26 15:16:59 EDT 2018
IndexError: bytearray index out of range
Setting CGM time to Sat May 26 15:17:02 EDT 2018
openaps-use cgm: error: argument USAGE: invalid choice: 'UpdateTime' (choose from 'bolus', 'config', 'filter_glucose_date', 'filter_isig_date', 'iter_glucose', 'iter_glucose_hours', 'iter_pump', 'iter_pump_hours', 'mmtune', 'model', 'mytest', 'press_keys', 'read_basal_profile_A', 'read_basal_profile_B', 'read_basal_profile_std', 'read_battery_status', 'read_bg_targets', 'read_carb_ratios', 'read_clock', 'read_current_glucose_pages', 'read_current_history_pages', 'read_glucose_data', 'read_history_data', 'read_insulin_sensitivies', 'read_insulin_sensitivities', 'read_selected_basal_profile', 'read_settings', 'read_status', 'read_temp_basal', 'reservoir', 'resume_pump', 'set_clock', 'set_temp_basal', 'settings', 'status', 'suspend_pump', 'test_oref0_compat_menu')
Error: pump clock refresh error / mismatch
oref0-pump-loop failed. Listening for 40s silence before mmtuning: .No interfering pump comms detected from other rigs (this is a good thing!)
Running on a 722 pump, Enlite sensor, via Edison Explorer board.

The repeating error is the
openaps-use cgm: error: argument USAGE: invalid choice: 'UpdateTime' ...
Scott Leibrand
May 26 2018 23:31
That error doesn’t matter: we’re unnecessarily trying to set time on the CGM, which in your case is not a separate device. More concerning is: how often is the pump clock drifting that much and having to be reset?