question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Shelly 3EM does not show current consumption

See original GitHub issue

Environment

  • ShellyForHASS release with the issue: 2.0.0
  • Last working ShellyForHASS release (if known): 1.9.0
  • Home Assistant Core release with the issue: 0.114.4
  • Operating environment (Home Assistant/Supervised/Docker/venv): Supervised

Describe the bug

The current comsumption is shown as unavailable/unknown on all three emeters.

Steps to Reproduce

Updated to 2.0.0

Expected behavior

Should show the current consumption (from emeters":[{“power”:XXX,“)…},{“power”:YYY,”)…},{“power”:ZZZ,")…},…]

Screenshots

image image image

Traceback/Error logs


Additional context

from the /status of the 3em device. {“wifi_sta”:{“connected”:true,“ssid”:“IOT”,“ip”:“10.10.10.13”,“rssi”:-46},“cloud”:{“enabled”:false,“connected”:false},“mqtt”:{“connected”:false},“time”:“08:55”,“unixtime”:1599641744,“serial”:XXXXX,“has_update”:false,“mac”:“D8BFXXXXXX”,“cfg_changed_cnt”:9,“actions_stats”:{“skipped”:0},“relays”:[{“ison”:false,“has_timer”:false,“timer_started”:0,“timer_duration”:0,“timer_remaining”:0,“overpower”:false,“is_valid”:true,“source”:“http”}],“emeters”:[{“power”:0.00,“pf”:0.01,“current”:0.32,“voltage”:232.59,“is_valid”:true,“total”:555.2,“total_returned”:0.0},{“power”:-18.27,“pf”:-0.08,“current”:1.02,“voltage”:231.58,“is_valid”:true,“total”:1472.1,“total_returned”:3238.2},{“power”:225.91,“pf”:0.88,“current”:1.11,“voltage”:231.99,“is_valid”:true,“total”:30561.0,“total_returned”:0.0}],“fs_mounted”:true,“update”:{“status”:“idle”,“has_update”:false,“new_version”:“20200813-140420/v1.8.1@1b2a49be”,“old_version”:“20200813-140420/v1.8.1@1b2a49be”},“ram_total”:49432,“ram_free”:28296,“fs_size”:233681,“fs_free”:154365,“uptime”:569708}

From 1.9.0 image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
hakanacommented, Sep 9, 2020

I found the bug, it working when CoAP working as in my setup but not when only polling /status for updates. Will be fixed in next release.

0reactions
hakanacommented, Sep 9, 2020

Thanks, I will close this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Shelly support group (English Version) | # CLOUD UPDATED:
Power consumption panel is changed: The orange bars mean - device is not included in total consumtion. New scene features:
Read more >
Shelly Cloud - Apps on Google Play
The App offers possibility to control all Shelly devices remotely from any internet connection by using the cloud option. There is also an ......
Read more >
Shelly 3EM Installation - YouTube
Shelly 3EM installation video with Home Assistant Shelly Integration. ... don't need to use 14:10 - The difference between power and energy ......
Read more >
Shelly Family Overview – API Reference
[Shelly 3EM] Fix bug that doesn't allow storing more than 24kWh in internal flash ... [Shelly Bulb RGBW] Show only attributes for the...
Read more >
Edge Shelly device support discussion - #148 by Kristian_Horup
July 2022 EDIT: So new readers don't have to read through all the posts to get ... Power meter and energy consumption are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found