MEDrecycle – IoT Dashboard for Real-Time Monitoring of Recycling Stations

Smart Source built the MEDrecycle web platform for Mediateknik AB — a Blazor Server dashboard integrating MQTT telemetry, InfluxDB time-series data and real-time AI alerts — giving Swedish municipalities live operational control over their recycling stations.

Contact
Case details banner

Smart Source designed and developed the MEDrecycle web platform for Mediateknik AB — a real-time IoT monitoring dashboard for recycling stations across Sweden. The system collects telemetry from field devices via MQTT, stores time-series data in InfluxDB, and presents live operational status, visitor flows, and alerts through an interactive Blazor Server interface. MEDrecycle gives municipalities and waste management operators a data-driven overview of their stations — enabling proactive management, faster incident response, and smarter resource planning.

The Challenge

Recycling stations across Sweden face a growing set of operational challenges. Illegal dumping, littering, vandalism, and general insecurity are costly problems that damage both the environment and the municipality's reputation. Beyond the visible issues, the underlying problem is a lack of data: operators have historically had no real-time visibility into what is happening at their stations.

Before MEDrecycle, organisations like HEM (Halmstad Energi och Miljö) were dependent on reactive measures — manual patrols, citizen fault reports, and physical inspections — to understand the state of their facilities. There was no way to detect an incident as it happened, respond before damage escalated, or plan maintenance based on actual usage data.

Mediateknik AB had built the MEDcloud platform and deployed AI-driven camera hardware at recycling stations to address these challenges. What was needed was a comprehensive Industrial IoT (IIoT) web platform to aggregate all incoming sensor data, visualise it in real time, and deliver it to operators through a clear, role-based interface.

The key requirements were:

The Solution

Smart Source designed and developed the MEDrecycle platform as the operational web interface for Mediateknik's IoT infrastructure. The solution is built with Blazor Server on ASP.NET Core, giving operators an interactive, real-time dashboard without the complexity of a separate frontend framework.

Field devices communicate over MQTT with TLS encryption, sending telemetry data in MODBUS format from recycling stations across the country. A .NET Worker Service handles continuous MQTT ingestion in the background, routing incoming data to the appropriate storage layer: SQL Server holds the latest operational state per device for instant status reads, while InfluxDB stores the full historical time-series record for analytics and trend visualisation.

Real-time alert delivery to the dashboard is handled via Server-Sent Events (SSE), ensuring operators receive fill-level warnings and incident notifications the moment they are detected — without polling. The map view is powered by Leaflet with GPS coordinates streamed from each device, giving operators an immediate geographic overview of their entire station network.

Authentication and access control are managed through Keycloak using OpenID Connect (OIDC), with a multi-tenant model that enforces company- and role-based filtering of devices and data. The UI component layer is built with MudBlazor, and visitor flow charts are rendered with Chart.js via BlazorExpress, supporting segmentation by pedestrian, vehicle, and cyclist traffic.

Smart Source was responsible for the full development lifecycle — architecture, backend, frontend, data pipeline design, integrations, and deployment.

Key capabilities delivered

Technologies used

C# · ASP.NET Core · Blazor Server · .NET Worker Service · MQTT over TLS · MQTTnet · InfluxDB · SQL Server · Dapper · Keycloak (OIDC) · Leaflet · Chart.js · MudBlazor · Server-Sent Events (SSE) · MODBUS · Azure DevOps

The Result

The MEDrecycle platform gave Mediateknik AB and their municipal clients a complete, production-ready operational hub for managing recycling stations — replacing reactive, manual processes with continuous, data-driven oversight.

In Halmstad, HEM (Halmstad Energi och Miljö) deployed MEDrecycle across their recycling stations. The results were immediate and measurable: the AI camera system identified a person illegally dumping a bed, leading to a fine of 18,400 SEK — a result that was subsequently covered by SVT Halland. The case became a clear demonstration of how real-time IoT monitoring can shift the balance from reactive cleanup to proactive enforcement and deterrence.

Key outcomes

MEDrecycle demonstrates how a well-architected IIoT data platform — combining MQTT telemetry, time-series storage, and a real-time web dashboard — can deliver measurable public value in the municipal sector.

About Mediateknik AB

Mediateknik i Varberg AB is a Swedish specialist in broadband connectivity, AI-driven camera surveillance, and connected safety systems. Through their proprietary MEDcloud platform and product family — including MEDguard and MEDrecycle — they serve clients across 12 industries including construction, industry, logistics, and the public sector. Mediateknik owns and operates the MEDcloud infrastructure; Smart Source was engaged to design and build the MEDrecycle web platform.

Contact
Mikael Strand

Co-founder & Senior Project Manager

persons imgs

Our happy clients

Want To Be Updated About Smart Source?

Sign up for the Smart Source newsletter and get the latest news and offers sent directly to your inbox.