Application for Pimoroni Badger 2040 W. Connects to Home Assistant to fetch a plant's status and displays it on the Badger.
Find a file
2023-03-10 20:41:09 +01:00
.idea Implement a very basic HA client 2023-03-10 14:17:30 +01:00
src add secrets template 2023-03-10 20:38:21 +01:00
.envrc Initial commit 2023-03-10 12:19:42 +01:00
.gitignore Implement a very basic HA client 2023-03-10 14:17:30 +01:00
.pre-commit-config.yaml Implement a very basic HA client 2023-03-10 14:17:30 +01:00
.tool-versions Initial commit 2023-03-10 12:19:42 +01:00
LICENSE Create LICENSE 2023-03-10 20:41:09 +01:00
README.md Update readme 2023-03-10 20:39:58 +01:00
requirements-pycharm.txt Implement a very basic HA client 2023-03-10 14:17:30 +01:00
requirements.txt Implement a very basic HA client 2023-03-10 14:17:30 +01:00
tasks.py Implement a very basic HA client 2023-03-10 14:17:30 +01:00

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 wipe the board
inv wipe <board_id>
# Then run the initial setup
inv initial-setup <board_id>
# After that, just update the code when changes are made locally
inv update-code <board_id>