-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathesp32-bt.yaml
78 lines (61 loc) · 1.31 KB
/
esp32-bt.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
esphome:
name: esp32-bt
esp32:
board: nodemcu-32s
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "IwUQv5JSW597zyxH6Mjgq+XjHNHxTWRjpUsyqZ8gpfs="
ota:
password: "01e5d1154289d6f6a8c9a176d77baba1"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp32-Bt Fallback Hotspot"
password: "0knVJoiPYaAn"
captive_portal:
bluetooth_proxy:
# Temp sensor 1 for soil temp
dallas:
- pin: GPIO27
update_interval: 30s
# Status lights
switch:
- platform: gpio
pin: 33
name: "Green Led"
- platform: gpio
pin: 32
name: "Red Led"
# This is where all the sensors go
sensor:
# Black Sleeved Dallas temp sensor
- platform: dallas
address: 0x8e000000026d2428
name: "Garage Lightroom Citrus Temp"
# DHT11 sensor top shelf
- platform: dht
pin: 25
temperature:
name: "Garage Lightroom Temperature"
humidity:
name: "Garage Lightroom Humidity"
update_interval: 30s
model: DHT11
# LED PWN part
output:
- platform: ledc
pin: 26
id: gpio_26
frequency: 1220Hz
# HomeAssistant part
light:
- platform: monochromatic
output: gpio_26
name: "Garage Lightroom Citrus LED"