diff --git a/README.md b/README.md index f5208de..3b3bcf9 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,33 @@ $ esphome run file.yaml Look up list of runnable files inside `reflash.sh` script. +## Running remotely + +If you don't have esphome installed on a computer that you connect ESP chip to, +use https://web.esphome.io/ to upload the compiled binary. + +The binary resides in +`.esphome/build//.pioenvs//firmware.factory.bin`. + +## Cleaning up removed MQTT entities + +This can be done via `clean-mqtt` command line: + +```shell +$ esphome clean-mqtt spare-power-meter.yaml \ + --topic homeassistant/binary_sensor///config +``` + +or + +```shell +$ esphome clean-mqtt spare-power-meter.yaml \ + --topic homeassistant/+//# +``` + +When `--topic` is specified, the YAML file will only be used to extract MQTT +credentials. All other topics will remain untouched. + ## Hardware: heating ### Photoresistor