These are chat archives for nightscout/intend-to-bolus
killall -g --older-than 10m openaps
>&2? The former seems to truncate my logfile which I append all the tool output too, whereas
>&2seems to work
sudo oref0-reset-usband also rebooting the OS, but nothing works. Any ideas?
sudo mm-stick scanwould find the stick, even if the pump is out of range.
Attempting to use a port that is not openfrom /usr/lib/python2/.../serialposix.py
false, which sounds correct, but I'm not sure why.
@jlucasvt @Spazholio It's funny you mention the stick reset, I've never had that work properly. I have a Pi 2 and this is the result I get whenever I've tried it:
pi@openaps:~ $ sudo mm-stick reset-usb /usr/local/bin/mm-stick: line 73: cd: /sys/bus/pci/drivers/?hci_hcd: No such file or directory Weird error. Failed to change directory to /sys/bus/pci/drivers/?hci_hcd
As for the Git reset I have my startup script clear out any JSON files, delete the .git directory, and do a git init because otherwise like you said I get weird Git errors even if I reboot cleanly.
sudo oref0-reset-usbcommand @bfaloona used and it works. One more kink worked out just like you said.
settings/settings.json. Is that typical? I note there's a command
mm-send-comm.pybut the openaps command
read_selected_basal_profiledoesn't map to it
cd /home/pi/myopenaps && flock -xn /home/pi/myopenaps.lck -c "openaps loop &>> /tmp/output"