rsaikali/linkya ? reverse-engineered prompt
Reverse engineered prompt
Build me a self hosted app for Home Assistant that can figure out when big appliances are running just from my Linky meter data, without smart plugs.
I want to connect it to Home Assistant and MQTT, pull the power curve from the meter history, let me mark a few time ranges where I know an appliance was on, then train a model on those signatures and use it to detect future cycles automatically. It should show a simple web UI where I can review the curve, create positive and negative signatures, trigger training and detection, and see confidence and diagnostics for each appliance.
When I trust an appliance, I want it published back into Home Assistant as a live binary sensor plus an energy value that shows up in the Energy dashboard. It should run with Docker Compose, store data in Postgres, and keep everything on one local setup I can manage myself. If you need to look up current Home Assistant or MQTT docs, go ahead.