Critical Upcoming Change Notice
All Azure IoT SDK users are advised to be aware of upcoming TLS certificate changes for Azure IoT Hub and Device Provisioning Service that will impact the SDK's ability to connect to these services. In October 2022, both services will migrate from the current Baltimore CyberTrust CA Root to the DigiCert Global G2 CA root. There will be a transition period beforehand where your IoT devices must have both the Baltimore and Digicert public certificates installed in their certificate store in order to prevent connectivity issues.
Devices with only the Baltimore public certificate installed will lose the ability to connect to Azure IoT hub and Device Provisioning Service in October 2022.
To prepare for this change, make sure your device's certificate store has both of these public certificates installed.
For a more in depth explanation as to why the IoT services are doing this, please see this article.
Why Azure IoT?
Click here to learn how Azure IoT can empower the digital transformation of your organization.
New to Azure IoT Hub?
Introduction to Azure IoT Hub: Follow this guide to learn how to set up an IoT Hub and IoT Hub devices.
New to the Azure IoT Node.JS SDK?
Try a Device Sample: Create a basic Node.js application following one of the device client library samples provided.
The Azure IoT Node.js SDK enables developers to create IoT solutions written in Node.js for the Azure IoT platform. It is composed of the following client libraries:
- Device Client Library: to connect devices and IoT Edge modules to Azure IoT Hub. API Reference | README | Configuration Options
- Note: IoT Edge for Node.js is scoped to Linux containers & devices only. Learn more about using Linux containers for IoT edge on Windows devices.
- Service Client Library: enables developing back-end applications making use of Azure IoT Hub. API Reference
- Provisioning Device Client Library: to connect devices to the Azure IoT Provisioning Service. API Reference
- Provisioning Service Client Library: enables developing back-end applications making use of the Azure IoT Provisioning Service. API Reference
npm Package List
Azure IoT Hub Device Client Libraries
Azure IoT Hub Device Provisioning Service: Device Client Libraries
|TPM Security Client|
|x509 Security Client|
Working from Source Code
If you want to modify or contribute changes to the SDK, then you can build the libraries following these instructions.
How to Contribute
If you encounter any bugs, have suggestions for new features or if you would like to become an active contributor to this project please follow the instructions provided in the contribution guidelines.
- Have a feature request for SDKs? Please post it on User Voice to help us prioritize
- Have a technical question? Ask on Stack Overflow with tag "azure-iot-hub"
- Need Support? Every customer with an active Azure subscription has access to support with guaranteed response time. Consider submitting a ticket and get assistance from Microsoft support team
- Found a bug? Please help us fix it by thoroughly documenting it and filing an issue.
The Azure IoT SDK for Node.js supports the LTS and Current versions of the Node.js runtime.
The Node SDK offers releases for new features, critical bug fixes, and Long Term Support (LTS). NPM package versioning follows semantic versioning,
major.minor.patch. Any time the version is updated, it will be tagged
New Features and Critical Bug Fixes
New features and critical bug fixes (including security updates) will be released on the main branch. These releases will be tagged using the date formatted
yyyy-mm-dd. A feature release will bump the
minor version and reset the
patch version to 0. A critical bug fix will bump the
patch version only.
- Azure IoT Hub documentation
- Prepare your development environment to use the Azure IoT device SDK for Node.js
- Setup IoT Hub
- Node.js API reference: Service SDK
- Node.js API reference: Device SDK
Microsoft collects performance and usage information which may be used to provide and improve Microsoft products and services and enhance your experience. To learn more, review the privacy statement.