A developer wearing a winter hat monitors a refrigerator and radiators on a Grafana dashboard beside a server rack. A Darth Vader rubber duck sits on the desk.

The Incident

I received another heating bill.

After years of living with district heating, I discovered that you are apparently supposed to adjust radiators according to the weather. District heating, how I've missed you!

I ordered two smart radiator thermostats and installed them. Things got a little better, but the room was still cold. So I bought a room controller.

That should have been the end of the story.

The Analyst

But then the analyst woke up.

“Where's the historical data? Where are the charts? How are we supposed to evaluate heating efficiency? How does it correlate with the outdoor temperature?”

Fair point. How can you make decisions without data?

Then the architect showed up.

“Where are we going to store the data? How do we organize collection? What about modularity, infrastructure, and deployment?”

They arrived almost simultaneously. It's convenient when everyone attending the meeting lives inside the same head. Less convenient when nobody is responsible for the budget.

The Infrastructure

I remembered I had a Synology DS220+ lying around, doing absolutely nothing. Almost a terabyte of free storage.

Python, SQLite, Docker, Grafana, FRITZ!Box API.

I built a modular data collector that collects data from thermostats, APIs, and pretty much anything it can reach that is willing to respond. And stores it all for historical analysis.

The first charts appeared: temperatures, heating schedules, device status.

While I was at it, I added router monitoring. Then monitoring for the NAS itself. The infrastructure needs to be observable, after all.

Surely, this was a good place to stop.

The DevOps Engineer

Then I realized that updating dashboards manually was just bad engineering feng shui.

Where's the version control? Where are the automated tests? Where's the CI/CD? What if I accidentally break production?

Enter GitHub Actions, pull requests, automated tests, static validation, live preflight, and automated production deployment after merge.

My home heating system now has a deployment pipeline.

I hope the radiators appreciate it.

The Security Engineer

Another question came up.

“Why is Grafana only accessible from the local network?”

Indeed. What if my wife calls and tells me the internet is slow? How am I supposed to perform root cause analysis when I'm away from home?

I can't just blindly reboot the router like a normal person.

So naturally, I set up a dedicated subdomain, Cloudflare Tunnel, and Zero Trust.

Security worked so well that, at one point, even my own CI/CD couldn't reach Grafana.

Several pull requests, HTTP 403 and 404 errors, and skipped deployments later, production deployment finally succeeded at two in the morning.

A quick reminder: we're still trying to heat an apartment.

The Return of Physics

Meanwhile, the analyst discovered an interesting anomaly.

Both radiator thermostats reported approximately 28°C. The room controller reported 17°C.

Outside, it was +2°C.

After careful data analysis, extensive chart inspection, and the application of years of engineering experience, an architectural decision was made:

Raise the curtains and remove the decorative radiator covers.

Sometimes, that's what infrastructure optimization looks like.

I also added outdoor temperature and humidity. Now we can analyze correlations, thermal inertia, warm-up rates, and overnight cooling.

The system needs 48 hours to establish a baseline.

Surely, now I can finally get some rest.

The Refrigerator Incident

And then something caught my eye. Guess what?

The refrigerator.

“Wait a minute. It's connected to Wi-Fi…”

Samsung SmartThings already collects energy consumption statistics. But why look at them in a separate app when we have our own observability platform?

Time to investigate the local API.

Network discovery. Port scanning. CoAP discovery. DTLS handshake. Client certificate generation.

And there it was: the refrigerator was delivering telemetry directly, without relying on Samsung's cloud.

Instantaneous power, cumulative energy consumption, temperatures, door status, operating modes, and diagnostic information.

By evening, my refrigerator had its own Grafana dashboard.

Refrigerator: successfully deployed to production.

Some metrics still show No data. But that's the refrigerator's technical debt. Definitely not mine. :D

The Financial Analyst

Then I noticed the electricity meter.

“How much electricity does the entire apartment consume? What about the computers? The dishwasher? How much of our consumption can't we account for?”

Plans emerged to integrate the electricity meter, smart plugs, and automated electricity cost calculations.

That would require another €200 or so in hardware.

The financial analyst has declined to comment for now.

Current Project Status

ComponentStatus
Data collectionOperational
Historical storageOperational
Grafana dashboardsOperational
CI/CDOperational
Zero TrustOperational
Remote troubleshootingAvailable
Refrigerator observabilityOperational
AlertingPlanned
Electricity monitoringOn the roadmap
Heating optimizationCollecting baseline
Scope managementFailed

Conclusion

The analyst is happy.

The architect is planning further expansion.

DevOps wants to set up alerting.

Security is keeping an eye on the certificates.

The financial analyst is quietly sobbing in a corner over the budget, trying to figure out when any of this will pay for itself.

The refrigerator is in production.

All of them still live inside the same head.

I just wanted to be warm.


P.S. The finale to the finale

Open issues: 0

  • Apartment: +17.5°C.
  • Refrigerator: +3°C.
  • Freezer: −19°C.

The refrigerator and freezer are successfully maintaining their target temperatures. The apartment isn't.

The refrigerator meets its SLA. The apartment doesn't.