Production platform, SmartCompost, 2024
SmartCompost
SmartCompost is a multi-tenant platform that runs industrial composting sites. Field sensors report through a device gateway, readings land in a tenant-isolated database, and operators get dashboards, generated PDF reports and alerts. I helped build the whole platform, and my focus now is the machine learning that turns odour readings into a map.
The problem
A composting site is a chemical process that somebody has to watch. Temperature, moisture and gas readings decide when a pile gets turned, and getting it wrong costs a batch or triggers a complaint from a neighbour. Doing that by clipboard does not scale past one site, and the moment you serve several companies from one platform, every query has to be certain it is answering for the right tenant.
What I did
The system is split into around a dozen services behind two gateways, deployed on Docker Swarm. I helped build all of it, from the device gateway that ingests sensor traffic to the reporting backend that renders PDFs from live data, the weather-station integration and the notification service. My focus now is the machine learning, where I model the dispersion of an odour index and draw it as a heat layer over a map, so an operator sees where a smell is likely to reach instead of a number on a gauge.
What came out of it
Twelve services run in production against real sites. Along the way I found and fixed a cross-tenant leak in a data migration that had stamped a single owner onto readings belonging to several, and I rebuilt the report chart query after finding it was truncating environmental reports to roughly the first week of data because it limited rows instead of distinct timestamps. Both are the kind of bug that never shows up as an error, only as a quietly wrong answer.