-
Notifications
You must be signed in to change notification settings - Fork 490
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
Request support for [Yagusmart Metering_3PN_WiFi] and bitmaps #1473
Comments
Your mask needs twice as many characters, but from the log there is also a parse error in that yaml (more details should be in the Full Log) |
Last readings from system log:
Is there different way to check another logs related with Tuya-Local?
I hope now it's okay. Today's evening I will try to decode faults. |
The parse error should have more details if you expand it, or look into the Full Logs. It would be useful to capture a sample of one of the dps 6, 7 or 8. Such combined dps have usually been base64 encoded in our experience, but the documentation specifically mentions HEX. But this is not causing the parse error in the yaml, it is most likely indentation or a missing or extra colon or dash. |
I see an issue (but I am not sure that it would cause a general yaml parse error). The primary_entity should be just one entity, not a list. Since it is not a list, it should not start with a dash. |
Log Message
Information about DPS mappings
Raw data:
Translated from Chinese:
Also Query properties from API explorer:
Product Info
Product ID:
fygozcnralhwbauo
Product description:
Yagusmart Energy metering device for 3 phases (https://aliexpress.com/item/1005006035378901.html)
Issue
I've prepared basic configuration file:
I have problems with decoding phases and faults.
For example:
As You can see in DPS a phase data consists of voltage, current and power (big-endian mode, HEX format, 8 bytes in total). Unit accuracy: voltage 2 bytes with unit 0.1V; current 3 bytes with unit 0.001A; active power 3 bytes with unit 0.0001kW. Example message 08 80 00 03 E8 00 27 10 means 217.6V, current 1.000A and power 10.000KW.
Can be decoded like below?
Is that correct?
The text was updated successfully, but these errors were encountered: