-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathesp8266.yaml
64 lines (52 loc) · 1.31 KB
/
esp8266.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
substitutions:
device_name: slimmelezer
friendly_name: DSMR Reader
external_components:
- source: github://geduxas/esphome-dsmr-eso@main
refresh: 0s
esphome:
name: ${device_name}
platform: ESP8266
board: d1_mini
name_add_mac_suffix: false
project:
name: geduxas.esodsmr
version: "2.0"
wifi:
# remove leading '#' and fill in your wifi details
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: ${device_name}
captive_portal:
# Enable logging
logger:
baud_rate: 0
level: WARN
# Enable Home Assistant API
api:
encryption:
key: !secret api_key
ota:
- platform: esphome
password: !secret ota_password
#dashboard_import:
# package_import_url: github://geduxas/esphome-dsmr-eso/slimmelezer.yaml@main
# import_full_config: true
web_server:
port: 80
uart:
baud_rate: 115200
rx_pin: D7
rx_buffer_size: 3072
dsmr_eso:
id: dsmr_instance
max_telegram_length: 4096
# For Luxembourg users set here your decryption key
#decryption_key: !secret decryption_key // enable this when using decryption for Luxembourg; key like '00112233445566778899AABBCCDDEEFF'
button:
- platform: template
name: "Dump telemetry"
on_press:
- lambda: id(dsmr_instance).dump_telemetry();