Power calibration

268 views
Skip to first unread message

Ulf Holt

unread,
Aug 27, 2021, 5:40:30 AM8/27/21
to TasmotaUsers
I have installed tasmota pow on a HLW8012 breakoutboard, and can now read information, though the calibration is not working as expected. I have hooked up a known device, and used powerset, voltageset and currentset to adjust the values accordingly, by the current is fixed, though the voltage can vary according to the voltage I measure. When I shut off the device, the current drops to zero, but as soon as I switch on the device and lower the power, the current does not change. The value for Power is correct, but the Apparant power is fixed at the value hooked up to the value I configured using powerset.

What am I doing wrong?

Best regards

Ulf

Philip Knowles

unread,
Aug 27, 2021, 6:22:19 AM8/27/21
to Ulf Holt, TasmotaUsers

A lot depends on what you are measuring the consumption of. Calibration should be carried using a purely resistive load (such as a filament light bulb). Inductive loads ‘shift’ the current cycle out of phase with the voltage cycle and measurement devices correct for this.

 

The procedure is here

Power Monitoring Calibration - Tasmota

 

Regards

 

Phil K

 

Sent from Mail for Windows

--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/d8829421-c257-4262-a979-db2592abbb42n%40googlegroups.com.

 

Ulf Holt

unread,
Aug 27, 2021, 7:26:47 AM8/27/21
to TasmotaUsers
Thank you for the advice, Phil.

That's exactly the procedure I have been following, but the the values I can follow, which will change according to the load, are voltage, power and for some reason, power factor, though the load is resistant. The power factor will follow the load, starting with 1 at the value I used as a reference, and then decrease when I reduce the load, so 50 % load gives power factor 0,50 The other values are fixed.

This is not very important, since I will use this sensor to detect if a device is running or not, so I can use the power value, but would still be nice to make it work.

Best regards

Ulf


Philip Knowles

unread,
Aug 27, 2021, 8:21:08 AM8/27/21
to Ulf Holt, TasmotaUsers

What is reducing the load? If it’s some form of triac based dimmer it will be changing the power factor itself because of the way it chops the waveform.

Ulf Holt

unread,
Aug 27, 2021, 8:27:01 AM8/27/21
to TasmotaUsers
Hi Phil.

I’m using a oil filled heater, and change the load by toggling a switch. 

Philip Knowles

unread,
Aug 27, 2021, 9:03:02 AM8/27/21
to Ulf Holt, TasmotaUsers

If this is a heater with different heat settings it may be using only 1 element and a triac to reduce the load hence the change in power factor.

Ulf Holt

unread,
Aug 27, 2021, 9:18:26 AM8/27/21
to TasmotaUsers
Tried using a 60 watt light bulb, adjusted according to the example, and then changed to a 25 watt lightbulb. Still same problem. I'll try to reset and configure from scratch

Philip Knowles

unread,
Aug 27, 2021, 9:42:56 AM8/27/21
to Ulf Holt, TasmotaUsers

I’d also use a Generic module and add the device rather than using the Sonoff POW R2

Ulf Holt

unread,
Aug 28, 2021, 6:11:01 AM8/28/21
to TasmotaUsers
I think I give up, I cannot make it work, but as long as I can read the correct power output, I can use this in my controller, so it's not a big case. Tried using ESPEasy, which looked OK in the beginning, but turned out that I had the same kind of problem.

Thank you so much Phil, for trying to assist me. Might be somthing with the way the breakout board is made. I'll try with my SonOff POW 2 later and see it it works.

Best regards

Ulf

Philip Knowles

unread,
Aug 28, 2021, 1:25:48 PM8/28/21
to Ulf Holt, TasmotaUsers

Try the following on a Generic module

GPIO4 HLWBL CF1

GPIO5 HLW8012 CF

GPIO13 HLWBL SEL

Reply all
Reply to author
Forward
0 new messages