SmartHomeShop Docs

Sensor Definitions

This page provides detailed explanations of all sensors, controls, and entities available on the WaterFlowKit. 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 Flow Sensors

The WaterFlowKit supports:

  • WaterFlowKit V1: up to 2 flow sensors
  • WaterFlowKit V2: up to 4 flow sensors

Each connected sensor provides flow rate and total volume entities.

📖 ESPHome Documentation: Pulse Counter

Flow Rate (L/min)

Entity ID Description Unit
Flow1 Current water usage water_usage1 (V1: water_usage) Real-time flow rate through sensor 1 L/min
Flow2 Current water usage water_usage2 (V1: sens2_water_usage) Real-time flow rate through sensor 2 (if connected) L/min
Flow3 Current water usage water_usage3 Real-time flow rate through sensor 3 (V2 only) L/min
Flow4 Current water usage water_usage4 Real-time flow rate through sensor 4 (V2 only) L/min

Total Volume (L)

Entity ID Description Unit
Flow1 Total Consumption sensor_pulse_meter_total1 (V1: sensor_pulse_meter_total) Cumulative water volume through sensor 1. Use for Energy Dashboard. L
Flow2 Total Consumption sensor_pulse_meter_total2 (V1: sens_2_sensor_pulse_meter_total) Cumulative water volume through sensor 2. Use for Energy Dashboard. L
Flow3 Total Consumption sensor_pulse_meter_total3 Cumulative water volume through sensor 3. Use for Energy Dashboard. (V2 only) L
Flow4 Total Consumption sensor_pulse_meter_total4 Cumulative water volume through sensor 4. Use for Energy Dashboard. (V2 only) L

How It Works

The sensors use a turbine mechanism:

  1. Water flows through the sensor, spinning an internal turbine
  2. The turbine generates electrical pulses
  3. Each pulse represents a specific volume of water
  4. The WaterFlowKit counts pulses and calculates flow rate

Sensor Type and Calibration

The firmware converts pulses to liters with the Flow1 Sensor Type setting of each input (default YF-B1 / YF-B7). Fine-tune with Flow1 Calibration % (50-150%, default 100). See Usage Guide: Calibration.

Pulse Formulas by Sensor Model

Sensor Formula Approx. Pulses/Liter Calculated Multiply Value
YF-B1, YF-B7 F ≈ 11 × Q ~660 pulses/L 0.00151515
YF-B5, YF-B6 F ≈ 6.6 × Q ~396 pulses/L 0.00252525
YF-B10 F ≈ 7.5 × Q − 3 ~450 pulses/L 0.00222222
YF-DN40-S F ≈ 0.45 × Q ~27 pulses/L 0.03703704
YF-DN50-S F ≈ 0.20 × Q ~12 pulses/L 0.08333333

F = frequency (Hz), Q = flow rate (L/min)


Water Temperature Sensors

Available on YF-B7 and YF-B6 sensor models only.

📖 ESPHome Documentation: NTC Sensor

Entity ID Description Unit
Flow1 Water Temperature flow1_water_temperature Water temperature through flow sensor 1 °C
Flow2 Water Temperature (V1: Flow2 Temperature) flow2_water_temperature Water temperature through flow sensor 2 °C
Flow3 Water Temperature flow3_water_temperature Water temperature through flow sensor 3 (V2 only) °C
Flow4 Water Temperature flow4_water_temperature Water temperature through flow sensor 4 (V2 only) °C

Technical Details

The temperature sensors are NTC thermistors integrated into the flow sensors:

sensor:
  - platform: ntc
    id: flow1_water_temperature
    sensor: resistance_sensor
    calibration:
      b_constant: 3950
      reference_temperature: 25°C
      reference_resistance: 50kOhm
    name: Flow1 Water Temperature

Specifications

  • Range: 0°C to +80°C
  • Accuracy: ±0.5°C
  • Sensor type: NTC thermistor (50kOhm @ 25°C, B=3950)

Use Cases

  • Monitor hot water system efficiency
  • Detect water heater issues
  • Track solar water heater performance
  • Verify hot/cold water mixing
  • Heat pump monitoring (supply/return temperatures)

Environment Sensors

The WaterFlowKit includes an HDC1080 sensor for ambient temperature and humidity monitoring.

📖 ESPHome Documentation: HDC1080

