ESPHome: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
mNo edit summary
Line 22: Line 22:
Check /etc/hosts on Bellman to find the correct IP address; this is for wemos2
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
  esphome --device 192.168.123.204 --client-id wemos2 --verbose run wemos2.yaml
== Resources ==
[https://esphome.io ESPHome page]
[https://esphome.io/guides/automations.html Automations]

Revision as of 02:16, 2 October 2021

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

Resources

ESPHome page Automations