-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Conversation
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: 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. |
src/devices/tuya.ts
Outdated
[20, 'voltage', tuya.valueConverter.divideBy10], | ||
], | ||
}, | ||
whiteLabel: [{vendor: 'AVATTO', model: 'ZWPM16'}], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be removed.
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
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 😅