initial commit
This commit is contained in:
commit
cbe4f0d409
3 changed files with 71 additions and 0 deletions
16
Makefile
Normal file
16
Makefile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue