mirror of
https://github.com/Crocmagnon/plant-badger.git
synced 2024-09-07 22:57:35 +02:00
Application for Pimoroni Badger 2040 W. Connects to Home Assistant to fetch a plant's status and displays it on the Badger.
![]() updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0) |
||
---|---|---|
.idea | ||
contrib | ||
src | ||
test | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.tool-versions | ||
LICENSE | ||
provisioning.yaml | ||
README.md | ||
requirements-pycharm.txt | ||
requirements.txt | ||
tasks.py |
Plant Badger
Application for Pimoroni Badger 2040 W. Connects to Home Assistant to fetch a plant's status and displays it on the Badger.
Install dependencies
If you only manage this project from a shell, then you only need these dependencies.
pip install -r requirements.txt
When running with PyCharm, instead use requirements-pycharm.txt
:
pip install -r requirements-pycharm.txt
This will install dependencies required by PyCharm to run its MicroPython tools.
Invoke tasks
invoke --list
# Start by getting your board id
inv list
# Then provision the board
inv provision-all
# After that, just update the code when changes are made locally
inv update-code <board_id>