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 https://de.aliexpress.com/item/1005008269272176.html #8640

Merged
merged 5 commits into from
Jan 22, 2025

Conversation

oli-z
Copy link
Contributor

@oli-z oli-z commented Jan 18, 2025

Hi,

I recently bought this energy meter, which wasn't supported yet, so I tried to add support. The basics (voltage, current, power) work, but there are still some Tuya datapoints that are unmapped. I will try to figure out what they do after installing the device and maybe create another PR to add support for them later.

First time contributing to this project so I hope I did everything right 😅

@Koenkk
Copy link
Owner

Koenkk commented Jan 19, 2025

Could you check if it works with the definition from PJ-MGW1203 ? That also exposes energy

@oli-z
Copy link
Contributor Author

oli-z commented Jan 20, 2025

Could you check if it works with the definition from PJ-MGW1203 ? That also exposes energy

Seems like this one uses a different data point for energy than mine (101, which my device doesn't seem to have). It looks like 104 and 105 are the energy datapoints for mine, but they are offset:

image

Maybe one is the daily energy and one the total energy, I'll keep an eye on it... I also have datapoints 103, 106, 107 and 109 but no idea what they are doing. Some go up and down if the power goes up and down. Unfortunately, I don't have a Tuya ZigBee gateway, so I can't look there.

[20, 'voltage', tuya.valueConverter.divideBy10],
],
},
whiteLabel: [{vendor: 'AVATTO', model: 'ZWPM16'}],
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be removed.

oli-z and others added 3 commits January 22, 2025 16:52
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
@Koenkk Koenkk merged commit 21d0967 into Koenkk:master Jan 22, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants