-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Update owon.ts #8137
base: master
Are you sure you want to change the base?
Update owon.ts #8137
Conversation
The attribute instantaneousDemand and currentSummDelivered are reported together and cannot be parsed and displayed. Go back to the original processing mode for a moment.
resolve conflict
Fixed a commit error in the previous version
What can i do for this Lint error? Thanks |
Could you explain a bit why the current code does not work? |
It works fine with External converters, but says "Some checks were not successful" when pulling requests. Run pnpm run pretty:check
Checking formatting... |
I mean, can you explain why this change was needed in the first place? What doesn't work with the original code? |
The version used is 1.40.2-1, after adding the device, it can be paired normally, and the onoff report is working normally. The problem is that instantaneousDemand and currentSummDelivered data are not updated on the Dashboard. Using the sniffer to capture the packet, it was found that the Configreport function was successful and the device could report normally. However, both instantaneousDemand and currentSummDelivered were reported together in one packet. |
Could you provide the debug log of this? See this on how to enable debug logging. |
There are two devices in Log, 0x3c6a2cfffed35097 uses External converters, which works normally, such as line3424 of log, Mqtt is also reported after Zigbee Report. |
Could you provide your |
configuration.yaml.txt |
Could you also provide your |
devices.yaml.txt |
I think the divisor is missing:
See this on how to enable debug logging. |
I have use the edge vesion. divisor is 1000. |
It seems it published sometimes now.
I cannot explain why it doesn't work the other time though:
|
The one that published is' readResponse '. If it is' attributeReport ', it is not publish. |
Is this always the case? Because both are there:
|
Yes.Trying to find the problem has not been able to find any problem, but falling back to the previous version of the processing is no problem. So if you want to go back to the previous way of processing to use, is it possible? |
I don't see why it would fix it, it also uses |
The attribute instantaneousDemand and currentSummDelivered are reported together and cannot be parsed and displayed. Go back to the original processing mode for a moment.