initial commit
This commit is contained in:
69
esphome/esp8266-p1-meter.yaml
Normal file
69
esphome/esp8266-p1-meter.yaml
Normal file
@@ -0,0 +1,69 @@
|
||||
esphome:
|
||||
name: esp8266-p1-meter
|
||||
|
||||
esp8266:
|
||||
board: esp01_1m
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
baud_rate: 0
|
||||
level: DEBUG
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
encryption:
|
||||
key: "rl7h1lxgaeutnmINJ2mJ3WOWtzUX1AfebHnidDJJdXA="
|
||||
|
||||
ota:
|
||||
password: "122afb0ac402638f10972a8d97256f6f"
|
||||
|
||||
wifi:
|
||||
ssid: !secret wifi_ssid
|
||||
password: !secret wifi_password
|
||||
|
||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||
ap:
|
||||
ssid: "Esp8266-P1-Meter"
|
||||
password: "pKpA1k7rR6K9"
|
||||
|
||||
captive_portal:
|
||||
|
||||
font:
|
||||
# gfonts://family[@weight]
|
||||
- file: "gfonts://Roboto"
|
||||
id: roboto
|
||||
size: 20
|
||||
|
||||
uart:
|
||||
rx_pin: GPIO13
|
||||
baud_rate: 115200
|
||||
rx_buffer_size: 1700
|
||||
|
||||
status_led:
|
||||
pin: GPIO2
|
||||
|
||||
dsmr:
|
||||
|
||||
sensor:
|
||||
- platform: dsmr
|
||||
energy_delivered_tariff1:
|
||||
name: Energy Consumed Tariff 1
|
||||
|
||||
text_sensor:
|
||||
- platform: dsmr
|
||||
identification:
|
||||
name: "DSMR Identification"
|
||||
p1_version:
|
||||
name: "DSMR Version"
|
||||
|
||||
# Example configuration entry
|
||||
i2c:
|
||||
sda: 4
|
||||
scl: 5
|
||||
|
||||
display:
|
||||
- platform: ssd1306_i2c
|
||||
model: "SSD1306 128x64"
|
||||
address: 0x3C
|
||||
lambda: |-
|
||||
it.print(0, 0, id(roboto), "Hello World!");
|
||||
Reference in New Issue
Block a user