# Zigbee (Nodes node-red-contrib-zigbee) read Power from BlitzWolf Plug

**URL:** <https://discourse.nodered.org/t/zigbee-nodes-node-red-contrib-zigbee-read-power-from-blitzwolf-plug/47478>\
**Category:** General\
**Created:** [22 June 2021 12:17 UTC](https://discourse.nodered.org/t/zigbee-nodes-node-red-contrib-zigbee-read-power-from-blitzwolf-plug/47478 "2021-06-22T12:17:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MisterD66](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/misterd66/32/43702_2.png) [@MisterD66](https://discourse.nodered.org/u/MisterD66)\
**Post date:** [22 June 2021 12:17 UTC](https://discourse.nodered.org/t/zigbee-nodes-node-red-contrib-zigbee-read-power-from-blitzwolf-plug/47478/1 "2021-06-22T12:17:32Z")

</div>

Hello,

I just bought some smartplugs to measure energy of different things.

> **[TuYa TS0121\_plug control via MQTT | Zigbee2MQTT](https://www.zigbee2mqtt.io/devices/TS0121_plug.html)**
>
> Integrate your TuYa TS0121\_plug via Zigbee2MQTT with whatever smart home infrastructure you are using without the vendor's bridge or gateway.

I paired them succesfull and i can switch them but i dont understand how to read the values described in the link above.

> ### Power (numeric)
> 
> Instantaneous measured power. Value can be found in the published state on the `power` property. It’s not possible to read ( `/get` ) or write ( `/set` ) this value. The unit of this value is `W` .
> 
> ### Current (numeric)
> 
> Instantaneous measured electrical current. Value can be found in the published state on the `current` property. It’s not possible to read ( `/get` ) or write ( `/set` ) this value. The unit of this value is `A` .
> 
> ### Voltage (numeric)
> 
> Measured electrical potential value. Value can be found in the published state on the `voltage` property. It’s not possible to read ( `/get` ) or write ( `/set` ) this value. The unit of this value is `V` .
> 
> ### Energy (numeric)
> 
> Sum of consumed energy. Value can be found in the published state on the `energy` property. It’s not possible to read ( `/get` ) or write ( `/set` ) this value. The unit of this value is `kWh` .

i tried using the event node but i only get a message every some minutes with an array [0, 0] where the second value is increesing every message.

can some one help me?

Thank you a lot!

---

<div class="post-metadata">

**Author:** ![Jean-Luc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jean-luc/32/89996_2.png) [@Jean-Luc](https://discourse.nodered.org/u/Jean-Luc)\
**Post date:** [22 June 2021 12:49 UTC](https://discourse.nodered.org/t/zigbee-nodes-node-red-contrib-zigbee-read-power-from-blitzwolf-plug/47478/2 "2021-06-22T12:49:24Z")

</div>

I don't have this device, but if you use a tool like MQTT Explorer connected to your broker, what do you see on the related topics ?  
For example on my xiaomi switch I can see the power consumption

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/1/912cbfdfd5003d44ea646288d839e96499afd47b.png)

Or on a tuya 4 position switch I get this.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/5/c5c26b39f35ca9bcda8f9cebc66671898017f234.png)

And what do you get on your side ?

---

<div class="post-metadata">

**Author:** ![MisterD66](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/misterd66/32/43702_2.png) [@MisterD66](https://discourse.nodered.org/u/MisterD66)\
**Post date:** [22 June 2021 13:34 UTC](https://discourse.nodered.org/t/zigbee-nodes-node-red-contrib-zigbee-read-power-from-blitzwolf-plug/47478/3 "2021-06-22T13:34:15Z")

</div>

I am not using zigbee2mqtt, i am using the node-red-contrib-zigbee node, it just uses the zgbee2mqtt device descrition as a base. so i can not connect to an mqtt broker...

---

<div class="post-metadata">

**Author:** ![MisterD66](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/misterd66/32/43702_2.png) [@MisterD66](https://discourse.nodered.org/u/MisterD66)\
**Post date:** [23 June 2021 12:30 UTC](https://discourse.nodered.org/t/zigbee-nodes-node-red-contrib-zigbee-read-power-from-blitzwolf-plug/47478/4 "2021-06-23T12:30:38Z")

</div>

A bit more information:

When i connect the event node to a debug output i recieve messages like that:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/d/6d3af268e4183a23659a86787983053e7e57fd4d.png)

but i cant find any information what that numbers represent...  
by the way that message arrives every 5 minutes and "1:" only increses sometimes

---

<div class="post-metadata">

**Author:** ![Buckskin](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Post date:** [23 June 2021 23:50 UTC](https://discourse.nodered.org/t/zigbee-nodes-node-red-contrib-zigbee-read-power-from-blitzwolf-plug/47478/5 "2021-06-23T23:50:02Z")

</div>

I would think that you device is not configured in zigbee2mqtt properly because you should get a message something like;

```auto
{"battery":100,"illuminance":4,"illuminance_lux":4,"linkquality":131,"occupancy":true,"temperature":30,"voltage":3035}

```

I use `node-red-contib-zigbee2mqtt` node and an ordinary `mqtt` node and they both give more or less the same result (the zigbee2mqtt node includes additional information)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [22 August 2021 23:50 UTC](https://discourse.nodered.org/t/zigbee-nodes-node-red-contrib-zigbee-read-power-from-blitzwolf-plug/47478/6 "2021-08-22T23:50:34Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
