2024Class Project

Insulin Monitoring & Actuation

As part of the IoT and Cloud for Sustainable Communities course, I deepened expertise in OOP with Python and core machine-to-machine patterns—request–response via CherryPy and publish–subscribe with paho-mqtt—through labs and applied exercises.

For the final project we built an Insulin Monitoring and Actuation System: glucose readings stream to InfluxDB over MQTT, and users retrieve trends or trigger insulin actions through a Telegram bot for remote monitoring and control.

IoT
Insulin Monitoring & Actuation hero

System Overview

  • Sensor service publishes near-real-time glucose readings to MQTT
  • Subscriber service persists telemetry to InfluxDB for analysis
  • Telegram bot surfaces history and commands for insulin actions
  • Catalogue service registers clients/services to keep topology discoverable
  • Actuator service handles authenticated POST requests to trigger insulin events
Telegram interface showing glucose stats and commands

System Architecture & Ownership

Telemetry & Persistence

MQTT publishers stream glucose readings; subscriber writes to InfluxDB for near-real-time analytics.

Actuation & Control

Actuator service exposes POST endpoints to trigger insulin actions, secured and orchestrated via the catalogue.

Chat Interface

Telegram bot retrieves historical stats and issues commands, giving caregivers remote visibility and control.

Explore & Repo

Source code and links for deeper exploration.