COVID-19 safe environments with IoT Edge monitoring and alerting

Azure Digital Twins
Azure IoT Edge
Azure Kubernetes Service (AKS)
Azure Service Bus
Azure Stream Analytics
Azure Monitor

Solution ideas

This article is a solution idea. If you'd like us to expand the content with more information, such as potential use cases, alternative services, implementation considerations, or pricing guidance, let us know by providing GitHub feedback.

This article showcases a COVID-19 safe solution that is being implemented in workplace facilities across Europe, North America, and Latin America.


Architecture diagram: Bosch COVID-19 Safe Solution for monitoring and alerting with Azure IoT Edge.

Download a Visio file of this architecture.


  1. CCTVs send video data to Internet of Things (IoT) edge servers. Edge computing handles device registration, provisioning, and data ingestion.
  2. The Bosch Algorithm Engineering and Model Training Environment uses custom vision analytics to continually retrain machine learning (ML) models, and directly updates edge servers.
  3. Edge servers send data to onboard and cloud stream analytics and blob storage. IoT Edge intelligent devices limit costs by preprocessing and sending only necessary data to the cloud.
  4. Stream analytics perform data enrichment and validation on both edge and cloud data.
  5. Service bus device-to-cloud and cloud-to-device messaging send data and telemetry to and from the cloud.
  6. An interactive visual dashboard app provides near real-time compliance monitoring and alerts.
  7. The Azure cloud provides application logs, monitoring, security, application gateway, and API management for the app.
  8. Redis, MongoDB, and blob storage store cloud data for Power BI analytics and visualizations via a custom connector.
  9. The app sends notifications and alerts to stakeholders via Microsoft Teams.


  • Azure IoT Edge servers with onboard storage, computing, artificial intelligence (AI), and machine learning (ML) capabilities can quickly recognize and respond to sensor input.
  • Bosch video analytics use Custom Vision skills and Azure Machine Learning to continually improve monitoring, detection, and real-time alert triggering.
  • Azure Digital Twins IoT service creates comprehensive models of physical environments in a spatial intelligence graph. Rather than simply tracking individual devices, Digital Twins can virtually replicate the physical world by modeling the relationships between people, places, and devices.
  • Azure Stream Analytics (ASA) provides real-time serverless stream processing that can run the same queries in the cloud and on the edge. ASA on IoT Edge can filter or aggregate data that needs to be sent to the cloud for further processing or storage.
  • Azure Storage provides flexible, scalable, secure Blob storage for unstructured data in the Azure cloud or on the IoT Edge. The current solution also uses Redis and MongoDB data storage.
  • Azure Service Bus messaging through Azure IoT Hub connects devices to Azure cloud resources, and can use queries to filter data to be sent to the cloud.
  • Azure Kubernetes Service (AKS) is a managed service for developing, deploying, and managing containerized applications. In this solution, AKS manages an interactive visual dashboard app that tracks and analyzes safety violations.
  • By integrating with the Azure cloud, the solution can use services like Azure Monitor, Microsoft Defender for Cloud, and Microsoft Entra ID.
  • Integration with Microsoft Teams allows automated notifications of relevant stakeholders like HR and Security.
  • Microsoft Power BI visualizations enable well-informed and data-driven reporting and decision making.

Scenario details

As workplaces and other group spaces reopen after the COVID-19 shutdown, people need to follow health and safety guidelines for safe social distancing, mask and PPE use, and occupancy limits. Bosch COVID-19 Safe Solution combines existing closed-circuit TV (CCTV) infrastructure with the Azure intelligent edge and other Azure and Microsoft services to help organizations monitor, follow, and improve these health and safety practices.

This solution applies across industries as diverse as steel manufacturing, building construction, and automotive assembly. The goals of the solution are to:

  • Ensure a safe work environment when resuming manufacturing after the COVID-19 lockdown.
  • Monitor and enforce compliance with face mask policy, social distancing, and occupancy limits on factory premises.
  • Increase visibility and control through efficient reporting and interactive dashboards.
  • Deliver alerts and notifications so health and safety stakeholders could address safety violations and concerns.
  • Improve compliance, reduce violations, and enable well-informed safety decisions over time.

Potential use cases

  • Spaces with existing CCTV infrastructure.
  • Public areas including stores, restaurants, public transportation, hospitals, schools, and entertainment and recreation spaces.
  • Work areas including offices, factories, and warehouses.
  • Organizations with multiple locations, to enable widespread, systemic data analysis and actions.

Next steps

For more information about this solution:

Product documentation:

Learning paths: