Zigbee Smart Plug with Power Monitoring?

Home Assistant has built-in features to produce consumption stats:

To get total consumption in kWh (from power), use the integration platform sensor.
Here is an example for my washing machine, connected to a Sengled plug (which gives me sensor.washing_machine_power)

sensor:
  - platform: integration
    source: sensor.washing_machine_power
    name: washing_machine_electric_consumed_kwh
    unit_prefix: k
    round: 2

You will now have a sensor named: sensor.washing_machine_electric_consumed_kwh

Additionally, if you want to track daily, monthly, yearly consumption (using sensor.washing_machine_electric_consumed_kwh), that is a job for the utility meter integration. Here is the example for the washing machine in configuration.yaml

utility_meter:
  washing_machine_daily_electric_consumed_kwh:
    name: Washing Machine Daily Electric Consumed kWh
    source: sensor.washing_machine_electric_consumed_kwh
    cycle: daily
  washing_machine_monthly_electric_consumed_kwh:
    name: Washing Machine Monthly Electric Consumed kWh
    source: sensor.washing_machine_electric_consumed_kwh
    cycle: monthly      
  washing_machine_yearly_electric_consumed_kwh:
    name: Washing Machine Yearly Electric Consumed kWh
    source: sensor.washing_machine_electric_consumed_kwh
    cycle: yearly
7 Likes

Has anyone got these working on deconz vs zha? I ordered them without noticing ‘zha’ and now am stuck looking at this thread and feeling silly. https://github.com/dresden-elektronik/deconz-rest-plugin/issues/5225

This is encouraging. I just ordered a couple of boxes of these sengled outlet warts (4 per box) to replace a number of random wifi-only plugs I’d collected over the years. Looking to use these to sprinkle around the house to round out my zigbee coverage.

Best,

1 Like

Hi buddy,
I saw your thread and was just about to buy some Sengled wall warts to extend my Zigbee network and found a comment on Amazon by a user that contacted Sengled support directly and said their outlets, like their bulbs, so not act as repeaters.
If you were to look in the ZHA or deconz map visualization on your HA instance, can you see if the outlets are working as repeaters please?
I would greatly appreciate it. I already have 4 Ikea range extenders and would much rather have a functioning outlet.
Thanks so much

Like most support lines, they don’t know what they are talking about. The linked plugs act as routers.

To be fair, it could be Amazon’s fault, they are notorious for mixing/matching/merging reviews and comments for similar items. Very possible the prior version did not route.

1 Like

I can also confirm that the Sengled wall warts (Sengled E1C-NB7, also found on amazon) DO act as zigbee routers. I have several of them and they’ve been working very well.

1 Like

Thank you for taking the time to reply. I greatly appreciate it. :clap: :clap: :clap:

1 Like

Thank you for taking the time to reply also. I appreciate you. :clap: :clap: :clap:

1 Like

Where exactly should we add them?

I wonder what happens if you flash an S31ZB (S31 Lite ZigBee) firmware on a S31TPB(US) device with Tasmotizer (or whatever is used these days)? :thinking: Or maybe you can’t actually do that.

I just ordered a Lite to find out; I have tons of the S31TPB devices and the energy info is critical to me. Would be cool if it worked on ZigBee. :joy:

Likely will brick the device. Different controllers.

Hey thanks for the info. Can you link me? I’m one of those need-to-see-it-myself people. The urge to tear something open and solder wires is overwhelming sometimes :brick:.

when you open both versions and within 5 seconds you would see. these 2 models probably just sharing the same case.

1 Like

You reminded me that I could look them up on fcc.gov, thanks.

2APN5S31
https://apps.fcc.gov/eas/GetApplicationAttachment.html?id=4402280
2APN5S31ZB
https://apps.fcc.gov/eas/GetApplicationAttachment.html?id=4511575

Completly different microcontroller/radio-chips so there is no compatibility whatsoever. If you flash a binary firmware image meant for one microcontroller/radio-chip onto any other chip you will brick it.

Correct. I just wanted to physically see that them being different was correct (fcc.gov to the rescue).

The links don’t seem to work. Where on the FCC.gov site do you navigate to get these documents? Searching FCC brings me to an FCCid.io site.

Always fear the babble! Spoken like a real engineer :slight_smile:

Interesting note about Shelly devices being “over built.” I haven’t tried any of their products yet but have certainly thought about it.

1 Like