Hey, the new 1.6.0 beta 9 version is excellent. Keep up the great work.
Just you let you know the sensor is saying 9.78kwh used for a unit in HA, but in the shelly app the same unit (shelly 2) is reporting 978wh which is .978kWh
Also noticed the instant power consumption sensor no longer available. Only the total consumed power sensor showing. I guess there's meant to be two sensors? One that is instant power and one total consumed energy?
Ok, thanks letting me know!
In my case 40161.65 kWh reported by HA, 40.04 kWh reported by shellly app (correct value)
Hi,
can you please check http://x.x.x.x/status ?
You'll find 2 "total" values, one per channel for a Shelly 2.5.
It doesn't seems to be a factor of 10 at all.
I bet it depends on the uptime of the single unit or similar as the factor change a lot from one to another.
Simone
$ curl http://shelly4pro-cc958c/status | jq '.meters[] | .total'
3053
2011
4351
4621

FYI: The unit in HA is wrong, the value is Wh not kWh, but the calculation is correct
When you look in the app it shows the consumption for the period of the graph, 24h as default.
This is the status output from the shelly via /status link on the device
{"wifi_sta":{"connected":true,"ssid":"ASUS_90_2G","ip":"192.168.255.196","rssi":-43},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"13:37","serial":22,"has_update":false,"mac":"CC50E3134F0D","relays":[{"ison":false,"has_timer":false,"overpower":false,"is_valid":true},{"ison":false,"has_timer":false,"overpower":false,"is_valid":true}],"rollers":[{"state":"stop","power":0.00,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"stop","current_pos":101,"calibrating":false,"positioning":true}],"meters":[{"power":0.00,"current":1.00,"voltage":14.00,"is_valid":true,"timestamp":1580218633,"counters":[0.000, 0.000, 0.000],"total":889}],"inputs":[{"input":0},{"input":0}],"update":{"status":"idle","has_update":false,"new_version":"20191216-090122/v1.5.7@c30657ba","old_version":"20191216-090122/v1.5.7@c30657ba"},"ram_total":50216,"ram_free":35396,"fs_size":233681,"fs_free":160138,"voltage":14.62,"uptime":265407}
This is the current output in HA

I have shelly plug, in my case it is factor 1000, but i have quick fix for this:

@craigrallen, @morph027, @tomekswx please recheck with final 0.1.6 and report back.
Simone
Looked good in latest beta, installed final 0.1.6 today and it still looks good :+1:
Hello, my consumption sensors are still off by about factor 20 compared to shelly.cloud data. I'm using shellys EM. Power sensors are working great and i'm getting the right consumption by using the integration platform on power sensor. Thanks
(using v0.1.6)
@Xylomid Can you send a screen capture of the cloud data and in HA.
Is HA showing a bigger value?


Shelly cloud gives me 7147 Wh from 00am to 10am
HA sensors gives me 121 Wh from 00am to 10am
Ok, look like Shelly EM report Wh, not Wmin as other devices. It is a factor of 60 and that gives you 7260 instead of 121.
That's it ! didn't think about that, thank you
Sorry, but I don't get it :-(
Looking at Shelly's app, at 8:00am of Feb 6 I see: 65Wh.
Looking at HA at 8:00am of Feb 6 I see: current total 891 (upper right corner) - at time total 747 (red line graph) = 144.
Where am I wrong ?
Simone

Looking at Shelly's app, at 8:00am of Feb 6 I see: 65Wh.
==> this is your energy consumption from 8am to 9am
Looking at HA at 8:00am of Feb 6 I see: current total 891 (upper right corner) - at time total 747 (red line graph) = 144.
==> 144wh is your energy consumption from 8am to now (end of graph)
I think everything is fine in the 0.1.6 except for the Shelly EM that showing wrong by a factor of 60. That will be fixed in the next release. Let me know if some other devices have a problem.
I think everything is fine in the 0.1.6 except for the Shelly EM that showing wrong by a factor of 60. That will be fixed in the next release. Let me know if some other devices have a problem.
Dimitar is looking at it from the firmware point of view no later than tomorrow morning.
Simone
@chemelli74 I have fixed this in 0.1.7, let me know if any news from Dimitar.
@chemelli74 I have fixed this in 0.1.7, let me know if any news from Dimitar.
looking forward to see it 0.1.7, because it is not public to test it.
anyhow with the values in wh in HA I can not find a way to check it with shelly cloud.
can we have a posibility/option to convert it to kWh? plus we can use it as a source for utility meter.
@chemelli74 I have fixed this in 0.1.7, let me know if any news from Dimitar.
Dimitar reported that both ShellyEM and Shelly3EM will report Wh; it's not a bug, it's a by-design behaviour.
As you have changed code already, will close this issue.
Simone