Proof of Concept – simple application for processing IoT telemetry in Microsoft Azure. Storing aquired data to blob storage and send them to Cisco Webex Teams Room.
Temp-Alert receives device-to-cloud messages from a Miro Insight sensor sent via LoRaWAN to Azure IoT Hub, decodes the payload and then:
- stores the full telemetry (temperature, humidity, pressure, …) as JSON blobs in Azure Blob Storage
- sends a temperature report message to a Cisco Webex Room
⚠️ This is just a sample implementation (Proof of Concept).
flowchart LR
A["Miro Insight IoT sensor"] -->|LoRaWAN| B["Azure IoT Hub"]
B --> C["Temp-Alert (Azure Function)"]
C --> D["Azure Blob Storage (JSON files)"]
C --> E["Cisco Webex Room (alerts)"]
• Azure Subscription with:
• IoT Hub
• Blob Storage (container for JSON data)
• Miro Insight LoRaWAN-enabled sensor
• Cisco Webex Bot configured for your target room
• Python 3.8+
git clone https://github.com/filippohronsky/temp-alert.git
cd temp-alert
python -m venv .venv
source .venv/bin/activate # Linux / macOS
.venv\Scripts\activate # Windows
pip install -r requirements.txt
Create a .env file in the project root with:
IOTHUB_CONNECTION_STRING="<your IoT Hub connection string>"
BLOB_CONNECTION_STRING="<your Blob Storage connection string>"
WEBEX_ACCESS_TOKEN="<your Webex Bot token>"
WEBEX_ROOM_ID="<your Webex room ID>"
• Package as an Azure Function (or WebJob/Container) • Set the same environment variables under Application Settings
- When your sensor sends a message, Azure IoT Hub routes it into a new blob under your container.
- The Azure Function triggers on each blob creation, then:
- Decodes the incoming base64-encoded payload
- Writes the telemetry JSON to Blob Storage
- Posts a formatted temperature alert to your Cisco Webex Room, for example:
- ℹ️ Teplota: {temperature} , Vlhkosť: {humidity} , CO2: {co2} , IAQ: {iaq} , Tlak: {pressure} , Napätie batérie: {battery_v}
This GitHub repository is provided free of charge and may be used without restriction. The author assumes no responsibility or liability for any use of this repository.