Skip to content

Sensor Definitions

This page provides detailed explanations of all sensors, controls, and entities available on the WaterP1MeterKit. Use this as a reference to understand what each value means and how to use it.

Source Code: View the complete ESPHome configuration on GitHub

Quick Navigation


Water Monitoring

The WaterP1MeterKit uses a pulse meter to detect water flow via a magnetic sensor that detects the rotating metal plate in your water meter.

📖 ESPHome Documentation: Pulse Meter Sensor

Water Sensors

EntityDescriptionUnit
Water Current UsageCurrent water flow rate. Shows real-time water consumption when tap is running.L/min
Water Total ConsumptionTotal water consumed since device boot. Use this for Energy Dashboard — Home Assistant tracks history even across reboots.

How It Works

  1. Detection: The sensor detects the rotating metal plate in your water meter
  2. Pulse counting: Each rotation = 1 liter of water
  3. Flow calculation: The sensor calculates flow rate based on pulse frequency
  4. LED feedback: Green LED flashes once per liter detected

Important Notes

  • The Water Total Consumption entity resets to 0 after a device reboot, but this is fine for the Energy Dashboard — Home Assistant tracks the total over time
  • Use Water Total Consumption (not Water Meter Total) for the Energy Dashboard
  • The sensor has a 200ms internal filter to debounce false pulses
  • Timeout is set to 2 minutes — flow rate returns to 0 if no pulse detected within this time

Energy Monitoring (P1/DSMR)

The WaterP1MeterKit reads data from your smart energy meter via the P1 port using the DSMR (Dutch Smart Meter Requirements) protocol.

📖 ESPHome Documentation: DSMR Component

Energy Consumption

EntityDescriptionUnit
Energy Consumed Tariff 1Total energy consumed during low tariff (usually night/weekend). Use for Energy Dashboard.kWh
Energy Consumed Tariff 2Total energy consumed during high tariff (usually daytime). Use for Energy Dashboard.kWh
Power ConsumedCurrent total power being consumed. Real-time power usage.W

Energy Production (Solar)

EntityDescriptionUnit
Energy Produced Tariff 1Total energy returned to grid during low tariff. Use for Energy Dashboard.kWh
Energy Produced Tariff 2Total energy returned to grid during high tariff. Use for Energy Dashboard.kWh
Power ProducedCurrent power being returned to grid. Real-time solar/battery export.W

Voltage Monitoring

EntityDescriptionUnit
Voltage Phase 1Current voltage on phase L1. Normal range: 220-240V.V
Voltage Phase 2Current voltage on phase L2 (3-phase only).V
Voltage Phase 3Current voltage on phase L3 (3-phase only).V

Current Monitoring

EntityDescriptionUnit
Current Phase 1Current amperage on phase L1.A
Current Phase 2Current amperage on phase L2 (3-phase only).A
Current Phase 3Current amperage on phase L3 (3-phase only).A

Per-Phase Power

EntityDescriptionUnit
Power Consumed Phase 1/2/3Power consumption per individual phase. Useful for load balancing.W
Power Produced Phase 1/2/3Power production (feed-back) per individual phase.W

Electricity Quality (Advanced)

These sensors help monitor the quality of your electricity supply:

EntityDescription
Electricity FailuresTotal number of power failures recorded by the meter.
Electricity Long FailuresTotal number of long (>3 min) power failures.
Voltage Sags Phase 1/2/3Number of voltage dips (brownouts) per phase.
Voltage Swells Phase 1/2/3Number of voltage surges per phase.

Tariff Information

EntityDescription
Electricity TariffCurrent active tariff (1 = low/night, 2 = high/day). Useful for automations to run appliances during cheap hours.

Belgium-Specific Sensors

These sensors are disabled by default but can be enabled for Belgian meters:

EntityDescription
Gas Consumed BelgiumGas consumption for Belgian meters (different protocol).
Current Average DemandActive energy import average demand.
Maximum Demand Current MonthPeak demand this month (for capacity tariff).
Maximum Demand Last 13 MonthsPeak demand over last 13 months.

Luxembourg-Specific Sensors

EntityDescription
Energy Consumed LuxembourgEnergy consumption for Luxembourg meters.
Energy Produced LuxembourgEnergy production for Luxembourg meters.

