Thanks!
For the watersensor i can keep it short. Mainly i followed the same tutorial / reading out my watermeter with a print from Thingiverse to hold it in place. I used @cmartens his way of soldering the meter.
with the followeing ESP home code:
esphome:
name: watermeter
platform: ESP8266
board: d1_mini
wifi:
ssid: "XYZ"
password: !secret WIFI_Password
fast_connect: true
manual_ip:
static_ip: 192.1.1.1
gateway: 192.1.1.1
subnet: 255.255.255.0
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Watermeter Fallback Hotspot"
password: "password_here"
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
password: !secret API_Password
ota:
password: !secret OTA_Password
sensor:
- platform: pulse_counter
pin: 14
name: "water_per_second"
update_interval : 1s
accuracy_decimals: 0
unit_of_measurement: 'Liter'
filters:
- multiply: 0.016666667
More information here -> ESPHome Water meter: convert liter/min to liters per day