Рет қаралды 7,667
Today, let me revisit the time-based shade actuators. The solution I used till now was using Sonoff 4ch switch, with a custom Arduino code - because when I did them, ESPHome did not exist yet, and controlling the timing from Home Assistant would not work - the tilt angle is quite sensitive to timing.
So what I have done now is, I moved it to ESPHome. That will hopefully make it easier to adapt it to other smart switches, like Shelly. The Roller Shutter uses a standard time-based cover, but for the Venetian Blinds, I made a custom component, that is very easy to use. Just add an external component to the ESPHome file:
external_components:
- source:
type: git
url: github.com/bruxy70/Venetian-B...
ref: master
components: [ venetian_blinds ]
..configure it the same as time-based cover, but use venetian_blinds for the platform and add
tilt_duration, next to open and close duration. That's it
00:00 - intro
01:56 - before you post comments....
03:43 - Roller shutter - time-based cover
09:07 - Venetian blinds - custom component (GitHub)
11:11 - upgrading
13:22 - outro
Join us on my Discord channel / discord