1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 16:28:40 +00:00
dockerfiles/esphome
2024-01-03 18:42:13 +08:00
..
data update esphome 2024-01-03 18:42:13 +08:00
docker-compose.yml update esphome 2024-01-03 18:42:13 +08:00
README.md update esphome 2024-01-03 18:42:13 +08:00

esphome

ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.

up and running

$ docker-compose up -d
$ curl http://127.0.0.1:6052

flashing new device

$ udevadm info -q property -n /dev/ttyACM0 --property=ID_SERIAL
$ docker compose exec esphome bash
>>> cd /config
>>> esphome ibeacon.yaml run
====== [SUCCESS] Took 253.61 seconds ======
INFO Successfully compiled program.
Found multiple options for uploading, please choose one:
  [1] /dev/ttyACM0 (USB JTAG/serial debug unit)
  [2] Over The Air (esphome-esp32c3-ibeacon.local)
(number): 1
INFO Successfully uploaded program.
INFO Starting log output from /dev/ttyACM0 with baud rate 115200
^C
>>> ping esphome-esp32c3-ibeacon.lan
>>> exit