Talk to my test insulin pump over the internet. Requires socat
and python 2.7
. The script./bin/socat_run_app.sh
will connect to my server, bewest.io:8080
where my test insulin pump, serial208850
is waiting to talk to you.
Here's an example using my scripts:
$ git checkout -b tester # create a new branch with just your stuff, please $ . ./bin/common # import some handy run_* functions $ ./bin/socat_run_app.sh & # get my test insulin pump from bewest.io:8080 $ ls carelink.ttyUSB0 # creates this thing carelink.ttyUSB0 $ ./status-quo.sh ./carelink.ttyUSB0 [...] $ PORT=./carelink.ttyUSB0 SERIAL=208850 run_download [...]
Try figuring out the dosing commands. Is it possible to rewind the pump? Is it possible to enter new profiles and schedules?