ESPHome

From Wildsong
Revision as of 04:34, 30 September 2021 by Brian Wilson (talk | contribs)
Jump to navigationJump to search

Its home is at https://esphome.io

See the README but basically set up is

conda create -n esphome
conda activate esphome
pip install esphome

Then build a yaml file, possibly with

esphome wizard esp12e.yaml

and install

esphome run esp12e.yaml

My yaml file includes "ota:" which adds the "over-the-air" updates capability. After the first successful upload over USB, it is faster to use OTA subsquently, and it is no longer necessary to pull the (for example) Martin Jerry S-01 switch out of the wall to update it, it can happen over-the-air and in-the-wall.

Check /etc/hosts on Bellman to find the correct IP address; this is for wemos2

esphome --device 192.168.123.204 --client-id wemos2 --verbose run wemos2.yaml