Entity ID Description Unit
Temperature sensor_temperature Ambient temperature around the WaterFlowKit °C
Humidity sensor_humidity Ambient relative humidity %

Technical Details

sensor:
  - platform: hdc1080
    temperature:
      name: "Temperature"
      filters:
        offset: -4.5
    humidity:
      name: "Humidity"
      filters:
        offset: 12
    update_interval: 60s

Default Offsets

The firmware applies calibration offsets by default:

  • Temperature: -4.5°C offset
  • Humidity: +12% offset

These can be adjusted if your readings don't match a reference.

Use Cases

  • Monitor conditions in meter cabinet
  • Detect moisture issues
  • Track environment where pipes are located

Device Controls

Switches

Entity ID Description
Restart switch_restart Restarts the WaterFlowKit. Useful after configuration changes.
Disable BLE after boot ble_disable_after_boot V2 WiFi firmware. On by default: Bluetooth switches off a few seconds after WiFi connects, to save memory.

Settings

Entity Description
Flow1 Sensor Type to Flow4 Sensor Type Selects the sensor model of each input. Default YF-B1 / YF-B7. Flow3 and Flow4 on V2 only.
Flow1 Calibration % to Flow4 Calibration % Fine-tunes each input, 50 to 150%, default 100%. Flow3 and Flow4 on V2 only.
Firmware Type Selects the firmware variant. See Network Configuration.

Buttons

Entity Description
Firmware Update Installs the firmware variant selected in Firmware Type.
Factory Reset Resets the device to factory defaults, including WiFi credentials and sensor settings. Disabled by default for safety.
Reset Cloud Cloud firmware only. Clears the cloud registration and registers the device again.

Diagnostic Entities

Connection Status

Entity ID Description
WiFi Signal sensor_wifi_signal WiFi signal strength in dBm on WiFi firmware. Updates every 5 minutes. Values closer to 0 = better signal.
Uptime sensor_uptime_timestamp Timestamp when the device was last started.

Network Information

Entity Description
IP address Current IP address of the WaterFlowKit on WiFi or Ethernet firmware
Connected SSID Name of the WiFi network on WiFi firmware
Connected BSSID MAC address of the WiFi access point on WiFi firmware
MAC Address Network MAC address exposed by the active firmware variant

Version Information

Entity ID Description
ESPHome Version text_sensor_version The ESPHome version running on the device
Software Version text_sensor_waterflowkit_version WaterFlowKit firmware version (e.g., "2.15.0")
Hardware Version text_sensor_hardware_version The hardware version of your kit (V1 or V2)

System

Entity Description
CPU Temperature Internal chip temperature.
Firmware Update entity. Shows available firmware updates.
Device Info / Reset Reason Technical details for support. V2 local firmware.
Cloud Connected, Cloud Status, Cloud Device ID, Cloud Sync Failures Connection with the SmartHomeShop app. Cloud firmware only.

LED Indicators

The WaterFlowKit has 3 LED colors:

LED Color Default Behavior
LED Green Green Not used by the standard firmware
LED Red Red Status LED: off when all is well, slow flashing when not connected, rapid flashing on a firmware error. On V2 cloud firmware it flashes only while the device is offline
LED Blue Blue Short flash after each successful sync on cloud firmware

Entity Naming Convention

All entities follow this naming pattern:

sensor.waterflowkit_a1b2c3_[sensor_name]
switch.waterflowkit_a1b2c3_[switch_name]

a1b2c3 stands for the last six characters of your device's MAC address. Always copy the exact ID from the entity in Home Assistant.

For example:

  • sensor.waterflowkit_a1b2c3_flow1_current_water_usage
  • sensor.waterflowkit_a1b2c3_flow1_total_consumption
  • sensor.waterflowkit_a1b2c3_flow1_water_temperature
  • sensor.waterflowkit_a1b2c3_temperature
  • sensor.waterflowkit_a1b2c3_humidity

Calibration

If your sensor readings don't match expected values, select the right sensor type and adjust the calibration percentage in Home Assistant.

Each input has its own Sensor Type selector and Calibration % control: Flow1 and Flow2 on V1, Flow1 to Flow4 on V2.

🔧 Calibration Guide: See Usage Guide: Calibration for step-by-step instructions.


ESPHome Configuration

For advanced users who want to customize the WaterFlowKit firmware:

🔧 Advanced Configuration: See Usage Guide: ESPHome Configuration for details.


Need Help?