-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
separate venv with bleak version for psk pairing
- Loading branch information
Showing
9 changed files
with
40 additions
and
55 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,13 +1,12 @@ | ||
#!/usr/bin/with-contenv bashio | ||
|
||
. /app/venv/bin/activate | ||
|
||
python install_bleak.py | ||
|
||
|
||
MQTT_HOST=$(bashio::services mqtt "host") | ||
MQTT_USER=$(bashio::services mqtt "username") | ||
MQTT_PASSWORD=$(bashio::services mqtt "password") | ||
|
||
MQTT_HOST=$MQTT_HOST MQTT_USER=$MQTT_USER MQTT_PASSWORD=$MQTT_PASSWORD python3 main.py | ||
/app/venv/bin/python3 main.py pair-only | ||
|
||
|
||
MQTT_HOST=$MQTT_HOST MQTT_USER=$MQTT_USER MQTT_PASSWORD=$MQTT_PASSWORD \ | ||
/app/venv/bin/python3 main.py | ||
|
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,14 +1,10 @@ | ||
#bleak | ||
#git+https://github.com/hbldh/bleak@ed0b1c1cddf3a2f01882512745199e0f8f4dfa68 #https://github.com/hbldh/bleak/pull/640 | ||
#git+https://github.com/jpeters-ml/bleak@ed0b1c1 | ||
git+https://github.com/jpeters-ml/bleak@feature/windowsPairing | ||
|
||
# bleak==0.20.2 # (installed with install_bleak.py) | ||
bleak==0.22.3 # see Dockerfile | ||
|
||
paho-mqtt==2.1.0 | ||
backoff | ||
crcmod | ||
|
||
#influxdb #optional (installed with install_bleak.py) | ||
#influxdb # see Dockerfile | ||
# the influxdb package appears to be not available from some platforms, so install it only if needed | ||
# see https://github.com/fl4p/batmon-ha/issues/147 (rpi 3) |