Gas Monitoring

Gas consumption is read via the P1 port from the gas meter connected to your smart meter.

EntityDescriptionUnit
Gas ConsumedTotal gas consumption. Updated approximately every hour by most meters. Use for Energy Dashboard.

Gas MBus Configuration

The gas meter communicates via MBus protocol. By default, MBus ID is set to 1. If your gas meter doesn't show data, you may need to change this to 2, 3, or 4.

⚠️ Gas not showing? See Usage Guide — Gas MBus Configuration for step-by-step instructions on changing the MBus ID.


Environment Sensors

The WaterP1MeterKit includes an HDC1080 temperature and humidity sensor for monitoring the environment at the device location.

📖 ESPHome Documentation: HDC1080 Sensor

EntityDescriptionUnit
TemperatureTemperature at the device location. Pre-calibrated with -4.5°C offset.°C
HumidityRelative humidity at the device location. Pre-calibrated with +12% offset.%

Use Cases

  • Monitor temperature in your meter cupboard
  • Detect humidity issues (potential moisture problems)
  • Set up alerts for extreme temperatures (frost protection)

Water Leak Sensor (V3 Only)

The WaterP1MeterKit V3 includes an expansion port for an optional water leak sensor.

EntityDescriptionStates
Water Leak SensorDetects presence of water at the sensor location.on = water detected, off = dry

Features

  • Debounced detection: 100ms delay before triggering on, 2s delay before returning to off
  • Device class: moisture — integrates with Home Assistant's water leak cards and automations
  • GPIO: Connected to GPIO2 with internal pull-up resistor

💡 Automation examples: See Usage Guide — Water Leak Automations for alert and shut-off valve automations.


Device Controls

Switches

EntityDescription
RestartRestarts the WaterP1MeterKit. Useful after configuration changes or if the device is unresponsive.

Buttons

EntityDescription
Factory ResetResets the device to factory defaults. Warning: This removes all configuration including WiFi credentials. Disabled by default for safety.

Selectors

EntityDescriptionOptions
Firmware TypeSelects which firmware variant to use for OTA updates.WiFi, Ethernet

How Firmware Type Works

The Firmware Type selector determines which firmware the device downloads during OTA updates:

  1. WiFi (default): Downloads WiFi firmware from smarthomeshop.github.io/waterp1meterkit/waterp1meterkit-vX-wifi-manifest.json
  2. Ethernet: Downloads Ethernet firmware from smarthomeshop.github.io/waterp1meterkit/waterp1meterkit-vX-ethernet-manifest.json

⚠️ Important: Changing from WiFi to Ethernet via this selector requires an active Ethernet cable connected. WiFi stops immediately when Ethernet firmware is installed!


Diagnostic Entities

Version Information

EntityDescription
ESPHome VersionThe ESPHome version running on the device.
Software VersionThe WaterP1MeterKit firmware version (e.g., "1.4").
Hardware VersionThe hardware version (V1, V2, or V3).

P1 Meter Information

EntityDescription
IdentificationYour smart meter's identification string.
VersionThe DSMR/ESMR protocol version of your meter.
Gas Equipment IDThe serial number of your gas meter (if connected).

Firmware Update

EntityDescription
Firmware UpdateShows available firmware updates. Install directly from Home Assistant.

LED Indicators

The WaterP1MeterKit has three LED indicators:

LEDBehaviorMeaning
GreenFlashes 1 secondWater pulse detected (1 liter)
RedSolid/flashingStatus LED — flashing indicates not connected to WiFi/Home Assistant
Blue/WhiteSolidDevice is powered on

Entity Naming Convention

All entities follow this naming pattern:

sensor.waterp1meterkit_[sensor_name]
binary_sensor.waterp1meterkit_[sensor_name]
switch.waterp1meterkit_[switch_name]
select.waterp1meterkit_[select_name]
button.waterp1meterkit_[button_name]

If you have multiple WaterP1MeterKits, the MAC address suffix ensures unique entity IDs.


ESPHome Configuration

For advanced users who want to customize their WaterP1MeterKit firmware:

🔧 Advanced Configuration: See Usage Guide — ESPHome Configuration for substitutions, sensor calibration, and customization options.


Need Help?