-
Notifications
You must be signed in to change notification settings - Fork 0
/
waremacontrol.yaml
89 lines (71 loc) · 1.88 KB
/
waremacontrol.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
esphome:
name: waremacontrol
includes:
- warema_blind_component.h
libraries:
- "rc-switch"
esp8266:
board: nodemcuv2
mqtt:
broker: {{mroker}}
username: mqtt-user
password: !secret mqtt_password
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: ...
ota:
password: ...
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Waremacontrol Fallback Hotspot"
password: ...
captive_portal:
custom_component:
- lambda: |-
auto my_custom = new WaremaBlindComponent(D6, "waremacontrol");
return {my_custom};
remote_transmitter:
pin: D6
# RF uses a 100% carrier signal
carrier_duty_percent: 100%
cover:
- platform: time_based
name: "Rollo1"
has_built_in_endstop: true
open_action:
- mqtt.publish:
topic: waremacontrol/command/waremablind
payload: "S01110100111111S010011100S000010001S"
open_duration: 24sec
close_action:
- mqtt.publish:
topic: waremacontrol/command/waremablind
payload: "S01110100111110S010011100S000010001S"
close_duration: 24sec
stop_action:
- mqtt.publish:
topic: waremacontrol/command/waremablind
payload: "S00110100111001S010011100S000010001S"
- platform: time_based
name: "Rollo2"
has_built_in_endstop: true
open_action:
- mqtt.publish:
topic: waremacontrol/command/waremablind
payload: "S01110100110111S010111001S000111101S"
open_duration: 24sec
close_action:
- mqtt.publish:
topic: waremacontrol/command/waremablind
payload: "S01110100110110S010111001S000111101S"
close_duration: 24sec
stop_action:
- mqtt.publish:
topic: waremacontrol/command/waremablind
payload: "S00110100110001S010111001S000111101S"