/RoomTempDevice-IoT

Sends sensor data from a MXChip AZ3166 IoT Devkit to Azure IoT Hub

Primary LanguageC++MIT LicenseMIT

RoomTempDevice-IoT

Sends sensor data from a MXChip AZ3166 IoT Devkit to Azure IoT Hub at a defined interval

Getting Started

  • Run through Get started - IoT DevKit guide
    • Prepare your development environment
    • Provision your device using the Azure DPS
    • Load your IoT Hub Device Connection String
    • Git clone && Upload Device Code

Configuration

Description
send_interval The interval at which the device will send the payload to IoT Hub.
setup_delay The delay the setup messages will be displayed on the screen.

If running 24 hours a day - keep the send_interval greater than 10.8 seconds (10800ms) to stay within the IoT Hub Standard tier free edition 8,000 messages per day

Payload

An example of the payload that will be sent to IoT Hub

{
	"topic": "iot",
	"Temperature": 31.2999990000000,
	"Humidity": 47.0000000000000
}

Realtime Dashboard

See RoomTempDashboard for a realtime dashboard