esphome_bme680/Makefile
2022-11-13 18:09:06 +01:00

16 lines
No EOL
415 B
Makefile

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