Water Meter sensor - Australia, Victoria

I actually have ESPhome, works well.
I only used the contact sensor solution as I just done it for Gas and thats working perfectly, and since I had the components all laid out i was more curious if i could even get a reed sensor into the plug hole and detect something and it did.

I got a bunch of ESP8266s and ESP32s ready to go on hand also, and started compiling the code in espHome as I think thats the way to go.

sensor:
  - platform: pulse_meter
    pin: GPIO12
    name: "Instant water consumption"
    unit_of_measurement: "L/min"
    icon: "mdi:water"
    timeout: 1s
    accuracy_decimals: 3
    filters:
      - lambda: return (x / 2.0);
    total:
      name: "Total water consumption"
      unit_of_measurement: "m³"
      device_class: water
      state_class: total_increasing
      accuracy_decimals: 3
      icon: "mdi:water"
      filters:
        - lambda: return (x / 2000.0);

That code is taken from here: https://community.home-assistant.io/t/water-flow-meter-pulse-meter-included-esphome/418427 as it mentions multiple pulses per litre, and i adjusted it to 2 as that’s what it is for me.

The other reason for contact sensor was its low power using zigbee and its running off of 2 x AA rechargeables so i don’t need to source power for it. if I go ESP or pico i got to run it to the garage for power and run a lead over the concrete.

I appreciate your reply and i might even given that a shot to see what happens.