Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for _TZE204_81yrt3lo Power Meter #22

Open
wants to merge 4 commits into
base: beta
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

### STABLE Invitation Link

https://api.smartthings.com/invite/6Vjd4YPVJwjN


### BETA Invitation Link - Used for monitored tests with other users

https://bestow-regional.api.smartthings.com/invite/VbMb856WP8lB


<br /><div id="donate" align="center"><a target="_blank" href="https://buymeacoffee.com/w35l3y"><img src="resources/pizza.svg" height="40" /></a></div>
1 change: 1 addition & 0 deletions personal-tuya-devices/DEVICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
| TS0601 | \_TZE200_zl1kmjqx | LCD T+H Sensor | normal-temphumibatt-v1 | 1, 2, 4 |
| TS0601 | \_TZE200_znbl8dj5 | LCD T+H Sensor | normal-temphumibatt-v1 | 1, 2, 4 |
| TS0601 | \_TZE200_ztc6ggyl | Presence Sensor | normal-presenceSensor-v1 | 1, 2, 3, 4, 101, 102, 104 |
| TS0601 | \_TZE204_81yrt3lo | Power Meter | normal-powerMeter-v1 | 101, 107, 112, 113 |
| TS0601 | \_TZE204_ac0fhfiq | Power Meter | normal-powerMeter-v1 | 6, 1 |
| TS0601 | \_TZE204_aoclfnxz | Thermostat | normal-thermostat-v4 | 1, 16, 24 |
| TS0601 | \_TZE204_cjbofhxw | Power Meter | normal-powerMeter-v1 | 18, 19, 20, 101 |
Expand Down
5 changes: 5 additions & 0 deletions personal-tuya-devices/fingerprints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,11 @@ zigbeeManufacturer:
manufacturer: _TZE200_ztc6ggyl
deviceProfileName: normal-presenceSensor-v1
deviceLabel: Presence Sensor
- id: TS0601/_TZE204_81yrt3lo
model: TS0601
manufacturer: _TZE204_81yrt3lo
deviceProfileName: normal-powerMeter-v1
deviceLabel: Power Meter
- id: TS0601/_TZE204_ac0fhfiq
model: TS0601
manufacturer: _TZE204_ac0fhfiq
Expand Down
25 changes: 25 additions & 0 deletions personal-tuya-devices/models/TS0601/_TZE204_81yrt3lo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
deviceLabel: Power Meter
profiles:
- normal_powerMeter_v1
datapoints:
# https://raw.githubusercontent.com/jeverley/zha-device-handlers/refs/heads/ts0601_energy_meter_devices/zhaquirks/tuya/ts0601_energy_meter.py
- id: 113
command: currentMeasurement
base:
group: 1
rate: 10000
- id: 101
command: powerMeter
base:
group: 1
rate: 1000
- id: 112
command: voltageMeasurement
base:
group: 1
rate: 1000
- id: 107
command: energyMeter
base:
group: 1
rate: 1000
1 change: 1 addition & 0 deletions personal-tuya-devices/profiles/normal-powerMeter-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ preferences:
_TZE200_lsanae15: _TZE200_lsanae15 (1,6)
_TZE204_ac0fhfiq: _TZE204_ac0fhfiq (1,6)
_TZE204_cjbofhxw: _TZE204_cjbofhxw (101,20,18,19)
_TZE204_81yrt3lo: _TZE204_81yrt3lo (107,112,113,101)
- name: dpPowerMeterMain01
title: DP for Power Meter A
description: Only if you want to override the default DataPoint
Expand Down