2022-10-01 16:49:18
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
Je smartt meter uitlezen in homeassistant met esphome
|
||||||
|
|
||||||
|
schema bijgesloten
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 170 KiB |
@@ -0,0 +1,76 @@
|
|||||||
|
esphome:
|
||||||
|
name: p1
|
||||||
|
platform: ESP8266
|
||||||
|
board: d1_mini
|
||||||
|
|
||||||
|
# Enable logging
|
||||||
|
logger:
|
||||||
|
baud_rate: 0
|
||||||
|
|
||||||
|
# Enable Home Assistant API
|
||||||
|
api:
|
||||||
|
reboot_timeout: 0s
|
||||||
|
|
||||||
|
ota:
|
||||||
|
password: !secret ota
|
||||||
|
|
||||||
|
wifi:
|
||||||
|
networks:
|
||||||
|
- ssid: !secret wifi_ssid
|
||||||
|
password: !secret wifi_password
|
||||||
|
- ssid: !secret wifi_ssid2
|
||||||
|
password: !secret wifi_password2
|
||||||
|
|
||||||
|
domain: .lan
|
||||||
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||||
|
ap:
|
||||||
|
ssid: !secret ap_ssid
|
||||||
|
password: !secret ap_password
|
||||||
|
|
||||||
|
web_server:
|
||||||
|
port: 80
|
||||||
|
|
||||||
|
captive_portal:
|
||||||
|
|
||||||
|
time:
|
||||||
|
- platform: sntp
|
||||||
|
id: time1
|
||||||
|
timezone: Europe/Amsterdam
|
||||||
|
|
||||||
|
|
||||||
|
status_led:
|
||||||
|
pin:
|
||||||
|
number: GPIO2
|
||||||
|
inverted: True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
mqtt:
|
||||||
|
broker: mqtt.lan
|
||||||
|
discovery: true
|
||||||
|
|
||||||
|
dsmr:
|
||||||
|
id: dsmr_instance
|
||||||
|
|
||||||
|
uart:
|
||||||
|
- rx_pin: RX
|
||||||
|
baud_rate: 115200
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: dsmr
|
||||||
|
energy_delivered_tariff1:
|
||||||
|
name: Energy Tarief 1
|
||||||
|
energy_delivered_tariff2:
|
||||||
|
name: Energy Tarief 2
|
||||||
|
power_delivered:
|
||||||
|
name: Power
|
||||||
|
gas_delivered:
|
||||||
|
name: Gas
|
||||||
|
# tarief 1 is dal tarief!!!
|
||||||
|
|
||||||
|
text_sensor:
|
||||||
|
- platform: dsmr
|
||||||
|
identification:
|
||||||
|
name: "DSMR Identification"
|
||||||
|
p1_version:
|
||||||
|
name: "DSMR Version"
|
||||||
Reference in New Issue
Block a user