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-21 14:51:36 +01:00
.idea Implement a very basic HA client 2023-03-10 14:17:30 +01:00
contrib Remove scad file 2023-03-13 21:09:18 +01:00
src Fix unit of measurement micro symbol 2023-03-21 14:51:36 +01:00
.envrc Initial commit 2023-03-10 12:19:42 +01:00
.gitattributes Add enclosure 2023-03-13 16:46:03 +01:00
.gitignore Ignore future images 2023-03-12 10:53:14 +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
provisioning.yaml Update board ids in provisioning 2023-03-13 22:26:00 +01:00
README.md Add provisioning file. 2023-03-13 21:59:56 +01:00
requirements-pycharm.txt Implement a very basic HA client 2023-03-10 14:17:30 +01:00
requirements.txt Add provisioning file. 2023-03-13 21:59:56 +01:00
tasks.py Allow updating code on all boards without wiping 2023-03-13 22:20:28 +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 provision the board
inv provision-all
# After that, just update the code when changes are made locally
inv update-code <board_id>