With the lsusb
output above, you can use linux software, written in python or node, to talk fetch logs from your pump.
You didn't specify exactly what you are trying to do, but if you want to fetch information from the pump and save it in, eg a json file, you can use the mm-latest.py
script to do that in Ubuntu.
To create a serial device, insert.sh
from the decoding-carelink package Which runs:
#Bus 002 Device 011: ID 0a21:8001 Medtronic Physio Control Corp.
sudo modprobe --first-time usbserial vendor=0x0a21 product=0x8001
Now any linux tool of your choice can talk to the pump, so long as it knows how to use the pump's protocol.
There is some software available to do this:
openaps
There's a tool called openaps.
This provides a number of commands, replete with tab-completion.
Installing:
# install openaps from pypi
sudo easy_install -ZU openaps
Now we can create a new instance of openaps, and begin using the devices we'll configure:
openaps init my.openaps # creates new subdirectory/git repo called my.openaps
openaps device add pump medtronic AABBCC # where AABBCC is your serial number
openaps use pump read_clock # to read current clock
openaps use pump iter_pump 100 # for last 100 pump records
openaps use pump -h # for menu of all commands
The system will also aide in storing the results to files tracked by the git repo.
decoding-carelink
Under the hood openaps is using decoding-carelink to talk to the pump.
This is like a curl
and libcurl
for medtronic pumps, it exposes a python library for getting data from the pumps, as well as some useful commandline tools to do common tasks, such as retrieving logs from specified time period. There are also some udev rules provided to help create the serial device automatically..
comlink2-uart
- in node js, comlink2-uart provides javascript bindings for similar purposes
Once you get the data, you can use your favorite visualization program to share or visualize the data.
So the alternatives to windows and carelink software are the these two projects, which liberates your data on your own terms.
Windows machine
that is not required; all you need is a license to legally use Windows. And if students in Europe can get one for less than 25 euro you should be able too ;)