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
pre-commit-ci[bot] 555271616b
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 23.3.0 → 23.7.0](https://github.com/psf/black/compare/23.3.0...23.7.0)
2023-07-11 08:20:03 +00:00
.idea Fix DST 2023-03-27 20:41:19 +02:00
contrib Remove scad file 2023-03-13 21:09:18 +01:00
src Remove splash screen 2023-04-28 09:43:24 +02:00
test Fix DST 2023-03-27 20:41:19 +02: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 [pre-commit.ci] pre-commit autoupdate 2023-07-11 08:20:03 +00: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 provisioning file 2023-03-21 16:04:15 +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>