ESPHome: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Created page with "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, possi..."
 
Brian Wilson (talk | contribs)
mNo edit summary
Line 14: Line 14:


  esphome run esp12e.yaml
  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

Revision as of 04:34, 30 September 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