I am trying to multiply the current by 240 (Vac) but the answer I get isnt right, I mean in HA I can see a current of say 2.2 A but the power is around 127 Watts. What am I missing?
Secondly, if I feed Power DB into the integration, it doesn’t show up in the energy monitor.
Appreciate any pointers or signposting to learn how to add a CT on ESPPhome into the energy monitor.
This is my yaml file and all look working fine but if I compare with my portable display which I got with my smart meter, readings not match at all. Is not even close. 1220W (display) 1380W (home assistant), 290W (display) 530W (ha). It looks like when load is higher difference is going down and when load is going down - difference is going up.
I calibrated using hair dryer and tuya smart plug which is showing actual current. Now clamp is around my life main wire by power supply. Hardware: CT Clamp SCT-013-000 100A:50mA, CT Clamp Current Sensor and mini D1.
Any ideas why is not accurate?
Can it be enough to know the rms voltage and the current at the same time without taking the power factor into account to be able to distinguish between active (kW) and reactive (kVAR) power?
Doesn’t the rms voltage and current only allow you to get the apparent (kVa) power?
That would be a indication that you only measure the apparent power and not the active power that you are pay for
The change is rather high that when you use a higher power device that it has a “better” power factor. Maybe even resistive load like a heating element that has a power factor of (apparent power = active power in that case )
Hello,
I have the same issue and yes, it has something to do with the POWER FACTOR.
My question is: how can I “fix” the math in the esphome yaml file to take this in account?
I have an arduino sketch that uses some RMS libraries that gave me the right readings, but I really dont know how to move the code (and libraries) from arduino to Esphome…
any idea?
Thanks
I’m quite confident that you will not be able to calculate the “real” power just with a current meter. What you need is simply a real power meter (like a $10 pzem004t v3 for example). Your current sensor will only deliver amperage
What update frequency we are talking about? It will probably never be as accurate as a standalone solution (like a $10 pzem004t v3) but if your modbus reads the power factor and voltage every 50 or 100ms and you can do the same with your current meter it might be “sufficient”
For me the problem with PZEM-004T is that you need too many wires if you have a lot of them. E.g for 10 units that would set you at 66€. But that’s a lot of additional wires for each(2 ac supply + 4 for rs) which would make it a wiring nightmare
Edit:
Ah this is modbus, so can probably chain then. The only issue then adding smaller ct and calibrating them