Application for Pimoroni Badger 2040 W. Connects to Home Assistant to fetch a plant's status and displays it on the Badger.
Go to file
2024-01-20 08:45:24 +01:00
.idea update firmware 2024-01-13 00:56:19 +01:00
contrib Remove scad file 2023-03-13 21:09:18 +01:00
src update firmware 2024-01-13 00:56:19 +01:00
test Fix DST 2023-03-27 20:41:19 +02:00
.gitattributes Add enclosure 2023-03-13 16:46:03 +01:00
.gitignore Ignore future images 2023-03-12 10:53:14 +01:00
.mise.toml rename rtx to mise 2024-01-20 08:45:24 +01:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate 2023-11-13 21:25:40 +00:00
LICENSE Create LICENSE 2023-03-10 20:41:09 +01:00
provisioning.yaml update firmware 2024-01-13 00:56:19 +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 Fix DST 2023-03-27 20:41:19 +02:00
tasks.py Cleanup more files before provisioning 2023-03-27 20:55:59 +02: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>