Page 1 of 1

How to use a Aqara Smart Plug SP-EUC10? [solved]

Posted: Tuesday 27 December 2022 22:16
by peterbos
Hi,

I have an Aqara Smart Plug SP-EUC10 that can measure electrical power and usage. The smart plug has three devices: the switch itself, a RFXMeter and a usage device. The RFXMeter holds the total usage in kWH since the plug was first used and per day. The usage devices gives the current power in Watts. I can't get the values from the RFXMeter and the usage device. Does anyone know how to do that?
And a second question: is it possible to reset the total usage to 0?

Peter

Re: How to use a Aqara Smart Plug SP-EUC10?

Posted: Wednesday 28 December 2022 10:22
by waltervl
The RFXMeter counter can be read with something like

Code: Select all

local KWh_total_counter = domoticz.devices('device name').counter
local KWh_counterToday = domoticz.devices('device name').counterToday
The Electric Usage device can be read with something like

Code: Select all

local Actual_Watt = domoticz.devices('device name').actualWatt
To reset a device is normally not possible. The only way probably is to delete it from menu setup - devices and have it recreated by the hardware gateway at restart of the gateway (click on update button) or by restarting domoticz completely.

Re: How to use a Aqara Smart Plug SP-EUC10?

Posted: Friday 30 December 2022 0:00
by peterbos
Thanks Walter!

It might be easier to store the value of the counter and the time when I start a new measurement. I can use a virtual switch for recording those values.

Peter