home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.48k stars 30.69k forks source link

Matter Plug energy usage information is always 0 #125868

Closed p4ch14 closed 1 month ago

p4ch14 commented 1 month ago

The problem

After add matter plug I have information about Current, Power, Voltage and Switch control, but Energy always indicates the value 0. Is it some known error, or is the source from which the information about power consumption is incorrectly configured?

What version of Home Assistant Core has the issue?

core-2024.9.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Matter

Link to integration documentation on our website

No response

Diagnostics information

matter-067c9e146fabaf2458742d2c5863166e-Matter Plug-66fda000d0589f40f7a73aa696f213bc.json

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 month ago

Hey there @home-assistant/matter, mind taking a look at this issue as it has been labeled with an integration (matter) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `matter` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign matter` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


matter documentation matter source (message by IssueLinks)

marcelveldt commented 1 month ago

What device is it ? This should just work perfectly fine so this sounds like a device-specific issue

p4ch14 commented 1 month ago

hard to say, the plug is from a local supplier and there is no information about the manufacturer or model on the box or the plug itself, only the information "matter smart power plug". Before the matter server update in HA to version 1.3, there was only an option to control this plug, so I used this plug in the Tuya application to monitor energy. Recently I tried to switch the plug to the matter network in HA and seeing that energy monitoring was available, I left it, only after some time I noticed that the Energy value did not change. The plug in HA is recognized as NEO Matter Plug. Below is sample information from the "NeoCluster" tab for this plug image

marcelveldt commented 1 month ago

Yeah, that cluster is just a big mystery - the name should have been TuyaCustomCluster or whatever as it seems that all kind of chinese brands are using that custom cluster. In your case "WattAccumulated" stays zero so...

This is NOT the official Matter PowerMeasurement cluster but a custom cluster which is wild wild west.

marcelveldt commented 1 month ago

Closing here as this is a device issue, and not a HA issue.