Shellyforhass: total energy consumption

Created on 25 Nov 2019  路  8Comments  路  Source: StyraHem/ShellyForHASS

Congratulations on integrating with shelly,
I have seen that, for example regarding shelly 2.5, the total energy consumption value is not displayed (the shelly stores it).

When I configured shelly with mqtt I used this as:

  • platform: mqtt
    聽聽 name: "Cons_Tot_Stu"
    聽聽 state_topic: "shellies / shellyswitch25-xxxxxx / relay / 0 / energy"
    聽聽 qos: 0
    聽聽 unit_of_measurement: "W"

then to have the value in Wh I divided the value by 60.

Could this parameter also be added?

Thanks

enhancement question

Most helpful comment

Same for Shelly PM, there are some counter missing, like total power

All 8 comments

Same for Shelly PM, there are some counter missing, like total power

@Kedryn , can you retest with 0.1.6b7 and update to latest firmware 1.5.8 as well ?

Thank you,

Simone

I run also a Shelly 1PM on 1.5.9 and there are some missing parameters:

In HA only this is visible:

ip_address: 192.168.1.123
shelly_type: Shelly 1 PM
shelly_id: C4A991
discovery: CoAP-discovery
ssid: somessid-iot
rssi: -63
uptime: 11124
device_temp: 49
over_temp: false
has_firmware_update: false
latest_fw_version: 20200122-090726/v1.5.9@4b657c90
firmware_version: 20200122-090726/v1.5.9@4b657c90
cloud_enabled: true
cloud_connected: true
mqtt_connected: false
cloud_status: connected
consumption: 712.1
unit_of_measurement: W
friendly_name: What ever

For example http://shellyip/stauts get stuff like:

  • meters/0/counters/[0-2]
  • meters/total

Total is in beta 9 just released

What do you need the counters for?

I want to calculate the power consumption in kWh (like in Shelly cloud but local).
As I understand counter is "W/min" for the last 3 minutes.

@vistalba, @LucaGT78 , do you agree on closing this one and moving to #168 ?

Thank you,

Simone

For me it is okay. Better check #169

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LupoCri picture LupoCri  路  3Comments

dodg3r picture dodg3r  路  12Comments

PeteHassio picture PeteHassio  路  10Comments

chemelli74 picture chemelli74  路  9Comments

JonahKr picture JonahKr  路  7Comments