Jonathan Hodgson
e60b96d6e5
|
3 月之前 | |
---|---|---|
build/bedroom-atom-echo/media | 3 月之前 | |
common | 3 月之前 | |
devices | 3 月之前 | |
.gitattributes | 3 年之前 | |
.gitignore | 3 年之前 | |
README.md | 3 年之前 | |
bathroom-lightswitch.yaml | 3 月之前 | |
bedroom-atom-echo.yaml | 3 月之前 | |
bedroom-bluetooth.yaml | 3 月之前 | |
bedroom-lamp.yaml | 3 月之前 | |
bedroom-lightswitch.yaml | 3 月之前 | |
cloakroom-lightswitch.yaml | 3 月之前 | |
ensuite-lightswitch.yaml | 3 月之前 | |
green-wax-melt.yaml | 3 月之前 | |
grey-wax-melt.yaml | 3 月之前 | |
hall-by-front-door.yaml | 3 月之前 | |
heated-blanket.yaml | 3 月之前 | |
heating-downstairs.yaml | 3 月之前 | |
heating-upstairs.bac | 3 月之前 | |
heating-upstairs.yaml | 3 月之前 | |
kitchen.yaml | 3 月之前 | |
landing-lightswitch.yaml | 3 月之前 | |
lounge-by-garden.yaml | 3 月之前 | |
lounge-by-hall.yaml | 3 月之前 | |
lounge-lamp.yaml | 3 月之前 | |
lounge-light-1.yaml | 3 月之前 | |
lounge-light-2.yaml | 3 月之前 | |
man-cave-desk.yaml | 3 月之前 | |
man-cave-lightswitch.yaml | 3 月之前 | |
office-atom-echo.yaml | 3 月之前 | |
spare-room-lamp.yaml | 3 月之前 | |
spare-room-lightswitch.yaml | 3 月之前 | |
tv-switch.yaml | 3 月之前 |
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
.