THIRDREALITY ZigBee Smart Plug with Real-time Energy Monitoring

New here. I just installed the Third Reality, Inc Smart plug (3RSP02028BZ) and updated the firmware to 0x1001305c so now I get this nice graph


By default it says I can track 7 things.

Is there a way to let me know if the power of the freezer is off?
Can someone point me to the correct automation for this idea?
What a great software package this HA is

It depends on what you mean…

If the power to that outlet is off or the smart switch dies, then the states of all of those entities will likely go to unavailable or unknown.

If something happen to the freezer itself you will see changes to the pattern of power consumption. You will need to let it run for at least a couple days so you can determine what is normal.

1 Like

I was hoping that if the power went off and then came back on an hour later the switch would remain in the on position. Right now it looks like the freezer is use 0.5 kWh per day, Would it be a good idea to say if the power switch uses less than 0.1 kWh per day then notify me? Is that the normal way of not losing a freezer full of meat?

Do your switches not have the Start Up behavior selector?

image

Set the startup behavior to “on”.
startup

1 Like

Sad, this switch doesn’t have the start-up behavior option. I just unplugged the plug and plugged it back in again and the plug was in the disconnected position.
Thanks for your help!

I have the Gen1 version of the switch, and the ThirdReality website says “Third Reality Smart Plug is a simple solution to make the intelligence appliances smarter, like lights, fans, coffee makers and more. After the update, Smart Plug Gen2 keeps all former features and upgrade with real-time power monitoring and restore status.”, so I can’t imagine that they took away a feature.

I use ZHA- I wonder if that’s the difference?

UPDATE
It turns that the last few switches I installed are Gen2, like yours. And the power-on state is still there:

1 Like

I’ve just added a few of these plugs. On the newer versions of HA the power_on_behavior shows up automatically. Under the zigbee config

Clusters
OnOff (Endpoint id: 1, Id: 0x0006, Type: in)
Attributes of the selected cluster
start_up_on_off (id: 0x4003)
StartUpOnOff.On

On my older version of HA this feature is missing and I’m unable to see anything past

off_wait_time (id: 0x4002)

I’ve tried manually sending the command under DeveloperTools->Services->zha.set_zigbee_cluster_attribute

ieee: ‘xx:xx:xx:xx:xx:xx:xx:xx’
endpoint_id: 1
cluster_id: 6
cluster_type: in
attribute: 4003
value: StartUpOnOff.On

But I don’t seem to be getting anywhere with setting the startup_on_off flag. I’ve tried several versions of value:1 etc but it isn’t triggering

Can anyone offer any pointers as to why the off_wait_time (id: 0x4002) doesn’t appear on the older HA and is there a work around to manually set the value?

I tried pre-setting the plug under the new HA but when I re-register the plug to the old version of HA it deletes the startup default settings

Could anyone please let me know how often do these update the power consumption?

On the Gen2 version ones I have, power summation updates about every 30 seconds.

Thanks a lot for your answer.
When you said power summation, did you mean the energy reading (kWh)? or just the power reading (W)?

I was actually asking about how frequent is just the immediate power reading in W. So there shoudn’t be any summation. Is that every 30 seconds?

I was referencing the sensor that provides kWH… The power reading (W) looks like it has irregular reporting frequency with a 60 second minimum.

However, it looks like you can adjust that…

https://discuss.3reality.com/d/261-adjusting-reporting-interval-for-smart-plug-gen2-zha

Likely the hardware engineers who designed the plug probably choose the simplest (hence cheapest) way to get the measurements.

Hence internally the plug probably has the equivalent of an internal Voltmeter and Ammeter, hence its possible to measure the instantaneous:

  • Voltage.
  • Current
  • Power (via multiplication V * I)

Energy is the integral of power over time, most likely the circuitry samples the Voltage and Current, x times per minute and simply sums power to get total energy consumption.

Its likely that the internal calculation has a higher polling frequency than the frequency that the device reports updates over Zigbee so unless you can find a spec sheet that states the internal polling frequency (which is unlikely to be exposed via Zigbee) your only other option is to try some physical tests in order to estimate the internal polling frequency.


Just did a quick test, with a Gen2 plug using Z2M:
The plug seems to be sending Zigbee updates around every 5 seconds.

With a 12 amp draw (118v) the power rating is only given to 2 decimal places so it only changes approximately every 30 seconds (due to precision).

So I don’t think most people need to care about internal vs external polling rates.

1 Like