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

ZHAPower & ZHAConsumption - documentation available? #531

Closed
jo-me opened this issue Apr 12, 2018 · 6 comments
Closed

ZHAPower & ZHAConsumption - documentation available? #531

jo-me opened this issue Apr 12, 2018 · 6 comments

Comments

@jo-me
Copy link

jo-me commented Apr 12, 2018

Hi,

adding a smart plug (e.g. Heiman SmartPlug) results in two new sensors in deconz, one of type ZHAConsumption and one of type ZHAPower.

Is there documentation available somewhere that indicates how the values can be interpreted?

ZHAConsumption looks like this:

"state": {
      "consumption": 10,
      "lastupdated": "2018-04-12T18:14:05",
      "power": 23
  },

ZHAPower state looks like this:

"state": {
      "current": 14,
      "lastupdated": "2018-04-12T18:14:04",
      "power": 23,
      "voltage": 233
 }

Could you please correct and complete the description if it is not available elsewhere?

  • ZHAConsumption.consumption = energy consumption in kWh, summed up in the plug itself not in deconz
  • ZHAConsumption.power = ?
  • ZHAPower.current = ? - i guess the current current in A or mA, but the value does not make sense to me
  • ZHAPower.power = current power usage in Watts
  • ZHAPower.voltage = current voltage in Volts

Thanks
Jochen

@ebaauw
Copy link
Collaborator

ebaauw commented Apr 12, 2018

All attributes are as reported by the plug, no calculations by deCONZ, except scaling to the right units:

  • Consumption in kWh;
  • Power in W;
  • Voltage in V;
  • Current in 0.1A.

Consumption is indeed summed by the plug itself. It’s reset to 0 when you reset the plug. Power is actually reported in both clusters, hence it appears in both resources.

@jo-me
Copy link
Author

jo-me commented Apr 14, 2018

Thank you for clarifying this!

@ebaauw
Copy link
Collaborator

ebaauw commented Apr 14, 2018

You’re welcome, but I made a mistake: consumption is in 0.001 kWh (or, if you prefer: in Wh).

@ebaauw
Copy link
Collaborator

ebaauw commented Apr 14, 2018

@stale
Copy link

stale bot commented Nov 23, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the WONTFIX label Nov 23, 2018
@stale
Copy link

stale bot commented Mar 23, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants