-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgreenhouse-1.yaml
66 lines (54 loc) · 1.14 KB
/
greenhouse-1.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: greenhouse-1
esp32:
board: az-delivery-devkit-v4
# Enable logging
logger:
# Enable Home Assistant API
api:
password: !secret ha_api_password
ota:
platform: esphome
password: !secret ha_ota_password
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_passphrase
# Enable fallback hotspot
ap:
ssid: !secret wifi_fallback_ssid
password: !secret wifi_fallback_passphrase
web_server:
port: 80
# Sync time with Home Assistant
time:
- platform: homeassistant
id: homeassistant_time
# Text sensors with general information
text_sensor:
# Expose ESPHome version as sensor
- platform: version
name: ESPHome Version
# Expose WiFi information as sensors
- platform: wifi_info
ip_address:
name: IP
ssid:
name: SSID
bssid:
name: BSSID
sensor:
# Temperature / Humidity
- platform: dht
pin: D2
temperature:
name: "Greenhouse Temperature"
humidity:
name: "Greenhouse Humidity"
update_interval: 180s
# Uptime
- platform: uptime
name: Uptime
# WiFi Signal Strength
- platform: wifi_signal
name: WiFi Signal
update_interval: 60s