Power Trace: local energy monitoring & pattern analysis for Tuya-compatible relays (standalone app, not a HA integration)

I’ve been building Power Trace, a standalone local energy monitoring app for Tuya-compatible smart relays (tested on Atorch GR2PWS, should work with other Tuya Local Protocol devices too).

Important upfront: this is not a Home Assistant integration. It’s a separate app with its own web UI — I know a lot of you are running LocalTuya + the HA Energy Dashboard already, and for people already deep in HA, that’s probably the better fit. Power Trace is aimed more at people who want energy monitoring without needing to run all of HA, or who want a dedicated tool just for this.

What it does:
Runs entirely on your local network — no cloud account, no telemetry. Shows live voltage, current, power, power factor and accumulated consumption in a browser UI, with history and charts.

The part I spent most of my time on is the analysis engine. It computes a 0–100 health score from accumulated history and looks for patterns and correlations — voltage sags tied to load spikes, recurring peak-load windows, that kind of thing — and explains them in plain language rather than just plotting a line.

A real example from my own data: it found that load spikes above ~230W correlate with a 25V average voltage sag, 80 occurrences over the tracked period — pointed me at a weak supply line I wouldn’t have caught just eyeballing a chart.

Platforms: Windows (.exe), Debian/Ubuntu (.deb, amd64), Raspberry Pi (.deb, arm64). Free, no accounts, no telemetry.

Honesty check: currently distributed as prebuilt packages rather than open source. Happy to discuss why, and genuinely curious what this community would want to see if it did move that direction — HACS integration, entity export to HA, something else?

Site: https://getpowertrace.com

Sounds bad.
I wonder what your voltage drop is with 3000W load…

Good question - I haven’t actually tested at that load, and I’d guess it’s not linear anyway (probably depends on what else is drawing power at the same time, wire gauge, distance from the panel, etc.). This finding is specifically why I want to get an electrician to look at the line before pushing anything close to 3000W through it. The whole point of surfacing this pattern was catching it before testing it the hard way.
Worth adding some context too: I’m in Ukraine, where the grid’s been genuinely unstable because of the war - shelling has damaged infrastructure in a lot of regions, so some of what the analysis picks up may be grid instability rather than purely a wiring issue on my end. Makes the tool more useful here, honestly, since it’s hard to tell the difference just by feel.

Grid voltage can be very unstable there but for sure it doesn’t drop 25V from 230W load.
But your house wiring can cause it if there’s something (very much) wrong.

I live in Italy and I have grid anything between 170V and 250V. 170V is clearly below tolerances but the testing method is in favor for grid provider..

I understand the problem and tomorrow I will try to localize the place - is it my apartment or the general house wiring. But I already see the benefits of my program