New: the AI firewall watches the whole platform and explains each incident in plain words. See how it works

Reply To: Measuring compressor current with ESP32 and building a monthly kWh report: which sensor, where does the report come from?

Translated from Türkçe by AI ·

Hakan, check the documentation, there is nothing like that. Hermetry has no scheduled or e-mailed ready-made report, it is stated clearly. But the approach that works today is this, we did exactly that at a textile factory:Measurement: for 38A, get an SCT-013-050 (1V output), connect it to the ESP32’s ADC with a 1.65V bias, and do the EmonLib-like RMS calculation on the device. Have the device send current_a every 30 seconds. If you want real kWh, you will need an energy analyzer with Modbus on a DIN rail. Accept a 10% error margin with clamp-on meter + estimated cosφ.Power and energy: in the root flow, put a Calculate block before Save telemetry and derive power_kw. Details are on the derived values page.

expr:   round(1.732 * 400 * msg.payload.current_a * 0.85 / 1000, 2)
target: msg.payload.power_kw

Report: put a chart card on the dashboard, set grouping to day, and in the card settings tick Download data (CSV). At month end, set the window to This month and download the Excel file. If you want it automated, a small script can pull the daily values from the history API with agg=sum, or with increase if you are sending a counter, and you send the e-mail yourself.

Kayıtta yoksa olmamıştır.
Accepted solution♥ 8