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] Shelly EM invalid values in totalKWH #13

Open
rrrrado opened this issue Dec 7, 2022 · 1 comment
Open

[shelly] Shelly EM invalid values in totalKWH #13

rrrrado opened this issue Dec 7, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@rrrrado
Copy link

rrrrado commented Dec 7, 2022

Incorrect values in items in totalKWH 1/2/3
here is a status from device:

{"wifi_sta":{"connected":true,"ssid":"IoT","ip":"192.168.10.34","rssi":-44},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"00:06","unixtime":1670454380,"serial":40107,"has_update":false,"mac":"40F52000B6BF","cfg_changed_cnt":0,"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":642.10,"pf":0.92,"current":2.89,"voltage":241.38,"is_valid":true,"total":18039107.3,"total_returned":5362303.9},{"power":1123.68,"pf":0.84,"current":5.47,"voltage":244.26,"is_valid":true,"total":18136912.4,"total_returned":6113606.3},{"power":304.42,"pf":0.64,"current":1.94,"voltage":244.44,"is_valid":true,"total":14161565.6,"total_returned":105.4}],"total_power":2070.20,"emeter_n":{"current":0.00,"ixsum":4.30,"mismatch":false,"is_valid":false},"fs_mounted":true,"v_data":1,"ct_calst":0,"update":{"status":"idle","has_update":false,"new_version":"20221027-110030/v1.12.1-ga9117d3","old_version":"20221027-110030/v1.12.1-ga9117d3"},"ram_total":49928,"ram_free":31364,"fs_size":233681,"fs_free":152859,"uptime":573585}

Here are values from OH items:
64941292800.000 J
65293862400.000 J
50982177600.000 J

Total returned KW/H looks fine. Values are same as status from device.

@53bh
Copy link

53bh commented Dec 14, 2022

This has been fixed with OpenHAB 3.4 M6, there was a problem with the default unit which was J instead of kWh.

@markus7017 markus7017 changed the title Shelly EM invalid values in totalKWH [shelly] Shelly EM invalid values in totalKWH Nov 26, 2023
@markus7017 markus7017 added the bug Something isn't working label Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants