![Detailed macro shot of an AutoPi device against a dark background, showcasing technological innovation.](https://images.pexels.com/photos/11700247/pexels-photo-11700247.jpeg?auto=compress&cs=tinysrgb&w=1920)
Azure IoT Central is a cloud-based platform that simplifies IoT device management by providing a user-friendly interface for monitoring, managing, and analyzing IoT data.
With Azure IoT Central, you can create custom applications that integrate with your existing systems, allowing you to monitor and manage your IoT devices in one place.
This platform is highly scalable, supporting thousands of devices, making it an ideal solution for businesses with large IoT deployments.
By using Azure IoT Central, you can focus on your business operations while the platform handles the complexity of IoT device management.
Device Management
Device management is crucial for any IoT solution designed to operate at scale. A structured approach is essential to keep devices connected and healthy.
You can manage devices in IoT Central by monitoring, troubleshooting, and provisioning new devices. Operators can also define custom rules and actions that operate over data streaming from connected devices.
To manage devices effectively, use IoT Central's capabilities throughout the application life cycle. This includes provisioning new devices, troubleshooting issues, and automating tasks within the application.
Create an Application
![A collection of smart home devices including light bulbs, a security camera, and a smart hub.](https://images.pexels.com/photos/28940512/pexels-photo-28940512.jpeg?auto=compress&cs=tinysrgb&w=1920)
To create an application for device management, you can start by deploying a new IoT Central application. You can choose from generic application templates or industry-focused ones like Retail, Energy, Government, or Healthcare.
These application templates are designed to help you kickstart your IoT solution development and can be fully customized to fit your scenario. You can use them to get a feel for what's possible or to create a tailored application.
To get started, you can use a generic application template or one of the industry-focused templates. Here are some of the industry-focused templates you can choose from:
- Retail
- Energy
- Government
- Healthcare
Once you've chosen a template, you can learn how to create your first application and connect a device by following the "Use your smartphone as a device to send telemetry to an IoT Central application" quickstart.
Roles
Roles play a crucial part in managing devices in an IoT Central application. An organization user can't access certain application-wide capabilities without these roles.
In an IoT Central application, three new roles are added when you create the first organization: Org Administrator, Org Operator, and Org Viewer. These roles are necessary for managing application-wide capabilities such as pricing plans, branding and colors, API tokens, and application-wide enrollment group information.
You can use these roles when inviting users to an organization in your application. This helps ensure that the right people have the right level of access to manage devices and application settings.
Here's a brief overview of the user roles in an IoT Central application:
Understanding these roles is essential for effective device management in an IoT Central application.
Jobs
Jobs in device management are a powerful tool for keeping your devices connected and healthy. They allow you to apply single or bulk updates to devices by setting properties or calling commands.
With IoT Central, you can use jobs to automate tasks and reduce downtime. This is especially useful when troubleshooting and remediating issues with devices.
Jobs can be used to transform your IoT data into business insights that drive actionable outcomes. For example, you can use jobs to determine machine efficiency trends and predict future energy usage on a factory floor.
Here are some examples of how you can use jobs in IoT Central:
- Apply single or bulk updates to devices by setting properties or calling commands.
- Automate tasks and reduce downtime.
- Determine machine efficiency trends and predict future energy usage.
By using jobs effectively, you can keep your devices connected and healthy, and get the most out of your IoT solution.
Device Configuration
Device configuration is a crucial step in setting up your Azure IoT Central application. You can provision devices either manually or automatically through the device itself.
A device template defines the characteristics and behavior of a device, including telemetry it sends, business properties, and device properties. You can create a device template in IoT Central or use Visual Studio code to design a device model and publish it to a repository.
When creating a device, you'll need to specify a device name and device template. You can choose from an existing device template or leave it unassigned for now. The device will then appear in the device list.
Here are the device configuration parameters to consider:
By following these steps, you'll be able to set up your devices and start sending telemetry data to your Azure IoT Central application.
Configuration of Devices
In Azure IoT Central, you can provision devices manually or automatically from the device by parsing generic app authentication.
To manually create a device, navigate to the app where the device is going to be provisioned in IoT Central, and enter the respective symmetric keys.
You can choose a device name, such as "SIA Connect", and leave the device template as "Unassigned" or attach an already created Device Template to it.
The newly created device will appear under the device list.
Here's a summary of the parameters for creating a device in IoT Central:
To configure devices properly, it's essential to follow the correct steps and parameters, such as choosing a device name and selecting the device template.
Property Synchronization
Property synchronization is a powerful feature in IoT Central that allows for the exchange of data between your SIA Connect device and your Azure IoT Central application. By default, device properties are read-only, but writable properties enable bidirectional data exchange.
Writable properties are essential for synchronizing data between your device and application. This is achieved by mapping properties from IoT Central to real data points in your device.
To map properties, you need to create a mapping between the Azure IoT Central property item in SIA Connect and the item you want to associate it with. This is done by selecting the Siemens S7 PLC items of the same name, such as IO and RPM_SP.
Enabling bidirectional synchronization is crucial for seamless data exchange. This ensures that actual property data stream from the instance to Azure IoT Central and can be controlled from the application.
To validate property synchronization, you need to set desired values in the instance and click Set. This will update the new actual property values in Azure IoT Central.
Mapping Properties to Data
Mapping properties to data is a crucial step in device configuration. You can create properties in IoT Central and then map them to real data points in other instances.
To map properties to data, you need to create a template in IoT Central, as shown in Example 3. This template will define the properties and telemetries that your device will send to IoT Central.
Once you have created the template, you can add properties and telemetries to it. For example, you can add a property to report the target temperature your device is trying to reach, as shown in Example 5.
To map the property to real data points in another instance, you need to create a mapping between the Azure IoT Central property item and the item you want to associate it with, as shown in Example 6. This can be done by selecting the Siemens S7 PLC items and the Azure IoT Central property item in the receiver/slave item.
Here's a summary of the steps to map properties to data:
By following these steps, you can successfully map properties to data and integrate your device with IoT Central.
Device Data
Device data is the lifeblood of any IoT Central application. It's the telemetry, business properties, device properties, and commands that flow in from connected devices. This data is what allows operators to monitor, troubleshoot, and automate tasks within the application.
Device templates are the blueprints that define the characteristics and behavior of a type of device. They specify the telemetry it sends, business properties that an operator can modify, device properties that a device sets and are read-only in the application, and more.
A device model describes the capabilities a device should implement, including cloud properties, customizations, forms, and device views. You can create a device template in IoT Central, or use Visual Studio code to design and publish a device model to a repository.
If your device telemetry is too complex, you can map it on ingress to IoT Central to simplify or normalize it. This makes it easier to work with and analyze the data.
Here are the different options for creating device templates:
- Design the device template in IoT Central and implement its device model in your device code.
- Create a device model using Visual Studio code and publish it to a repository. Implement your device code from the model, and connect your device to your IoT Central application.
- Create a device model using Visual Studio code. Implement your device code from the model. Manually import the device model into your IoT Central application and add any cloud properties, customizations, and views your application needs.
Operators can define custom rules and actions that operate over data streaming from connected devices. This allows them to automate tasks within the application and control what happens at the device level.
To monitor device telemetry, go to the Telemetry menu in Azure IoT Explorer and click Start. This will allow you to see the data streaming in from your devices in real-time.
Here are the different types of data that can be sent from devices:
- Telemetry: Examples include temperature and humidity.
- Business properties: Examples include customer address and last serviced date.
- Device properties: Examples include the state of a valve as either open or shut.
- Commands: Examples include remotely rebooting a device.
Device Security
Device security is crucial in IoT Central, and it's not just about connecting your devices to the cloud. A structured approach to device management is essential to keep your devices connected and healthy.
To ensure device security, IoT Central provides capabilities to monitor and troubleshoot issues with devices. Operators can use the IoT Central application to monitor devices connected to the application.
Operators can also enable or disable custom rules at the device level to control and automate tasks within the application. This helps prevent potential security threats.
By using IoT Central's capabilities, you can manage your devices throughout the application life cycle and ensure their security.
Frequently Asked Questions
What is the difference between Azure IoT Hub and Azure IoT Central?
Azure IoT Hub is a managed service for IoT device management, whereas Azure IoT Central is an IoT app platform that simplifies building IoT solutions with a template-based approach. In essence, IoT Hub is a more customizable, while IoT Central is a plug-and-play solution.
Is Azure IoT central, PaaS or SaaS?
Azure IoT Central is a Platform as a Service (PaaS) that provides managed scalability and high availability. It's a fully managed service that simplifies IoT development and operations.
What type of data can we export from Azure IoT Central?
You can export various types of data from Azure IoT Central, including telemetry, property changes, and device events, to destinations like Azure Event Hubs and Azure Blob Storage. Exporting this data enables real-time insights and analytics for your IoT solutions.
Sources
- https://learn.microsoft.com/en-us/azure/iot-central/core/howto-create-organizations
- https://azure.microsoft.com/en-us/products/iot-central
- https://learn.microsoft.com/en-us/azure/iot-central/core/overview-iot-central
- https://www.techradar.com/pro/microsoft-says-it-wont-be-retiring-azure-iot-central-after-all
- https://help.sia-connect.com/en_US/azure-iot-central/1478175-getting-started-with-azure-iot-central
Featured Images: pexels.com