-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bringing wrapper back for manual runs
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
|
||
export MISCALE_MAC=00:00:00:00:00:00 # Mac address of your scale | ||
export MQTT_PREFIX=miScale | ||
|
||
export USER1_GT=70 # If the weight is greater than this number, we'll assume that we're weighing User #1 | ||
export USER1_SEX=male | ||
export USER1_NAME=Jo # Name of the user | ||
export USER1_HEIGHT=175 # Height (in cm) of the user | ||
export USER1_DOB=1990-01-01 # DOB (in yyyy-mm-dd format) | ||
|
||
export USER2_LT=35 # If the weight is less than this number, we'll assume that we're weighing User #2 | ||
export USER2_SEX=female | ||
export USER2_NAME=Sarah # Name of the user | ||
export USER2_HEIGHT=95 # Height (in cm) of the user | ||
export USER2_DOB=1990-01-01 # DOB (in yyyy-mm-dd format) | ||
|
||
export USER3_SEX=female | ||
export USER3_NAME=Missy # Name of the user | ||
export USER3_HEIGHT=150 # Height (in cm) of the user | ||
export USER3_DOB=1990-01-01 # DOB (in yyyy-mm-dd format) | ||
|
||
MY_PWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | ||
python3 $MY_PWD/Xiaomi_Scale.py |