A new AWS IoT Device SDK is now available. It is a complete rework, built to improve reliability, performance, and security. We invite your feedback! The aws-iot-device-sdk.js package allows developers to write JavaScript applications that access the AWS IoT Platform via MQTT or MQTT over the Secure WebSocket Protocol. It can be used in Node.js environments as well as in-browser applications. This package is built on top of mqtt.js and provides three classes: 'device', 'thingShadow' and 'jobs'. The 'device' class wraps mqtt.js to provide a secure connection to the AWS IoT platform and expose the mqtt.js interfaces upward. It provides features to simplify the handling of intermittent connections, including progressive backoff retries, automatic re-subscription upon connection and queued offline publishing with a configurable drain rate. Beginning with Release v2.2.0 of the SDK, AWS collects usage metrics indicating which language and version of the SDK is being used.

Features

  • The 'thingShadow' class implements additional functionality for accessing Thing Shadows via the AWS IoT API
  • The 'jobs' class implements functionality to interact with the AWS IoT Jobs service
  • The user can also update the device's Thing Shadow in AWS IoT and the remote device will synchronize with the new state
  • AWS IoT Node.js SDK will only support Node version 4 or above
  • Included in this package is an example 'agent'
  • Rotation of security certificates, device reboots, and custom device specific management tasks

Project Samples

Project Activity

See All Activity >

Categories

Communications, IoT

License

Apache License V2.0

Follow AWS IoT SDK for JavaScript

AWS IoT SDK for JavaScript Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of AWS IoT SDK for JavaScript!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Communications Software, JavaScript IoT Software

Registered

2022-07-04