Skip to main content
F3D
Giá đỡ cảm biến đồng hồ nước 1

1 image

Đồ Gia Dụng

Giá đỡ cảm biến đồng hồ nước

By JelleWho

Downloads
1
Views
47

Files 2 57.5 KB

  • water_meter_sensor_holder_18mm_80mm_1773743831.3mf3MF · 23.4 KB
  • water_meter_sensor_holder_18mm_80mm_1773743832.fcstdFCSTD · 34.1 KB

Make a variant with AI

Build another version of this model.

Open Studio

Details

Model ID
#254513
Category
Đồ Gia Dụng
Published

Description

ESPhome code I've used:

sensor:
#https://www.pieterbrinkman.com/2022/02/02/build-a-cheap-water-usage-sensor-using-esphome-home-assistant-and-a-proximity-sensor/ LJ18A3
- platform: pulse_counter #https://esphome.io/components/sensor/pulse_counter.html
pin: 15 #Was GPIO13
use_pcnt: false
internal_filter: 100ms
id: water_pulse
name: "${device_name} pulse"
unit_of_measurement: "pulses/min"
icon: "mdi:water"
update_interval : 60s #1 pulse = 1L, if we run at 60s or 1min, we get L/min. So dont change the timing!
total:
name: "${device_name} Total"
unit_of_measurement: "L"
# Just for a history graph with usage lined per time
- platform: template
name: "${device_name} Usage"
accuracy_decimals: 1
unit_of_measurement: "L/min"
icon: "mdi:water"
lambda: return id(water_pulse).state; #1 pulse = 1L
- platform: total_daily_energy
name: "${waterdashboardname}"
restore: true
power_id: water_pulse
unit_of_measurement: "L"
accuracy_decimals: 3
device_class: water
icon: "mdi:water"
filters:
- multiply: 60

Read more Show less

Print spec

Formats
3mffcstd
Model files
2
Total size
57.5 KB
Largest file
34.1 KB

0 comments

See all