decoding-carelink updates: press keys, temp rates, suspend/resume

33 views
Skip to first unread message

Benjamin West

unread,
Apr 6, 2014, 12:26:42 PM4/6/14
to MeDevice List
Howdy all,

There have been a number of updates to decoding-carelink.
The easiest way to summarize is by listing the new tools available,
which should allow people to do exercise some amount of "command and
control."

These tools were created directly as a result of people chiming in and
asking for things. Many thanks, keep the suggestions and ideas
rolling in.

List of the new tools below. These are for educational use only. :-)

https://github.com/bewest/decoding-carelink

-bewest


./bin/set_temp_rate.py

usage: set_temp_rate.py [-h] [--serial SERIAL] [--port PORT]
[--duration DURATION] [--rate RATE]

optional arguments:
-h, --help show this help message and exit
--serial SERIAL serial number of pump [default: ]
--port PORT Path to device [default: ]
--duration DURATION Duration of temp rate [default: 0)]
--rate RATE Rate of temp basal [default: 0)]

Eg:

./bin/set_temp_rate.py --duration 60 --rate 2.0

Duration is in minutes, must be in 30 minute intervals! Rate is float,
describing units per hour. Smallest rate is 0.025, and increments by
that mount.

./bin/mm-set-suspend.py

usage: mm-set-suspend.py [-h] [--serial SERIAL] [--port PORT] [--no-op] [-v]
[--init]
{query,suspend,resume} [{query,suspend,resume} ...]

positional arguments:
{query,suspend,resume}
Set or query pump status [default: query)]

optional arguments:
-h, --help show this help message and exit
--serial SERIAL serial number of pump [default: ]
--port PORT Path to device [default: ]
--no-op Dry run, don't do main function
-v, --verbose Verbosity
--init Send power ctrl to initialize RF session.

./bin/mm-press-key.py

usage: mm-press-key.py [-h] [--serial SERIAL] [--port PORT] [--no-op] [-v]
[--init]
{act,esc,up,down,easy} [{act,esc,up,down,easy} ...]

positional arguments:
{act,esc,up,down,easy}
buttons to press [default: act)]

optional arguments:
-h, --help show this help message and exit
--serial SERIAL serial number of pump [default: ]
--port PORT Path to device [default: ]
--no-op Dry run, don't do main function
-v, --verbose Verbosity
--init Send power ctrl to initialize RF session.
Reply all
Reply to author
Forward
0 new messages