-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathelsner_weather_station_example.yaml
50 lines (35 loc) · 1.1 KB
/
elsner_weather_station_example.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
substitutions:
device_name: weatherstation
external_components:
- source: github://felixstorm/esphome-custom-components
components: [ elsner_weather_station ]
uart:
- id: uart_weather_station_rs485
rx_pin: 16 # weather station will send continously, no TX pin required
baud_rate: 19200 # 8N1 => default
elsner_weather_station:
uart_id: uart_weather_station_rs485 # optional, default is first uart
watchdog_timeout: 5s # optional, default is 5s
temperature:
name: ${device_name} temperature
sun_south:
name: ${device_name} sun_south
sun_west:
name: ${device_name} sun_west
sun_east:
name: ${device_name} sun_east
is_dark:
name: ${device_name} is_dark
illuminance:
name: ${device_name} illuminance
wind_speed:
name: ${device_name} wind_speed
filters:
- multiply: 3.6 # m/s => km/h
unit_of_measurement: 'km/h'
accuracy_decimals: 0
is_raining:
name: ${device_name} is_raining
# binary sensor which gets activated if no messages are received within watchdog_timeout
alarm:
name: ${device_name} alarm