-
Notifications
You must be signed in to change notification settings - Fork 0
/
digoo-rf-sensors.yaml
109 lines (90 loc) · 2.21 KB
/
digoo-rf-sensors.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
esphome:
name: rf-sensor
friendly_name: rf-sensor
project:
name: esphome.web
version: '1.0'
esp8266:
board: d1_mini
# Enable logging
logger:
level: DEBUG
# Enable Home Assistant API
api:
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Rf-Sensor Fallback Hotspot"
password: "1nMPy4vSePyB"
captive_portal:
dashboard_import:
package_import_url: github://esphome/example-configs/esphome-web/esp8266.yaml@main
import_full_config: true
# To have a "next url" for improv serial
web_server:
external_components:
source: github://DonKracho/ESPHome-External-Components/components@main
refresh: 0s
rf_scanner:
data_pin: GPIO13 # pin where the 433MHZ receiver data output is connected to
led_pin: GPIO2 # optional for scanning feedback via onboard LED
id: my_scanner
sensor: # force switch source to be added used by internal temperatur, humidity and precipiation sensors
text_sensor:
- platform: rf_scanner
name: 'Carport'
rf_scanner: my_scanner
id: carport
rfid: 179
chan: 0
temperature:
name: "Carport Temp"
humidity:
name: "Carport Humi"
- platform: rf_scanner
name: 'Holzhaus'
rf_scanner: my_scanner
id: holzhaus
rfid: 20
chan: 1
temperature:
name: "Holzhaus Temp"
humidity:
name: "Holzhaus Humi"
- platform: rf_scanner
name: 'Gewächshaus'
rf_scanner: my_scanner
id: gewaechshaus
rfid: 135
chan: 2
temperature:
name: "Gewächshaus Temp"
humidity:
name: "Gewächshaus Humi"
- platform: rf_scanner
name: 'Kühlschrank'
rf_scanner: my_scanner
id: kuehlschrank
rfid: 124
chan: 0
temperature:
name: "Kühlschrank Temp"
humidity:
name: "Kühlschrank Humi"
- platform: rf_scanner
name: 'Niederschlag'
rf_scanner: my_scanner
id: niederschlag
rfid: 214
chan: 3
precipitation:
name: "Niederschlag abs."
# this dummy sensor catches all sensors not defined before
# also used to get the new rfid after battery change
- platform: rf_scanner
name: 'Unbekannt'
rf_scanner: my_scanner
id: unbekannt