CircuitSetup / Split-Single-Phase-Energy-Meter

Split Single-phase Energy Meter
https://www.crowdsupply.com/circuitsetup/split-single-phase-energy-meter
MIT License
261 stars 57 forks source link

Current Multiplier and Wattage report Fixes #72

Closed DragonMinded closed 2 years ago

DragonMinded commented 2 years ago

Based on https://github.com/CircuitSetup/Split-Single-Phase-Energy-Meter/issues/64 I have adjusted my calibration constants and added a quick define for people to be able to specify a multiplier constant. Seems to work fine on my setup with SCT-024 clamps. On my own setup I have a value of 3.0 which scales to allow amperages up to ~196A. While I was in here I also adjusted the total wattage sensor value to track apparent power instead of real power, since as far as I can tell most utilities bill on apparent power not just real power (wouldn't it be nice...). So, when reporting apparent power and using the integration sensor I put in the last PR, the energy usage dashboard on a Home Assistant setup using this code should be able to get rather close to the utility's billed KWh for your particular setup.

Thanks again for the nice piece of kit, I've been having fun hacking on it and getting it integrated into my main panel!