- Getting started guides
- Connect your device
- Data processing & actions
- IoT Data analytics
- Hardware samples
- Advanced features
- Contribution and Development
Getting started guides
These guides provide quick overview of main IoT Hub features. Designed to be completed in 15-30 minutes.
-
Hello world
Learn how to collect IoT device data using MQTT, HTTP or CoAP and visualize it on a simple dashboard. Provides variety of sample scripts that you can run on your PC or laptop to simulate the device.
mqtt http coap visualization helloworld
-
Getting started with Rule Engine
Learn about IoT Hub rule engine and typical use cases you can implement. Review Hello World example and learn how-to enable filtering of incoming telemetry messages.
device management attributes
Connect your device
Learn how to connect devices based on your connectivity technology or solution.
-
Connect devices using IoT Hub HTTP API
Learn how to connect your devices using HTTP protocol and IoT Hub built-in payload format.
http connect
-
Connect devices using IoT Hub MQTT API
Learn how to connect your devices using MQTT protocol and IoT Hub built-in payload format.
mqtt connect
-
Connect devices using IoT Hub LwM2M API
Learn how to connect your devices using LwM2M protocol and IoT Hub built-in payload format.
lwm2m connect
-
Connect devices using IoT Hub CoAP API
Learn how to connect your devices using CoAP protocol and IoT Hub built-in payload format.
coap connect
-
IoT Hub Integrations basics
Learn about IoT Hub Integrations feature and how you can use it to connect devices and apps that use custom payload formats.
-
IoT Hub Integrations vs IoT Gateway
Learn the differences between the Platform Integrations and IoT Gateway.
-
Connect devices with custom payload using IoT Hub HTTP Integration
Convert existing protocols and payload formats to IoT Hub message format.
http connect
-
Connect devices with custom payload using IoT Hub MQTT Integration.
Connect to external brokers and consume MQTT data stream
mqtt connect
-
Connect SigFox devices using IoT Hub Integration
Learn how to route messages from Sigfox backend to IoT Hub and decode binary device payloads.
sigfox connect
-
Connect LoRaWAN devices using TheThingsNetwork
Learn how to route messages from TheThingsNetwork backend to IoT Hub and vise-versa.
ttn connect
-
Connect OPC-UA servers to IoT Hub
Learn how to connect OPC-UA devices to IoT Hub.
opcua connect
-
Connect LoRaWAN devices using Actility ThingPark
Learn how to route messages from ThingPark to IoT Hub and vise-versa.
-
Connect devices through AWS IoT
Learn how to connect to AWS IoT broker, transform the incoming messages and generate the downlinks using IoT Hub.
-
Connect devices through AWS Kinesis
Learn how to connect to AWS Kinesis stream, transform the incoming messages and generate the downlinks using IoT Hub.
-
Connect devices through IBM Watson IoT
Learn how to connect to IBM Watson IoT broker, transform the incoming messages and generate the downlinks using IoT Hub.
-
Connect devices through Azure Event Hub
Learn how to connect to Azure Event Hub, transform the incoming messages and generate the downlinks using IoT Hub.
-
Connect devices through Azure IoT Hub
Learn how to connect to Azure IoT Hub and transform the incoming messages using IoT Hub.
-
Devices uses TCP protocol
How to connect to IoT Hub TCP-server, transform the incoming messages and generate the downlinks using IoT Hub.
Connect TCP devices
-
Devices uses UDP protocol
How to connect to IoT Hub UDP-server, transform the incoming messages and generate the downlinks using IoT Hub.
Connect UDP devices
Data processing & actions
Learn how to use IoT Hub Rule Engine.
-
Validate incoming telemetry
Learn how to configure Rule Engine to discard invalid telemetry readings based on JavaScript filter function.
-
Telemetry delta calculation
Learn how to configure Rule Engine to calculate telemetry delta readings based on Originator telemetry rule node.
-
Data function based on telemetry from 2 devices
Learn how to configure Rule Engine to create new telemetry based on telemetry readings from multiple devices.
-
Transform incoming telemetry
Learn how to configure Rule Engine to transform incoming telemetry based on JavaScript function before it is stored to the database.
-
Transform telemetry using previous record
Learn how to configure Rule Engine to calculate “delta” of the counter readings based on current and previous reading.
-
Create & clear alarms
Learn how to configure Rule Engine to create and clear alarms based on incoming data from devices.
-
Working with Alarm details
Learn how to configure Alarm Details function in Alarm nodes and how to add an Alarm widget to the dashboard.
-
Send email on alarm
Learn how to configure Rule Engine to send email when new alarm is created.
-
Send email to customer
Learn how to configure Rule Engine to send email to the customer of the assigned device.
-
Notifications and Alarms on your smartphone using Telegram Bot
Learn how to configure Rule Engine to send notification using Telegram Bot when new alarm is created.
-
Create alarm when the device is offline
Learn how to create an alarm when the device is offline for a certain period of time using RuleEngine.
-
Check relation between Entities
Learn how the Check Relation node can be used to check the relation between Entities.
-
RPC Request to related Device
Learn how to send a remote request call to a Related Device using Rule Engine.
-
Using REST API to get weather data
Learn how to use REST API to get weather data in a specified location.
-
Add & remove devices to group dynamically
Learn how to how to dynamically add & remove device from the device group based on incoming data from device.
-
Send data to external MQTT brokers
Connect to external brokers and send MQTT data stream
-
Using queues for synchronization
Learn how to use Rule Engine 2.5 queues for message processing synchronization.
-
Using queues for message reprocessing
Learn how to use Rule Engine 2.5 queues for message reprocessing in case of failure or timeout.
IoT Data analytics
Learn how to use rule engine to perform basic analytics tasks.
-
Aggregate incoming data stream
Calculate total water consumption in the building based on readings from multiple water meters within a building.
aggregation water meter analytics rule engine
-
Aggregate latest telemetry values periodically
Calculate average temperature in the warehouse based on readings from multiple temperature sensors.
average temperature analytics rule engine
Hardware samples
Learn how to connect various hardware platforms to IoT Hub.
-
ESP32 OTA using IoT Hub
Learn how to make ESP32 OTA update using IoT Hub custom widget, rule chain and dashboard
-
ESP32 Pico Kit GPIO control and DHT22 sensor monitor using IoT Hub Arduino SDK
Contains wiring diagram, sketch and dashboard setup guide.
-
Temperature upload over MQTT using Arduino UNO, ESP8266 and DHT22 sensor
Contains wiring diagram, sketch and dashboard setup guide.
-
Humidity and temperature upload over HTTP using Arduino UNO, SIM808 Shield and HTU21D sensor
Contains wiring diagram, sketch and dashboard setup guide.
-
Temperature upload over MQTT using ESP8266 and DHT22 sensor
Contains wiring diagram, sketch, dashboard setup guide and demonstration video.
-
ESP8266 GPIO control over MQTT using IoT Hub
Contains wiring diagram, sketch, dashboard setup guide and demonstration video.
-
Temperature upload over MQTT using NodeMCU and DHT11 sensor
Contains wiring diagram, sketch and dashboard setup guide.
-
Raspberry Pi GPIO control over MQTT using IoT Hub
Contains wiring diagram, source code, dashboard setup guide and demonstration video.
-
Raspberry Pi GPIO control using Android Things and IoT Hub
Contains wiring diagram, source code, dashboard setup guide and demonstration video.
-
Temperature upload over MQTT using Raspberry Pi and DHT22 sensor
Contains wiring diagram, sketch, dashboard setup guide and demonstration video.
-
GPS data upload and visualization using LinkIt ONE and IoT Hub
Contains wiring diagram, sketch and dashboard setup guide.
-
Learn how to connect your SODAQ Universal Tracker to IoT Hub
Learn how to connect your SODAQ Universal Tracker to IoT Hub via T-Mobile – IoT CDP Integration.
NB IoT, NB-IoT, T-Mobile, SODAQ, 5G
-
Learn how to connect your SODAQ Universal Tracker to IoT Hub
Learn how to connect your SODAQ Universal Tracker to IoT Hub via UDP Integration.
NB IoT, NB-IoT, T-Mobile, SODAQ, 5G
-
IoT Hub BLE Demo with Raspberry PI, ESP32, Xiaomi MI and HTU21D sensors
Contains wiring diagram and dashboard setup guide.
-
Temperature upload over MQTT using Nettra RTU
Contains wiring diagram and dashboard setup guide.
Advanced features
Learn about advanced IoT Hub features
-
Connectivity status
Learn how to track connectivity status of the devices: connected, disconnected, active, inactive
-
Audit log
Learn how to track user actions in order to keep audit log.
-
White-labeling
Learn how to configure your company or product logo and color scheme in 2 minutes with zero coding efforts.
-
Device and Asset groups
Learn how to work with entity groups and perform bulk operations
-
Scheduler
Learn how to schedule various types of events and trigger actions.
-
Reporting
Learn how to schedule and generate reports based on existing dashboards.
Contribution and Development
Learn how to contribute to IoT Hub, customize & develop custom widgets and rule nodes