-
Notifications
You must be signed in to change notification settings - Fork 0
/
r-hub.yaml
66 lines (53 loc) · 1.04 KB
/
r-hub.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
esphome:
name: "r-hub"
friendly_name: R-Hub
esp32:
board: m5stack-atom
framework:
# type: arduino
type: esp-idf
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: !secret api_encryption_key
ota:
- platform: esphome
password: !secret ota_password
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
password: !secret ap_password
captive_portal:
# enable BLE proxy
esp32_ble_tracker:
scan_parameters:
interval: 1100ms
window: 1100ms
active: true
bluetooth_proxy:
active: true
i2c:
- sda: 26
scl: 32
sensor:
# CO2 sensor:
- platform: scd4x
update_interval: 5min
co2:
name: "CO2"
temperature:
name: "Temperature"
humidity:
name: "Humidity"
# diagnostics:
- platform: wifi_signal
name: WiFi Signal Strength
update_interval: 60s
entity_category: "diagnostic"
- platform: uptime
name: Uptime
entity_category: "diagnostic"