Skip to content

Commit

Permalink
Add support for ZPMeter 214C-Z ultrasonic valve water meter
Browse files Browse the repository at this point in the history
  • Loading branch information
make-all committed Oct 29, 2024
1 parent cbe7022 commit 351e576
Show file tree
Hide file tree
Showing 3 changed files with 124 additions and 0 deletions.
1 change: 1 addition & 0 deletions ACKNOWLEDGEMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -727,3 +727,4 @@ Further device support has been made with the assistance of users. Please consid
- [Jon811](https://github.com/Jon811) for contributing improvements to door peephole camera.
- [tazkirap](https://github.com/tazkirap) for assisting with support for Modena ES-15-SKY water heater.
- [IamGimli](https://github.com/IamGimli) for contributing support for CE Smart Home LQ-2-W3 wall outlet.
- [Thommav](https://github.com/Thommav) for assisting with support for ZPmeter 214C water meter.
2 changes: 2 additions & 0 deletions DEVICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,8 @@ entity types as sub devices.
- PY321-Z-TY energy meter
- Temperature and humidity sensor with alarm feature
- WL-898WZ water leak sensor
- ZPmeter 214C-Z water meter

- ZTH08ZTU temperature and humidity sensor

NOTE: this project does not intend to expand the scope to support non-Tuya
Expand Down
121 changes: 121 additions & 0 deletions custom_components/tuya_local/devices/zigbee_ultrasonic_watermeter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
name: Water meter
products:
- id: vuwtqx0t
name: ZPMeter 214C-Z
primary_entity:
entity: sensor
class: water
dps:
- id: 1
type: integer
name: sensor
unit:
class: total_increasing
mapping:
- scale: 1000
- id: 2
type: string
optional: true
name: monthly
- id: 3
type: string
optional: true
name: daily
- id: 6
type: string
optional: true
name: frozen_time_set
- id: 16
type: string
name: meter_id
- id: 18
type: hex
optional: true
name: reverse_use
secondary_entities:
- entity: select
name: Reporting period
icon: "mdi:update"
translation_key: timer
category: config
dps:
- id: 4
type: string
name: option
mapping:
- dps_val: 1h
value: 1h
- dps_val: 2h
value: 2h
- dps_val: 3h
value: 3h
- dps_val: 4h
value: 4h
- dps_val: 6h
value: 6h
- dps_val: 8h
value: 8h
- dps_val: 12h
value: 12h
- dps_val: 24h
value: 24h
- entity: binary_sensor
class: problem
category: diagnostic
dps:
- id: 5
type: bitfield
name: sensor
mapping:
- dps_val: 0
value: false
- value: true
- id: 5
type: bitfield
name: fault_code
- entity: valve
class: water
dps:
- id: 13
type: boolean
name: valve
- entity: switch
name: Auto clean
icon: "mdi:shimmer"
category: config
dps:
- id: 14
type: boolean
name: switch
- entity: sensor
class: volume_flow_rate
dps:
- id: 21
type: hex
optional: true
name: sensor
unit: m³/h
class: measurement
mapping:
- scale: 1000
- entity: sensor
class: temperature
dps:
- id: 22
type: integer
name: sensor
unit: C
class: measurement
mapping:
- scale: 100
- entity: sensor
class: voltage
category: diagnostic
dps:
- id: 26
type: integer
name: sensor
unit: V
class: measurement
mapping:
- scale: 100

0 comments on commit 351e576

Please sign in to comment.