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

[shelly] Lifetime total energy measurements provided by Shelly Pro EM-50 are missing #18166

Open
embeh opened this issue Jan 23, 2025 · 0 comments
Labels
enhancement An enhancement or new feature for an existing add-on

Comments

@embeh
Copy link

embeh commented Jan 23, 2025

The Shelly binding for the Pro EM-50 (and very likely also for the Pro 3) is missing values for the total amount of energy measured by the device (in Wh).

This data can be collected from the EM1Data RPC endpoint:

  1. for the first channel via http://192.168.XXX.YY/rpc/EM1Data.GetStatus?id=0 and
  2. for the second channel via http://192.168.XXX.YY/rpc/EM1Data.GetStatus?id=1

A typical response would be
{"id":0,"total_act_energy":1234.94,"total_act_ret_energy":567893.37}

According to Shelly, the units are Wh and they told me that this number will not be overwritten after 60 days in the way the one-minute power measurements are. So in some sense those "total" numbers are what one would expect from an old-fashioned power meter.

Unfortunately, the names for these energy values are identical to some of the names in the one-minute measurements (both start with "total") but one is only a one-minute measurement total, while the other (reported via EM1Data) is the "total total"...

It would really be nice if these EM1Data values could also be collected via the Shelly binding, especially considering that Shelly somehow forgot to put these total total values into the Web UI, too.

Your Environment

openHAB version 4.3.1
Shelly binding version 4.3.1
Shelly firmware 1.4.4

@embeh embeh added the enhancement An enhancement or new feature for an existing add-on label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

No branches or pull requests

1 participant