Blitzwolf SHP13 energy integration in Energy tab?

Does anyone have their Blitzwolf SHP13 integrated inside the Energy tab already? My Tp link HS110 is working fine there and I wanna try to add the Blitzwolf plugs as well. Thanks in advance.

I guess I can reply that question in aprox 14 days?
Currently I am waiting for these Zigbee Plugs with (hopefully) energy meter fuction.

Cheers

I received them today, and can see the information in the dashboard, but can’t select them as “individual” device in the energy pane. Don’t think they will work out of the box, maybe someone can tweak the energy plugs in ZHA to support the new Energy pane :slight_smile:

Hi @jvalst ,

I am still waiting for my 4 devices.
Do you have any success meanwhile?

Currently I am using a Xiaomi Smartplug Energy Meter after a Solar Inverter, but that one doesn´t work as assumend.

Cheers

Hi Chicken,

Not a lot of progress, just looking at this topic now that might be the solution:

I can select my SHP13 in the energy pane (one for my washing machine and one for my dryer). What’s wrong on your side ?

Edit : Woops ! ZHA ! I’m using them with Zigbee2Mqtt sorry, didn’t payed attention to topic categories !

Haha no problem, indeed it’s ZHA for us both. So guess on their side it’s not implemented with the new Energy release yet. Hopefully they’ll add it out of the box soon as well.

You can use the rieman integration to get kWh

use method: left

method string (Optional, default: trapezoidal)

Riemann sum method to be used. Available methods are trapezoidal, left and right.

In case you have an appliance which produces spikey consumption (like an on/off electrical boiler) you should opt for the left method to get accurate readings.

1 Like

Got the first two SHP-13 today.
The measurement is just every 30sec, instead of immediately when an energy value changes.
Second there isn´t shown a smart energy value - it is just unknown.

Both devices are: TS0121 (_TZ3000_g5xawfcq)

Can you read the Smart Energy Value?

No, same issue here, I can only see the electrical_measurement property. Let’s see how things will go, I’ve used that property in the Integration - Riemann thing which is mentioned above (and in my link). My tp-link hs110 is working fine, and I got a new tp-link Kasa KP115 on it’s way.

Hi Francisp,

first of all, thanks a lot for providing this link integration.
I am using this for getting power output from my solar inverter (Hoymiles HM-300). For measurement I am using the Xiaomi Smart Energy Plug.
My config as follows:

sensor:

  • platform: integration
    source: sensor.lumi_lumi_plug_mmeu01_electrical_measurement
    name: Solar Panel
    unit_prefix: k
    round: 3
    method: left

Everything works well so far :wink:

But when I add a second sensor it doesn´t work.
Maybe you know where my “failure” is?

Thanks in advance.

What I really don´t like about these BlitzWolf Sockets is the fact, that they update just every 30 seconds.
For a fridge or something like that (linear power consuption) it might be great, but if you want to measure different load conditions more exactly, it won´t be the best option :wink:

Usual suspect : do you have sensor: more than 1 time in configuration.yaml ?

I am using two of these Xiaomi sensors, but they do not have the same name and there is only one for measuring the solar system in the configuration.yaml.

However, if I understand it correctly, multiple sensors of the same type (with different names) can be included in the config?

sensor:
  - platform: integration
    source: sensor.lumi_lumi_plug_mmeu01_electrical_measurement
    name: Solar Panel
    unit_prefix: k
    round: 3
    method: left

  - platform: integration
    source: sensor.lumi_lumi_plug_mmeu01_other
    name: Other plug
    unit_prefix: k
    round: 3
    method: left

1 Like

I had to add some custom attributes to the sensor to make the SHP13’s I have work.

In customize.yaml add your sensor:

sensor.smart_plug_bw_fully_tablet_energy:
  state_class: "measurement"
  last_reset: "2021-07-30T00:00:00+00:00"

And is this the normal sensor from blitzwolf, or is this the name of the Riemann integration already? I added the blitzwolf by that Riemann integration, and can select the new created sensor in the energy tab already. But it’s not showing anything yet. That integration adds those 2 properties already on the sensor.

EDIT: Sorry, I see this is about ZHA now.

I’m using Zigbee2MQTT to integrate the SHP13 into home assistant. I’m not using the Riemann integration. I just needed those 2 attibutes to be added for the energy dashboard to recognize the sensor.

My full sensor values are like this:

current: 0.09
energy: 19.35
last_seen: 2021-08-20T09:38:01+00:00
linkquality: 81
power: 13
power_outage_memory: null
voltage: 230
unit_of_measurement: kWh
friendly_name: Smart plug BW fully tablet energy
device_class: energy
state_class: measurement
last_reset: 2021-07-30T00:00:00+00:00

FYI, when specifially talking about the ZHA integration component for Home Assistant there are loads of related discussions/explainations here about this and the current ZHA limitation of 1 sensor per cluster:

and here

There is also an issue posted to the HA core about ZHA energy consumption sensors not showing up:

All those applies to most Zigbee power plugs or other Zigbee devices with integrated energy meters:

  1. Tuya TS0121 → https://github.com/zigpy/zha-device-handlers/issues/605
  2. BlitzWolf BW-SHP13 (OEM version of Tuya TS0121) → https://github.com/zigpy/zha-device-handlers/issues/605
  3. Develco Norwegian HAN Adapter (Develco EMIZB-132) → https://github.com/zigpy/zha-device-handlers/issues/267
  4. Develco Prosumer Meter (Develco SMMZB-310101)
  5. Develco Smart Plug Mini (Develco Frient SPLZB-131) → https://github.com/zigpy/zha-device-handlers/issues/857
  6. Immax Plug-230V-ZB3.0 Smart Plug
  7. Innr SP 120 (a.k.a. Innr SP120) → https://github.com/home-assistant/core/issues/34090
  8. Lonsonho 16A Energy Monitoring Plug (OEM version of Tuya TS0121) → https://github.com/zigpy/zha-device-handlers/issues/605
  9. SmartThings Smart Plug (UK)
  10. Schwaiger ZHS15 → https://github.com/home-assistant/core/issues/44539
  11. Rehentele 16A Energy Monitoring Plug (OEM version of Tuya TS0121) → https://github.com/zigpy/zha-device-handlers/issues/605
  12. Aqara LUMI lumi.plug → ZHA plugs - smartenergy_metering > wrong cluster #44539

and a possible workaround being working on here

1 Like

Hi,
Since few days, I do have the device_class: energy for my SPH13. But I have an issue: the consumption shown is at least 100x higher than reality:
I have a fridge connected and it shows me 64 kWh for 1 day. I believe it should be 0.64 kWh.
Somebody is experiencing the same ?