Jonathan Hodgson
e6a314b0dc
|
4 years ago | |
---|---|---|
.gitattributes | 4 years ago | |
.gitignore | 4 years ago | |
README.md | 4 years ago | |
bedroom-celing-light.yaml | 4 years ago | |
bedroom-lamp.yaml | 4 years ago | |
bedroom-switch.yaml | 4 years ago | |
hall-celing-light.yaml | 4 years ago | |
heated-blanket.yaml | 4 years ago | |
kettle.yaml | 4 years ago | |
lounge-arch.yaml | 4 years ago | |
lounge-celing-light.yaml | 4 years ago | |
lounge-light-1.yaml | 4 years ago | |
lounge-light-2.yaml | 4 years ago | |
lounge-switch.yaml | 4 years ago | |
secrets.yaml | 4 years ago | |
study-celing-light.yaml | 4 years ago |
README.md
My ESPHome Config
ESPHome is a project for controlling ESP8266 and other similar chips. These are commonly used in Chinese smart devices.
This firmware works very well with Home Assistant which is why I use it.
Smart Bulbs
I currently use the BlitzWolf_BW LT21 bulbs. The ones I bought all came with an old version of the Tuya firmware which allowed me to use Tuya Convert to flash them without the need to take them apart.
Wall Switches
I currently use the Sonoff T1 switches with varying numbers of buttons.
In order to differentiate between single, double and hold clicks, I don't publish the internal binary sensor state (on of off). Instead I create a text sensor that can have the states of "single", "double", "hold" or "" (empty string).
In order to use this as a home assistant trigger, I do set Trigger Type
to
state
, then the entity is the name of the text sensor.
I leave from
and for
blank, and set to
to single
, double
, or hold
.