-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmcu-fireplace-old.yaml
48 lines (41 loc) · 948 Bytes
/
mcu-fireplace-old.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
substitutions:
device: fireplace-old
name: Heating Fireplace
comment: "OBSOLETE | Ground floor, Kitchen: Fireplace monitoring for heating"
esphome:
name: mcu-${device}
comment: ${comment}
esp8266:
board: esp01_1m
# wifi:
# use_address: mcu-fireplace.local
packages:
common: !include common/common_esp8266.yaml
one_wire:
- platform: gpio
pin: 4
binary_sensor:
- platform: template
name: "${name} Fire"
lambda: |-
if (id(heating_fireplace_temperature).state > 37.5) {
return true;
} else {
return false;
}
sensor:
- platform: dallas_temp
address: 0x6203168B32A7FF28
# index: 0
name: "${name}"
id: 'heating_fireplace_temperature'
- platform: dht
pin: 14
temperature:
name: "Kitchen Temperature"
id: 'kitchen_temperature'
humidity:
name: "Kitchen Humidity"
id: 'kitchen_humidity'
update_interval: 60s
model: si7021