initial commit

This commit is contained in:
David Kilias 2022-11-13 18:09:06 +01:00
commit cbe4f0d409
3 changed files with 71 additions and 0 deletions

16
Makefile Normal file
View file

@ -0,0 +1,16 @@
PORT = /dev/ttyUSB5
PROJECT = livingroom.yaml
.PHONY: esphome, wizard, upload
esphome:
docker pull esphome/esphome
wizard:
docker run --rm -v "${PWD}":/config -it -u $(shell id -u) esphome/esphome wizard $(PROJECT)
upload:
docker run --rm -v "${PWD}":/config --device=$(PORT) -it esphome/esphome run $(PROJECT)
dashboard:
docker run --rm --net=host -v "${PWD}":/config -it -u $(shell id -u) esphome/esphome