-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcabinet_fan.yaml
52 lines (45 loc) · 986 Bytes
/
cabinet_fan.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
substitutions:
device: cabinet_fan
name: Cabinet Fan
update_interval: 10min
esphome:
name: ${device}
platform: ESP8266
board: nodemcuv2
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
domain: !secret lan_domain
logger:
<<: !include common/api.yaml
<<: !include common/ota.yaml
<<: !include common/web_server.yaml
<<: !include common/text_sensors.yaml
<<: !include common/binary_sensor.yaml
<<: !include common/switch.yaml
dallas:
- pin: D2
sensor:
- !include common/sensor/wifi-signal.yaml
- !include common/sensor/uptime.yaml
- platform: dallas
address: 0x8F02131211EFAA28
name: "Cabinet Temperature"
filters:
- filter_out: nan
output:
- platform: esp8266_pwm
pin: D1
frequency: 25000 Hz
id: fanout_1
- platform: esp8266_pwm
pin: D3
frequency: 25000 Hz
id: fanout_2
fan:
- platform: speed
output: fanout_1
name: ${name}_1
- platform: speed
output: fanout_2
name: ${name}_2