You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a "wait-for-silence" alias so that multiple rigs can run simultaneously (Optional)
openaps alias add wait-for-silence '! bash -c "echo -n "Listening: "; for i in seq 1 40; do echo -n .; ~/mmeowlink-source/bin/mmeowlink-any-pump-comms.py --port [INSERT PORT PATH HERE WITHOUT BRACKETS] --wait-for 20 2>/dev/null | egrep -v subg | egrep No && break; done"'. If you add this as the first command in your preflight, this will check to see if there are any other current mmeowlink communications with your pump, and step aside if there are. Users have used this to run multiple rigs simultaneously. May require adding a sleep [some number] command at the beginning of your preflight for one rig to stagger things a bit.
The text was updated successfully, but these errors were encountered:
rkresha
changed the title
Adjust script to make use of the wait form comm
Adjust script to make use of the wait for comm
Sep 19, 2016
https://github.com/oskarpearson/mmeowlink/wiki/Installing-MMeowlink#adding-a-wait-for-silence-alias-so-that-multiple-rigs-can-run-simultaneously-optional
Adding a "wait-for-silence" alias so that multiple rigs can run simultaneously (Optional)
openaps alias add wait-for-silence '! bash -c "echo -n "Listening: "; for i in
seq 1 40
; do echo -n .; ~/mmeowlink-source/bin/mmeowlink-any-pump-comms.py --port [INSERT PORT PATH HERE WITHOUT BRACKETS] --wait-for 20 2>/dev/null | egrep -v subg | egrep No && break; done"'. If you add this as the first command in your preflight, this will check to see if there are any other current mmeowlink communications with your pump, and step aside if there are. Users have used this to run multiple rigs simultaneously. May require adding a sleep [some number] command at the beginning of your preflight for one rig to stagger things a bit.The text was updated successfully, but these errors were encountered: