Mass scale with the new Arduino Cloud CLI

Arduino IoT Cloud enables makers, IoT enthusiasts and professionals to create easily connected projects based on a wide range of Arduino, ESP32 and ESP8266 boards.

In line with Arduino's vision, it has been carefully designed to provide the most user-friendly and intuitive experience, eliminating complex tasks that create barriers for users who are unfamiliar with coding. Some of the features include:

Easy integration that will automatically generate a sketch layout when setting up a new device so you can edit it immediately and quickly move from unboxing to building your project. Build rich and customizable dashboards to visualize your device status and data, accessible remotely through a native mobile app and your web space Keep your devices up to date with secure remote OTA updates Historical data storage "automatically" synchronization of variables between multiple devices Integration with third-party platforms like Alexa or IFTTT

The intuitive and user-friendly web interface is a major factor in the popularity of Arduino IoT Cloud. It just makes it easier to get started for a wide variety of users, from those with no prior coding experience to those who are expert Arduino users.

Introducing a new alternative IoT Cloud experience

Alternatively, it is possible to interact with the Cloud via the API. This method is mainly used for integration with other platforms, applications or web pages.

Interaction with the cloud is now complemented by a new Cloud CLI which provides a tool to perform scripted operations on Arduino Cloud and satisfy use cases such as bulk device provisioning. As it allows users to access the main features of Arduino IoT Cloud from a terminal, it is also a long-requested feature by power users.

With the new Cloud CLI, the Arduino IoT Cloud has a full suite of tools available for every type of user.

All your favorite IoT Cloud actions available on your device

With the new Cloud CLI tool, it is possible to perform most tasks that can be done using the web interface.

The Cloud CLI needs a credential file containing an Arduino IoT Cloud client ID and its corresponding secret. Credentials can also include an optional organization ID that specifies the organization to use. These credentials can be retrieved from the cloud by creating a new API key.

Devices and objects can be created, deleted and listed. Things can be tied to devices. In a very similar way, it is possible to manage dashboards.

OTA firmware updates can also be performed with the option to defer the update for up to a week. It is also possible to perform a bulk OTA download via a specific command.

One of the key features is the possibility to download in different text formats (JSON, YAML, …) the templates of dashboards, devices and objects, so that you can keep them for future use. It is very useful to modify them to create copies of the entities with certain modified properties and upload the new models to the Cloud.

Large-scale provisioning journey

The Cloud CLI is a tool that can be easily integrated into scripts. It is therefore well suited for scenarios requiring mass scale and automated actions.

The typical journey would include the following phases.

Phase 1: Prototyping

The user journey begins with the creation of an initial Thing prototype and Sketch code that solves the use case. This activity can be done using the IoT Cloud web application, or even by editing the sketch in the online editor or the offline Arduino IDE. :

Phase 2: Factory supply

At this point, the user can replicate the entire "prototype" configuration to many other devices, provisioning and connecting all of them to the cloud. In this phase, using Cloud CLI, it is possible to streamline the provisioning process and even combine it with automation scripts.

Phase 3: Production Update

During the normal life of a thing in the field, it's very common to need to update firmware remotely. With Cloud CLI, it...

Mass scale with the new Arduino Cloud CLI

Arduino IoT Cloud enables makers, IoT enthusiasts and professionals to create easily connected projects based on a wide range of Arduino, ESP32 and ESP8266 boards.

In line with Arduino's vision, it has been carefully designed to provide the most user-friendly and intuitive experience, eliminating complex tasks that create barriers for users who are unfamiliar with coding. Some of the features include:

Easy integration that will automatically generate a sketch layout when setting up a new device so you can edit it immediately and quickly move from unboxing to building your project. Build rich and customizable dashboards to visualize your device status and data, accessible remotely through a native mobile app and your web space Keep your devices up to date with secure remote OTA updates Historical data storage "automatically" synchronization of variables between multiple devices Integration with third-party platforms like Alexa or IFTTT

The intuitive and user-friendly web interface is a major factor in the popularity of Arduino IoT Cloud. It just makes it easier to get started for a wide variety of users, from those with no prior coding experience to those who are expert Arduino users.

Introducing a new alternative IoT Cloud experience

Alternatively, it is possible to interact with the Cloud via the API. This method is mainly used for integration with other platforms, applications or web pages.

Interaction with the cloud is now complemented by a new Cloud CLI which provides a tool to perform scripted operations on Arduino Cloud and satisfy use cases such as bulk device provisioning. As it allows users to access the main features of Arduino IoT Cloud from a terminal, it is also a long-requested feature by power users.

With the new Cloud CLI, the Arduino IoT Cloud has a full suite of tools available for every type of user.

All your favorite IoT Cloud actions available on your device

With the new Cloud CLI tool, it is possible to perform most tasks that can be done using the web interface.

The Cloud CLI needs a credential file containing an Arduino IoT Cloud client ID and its corresponding secret. Credentials can also include an optional organization ID that specifies the organization to use. These credentials can be retrieved from the cloud by creating a new API key.

Devices and objects can be created, deleted and listed. Things can be tied to devices. In a very similar way, it is possible to manage dashboards.

OTA firmware updates can also be performed with the option to defer the update for up to a week. It is also possible to perform a bulk OTA download via a specific command.

One of the key features is the possibility to download in different text formats (JSON, YAML, …) the templates of dashboards, devices and objects, so that you can keep them for future use. It is very useful to modify them to create copies of the entities with certain modified properties and upload the new models to the Cloud.

Large-scale provisioning journey

The Cloud CLI is a tool that can be easily integrated into scripts. It is therefore well suited for scenarios requiring mass scale and automated actions.

The typical journey would include the following phases.

Phase 1: Prototyping

The user journey begins with the creation of an initial Thing prototype and Sketch code that solves the use case. This activity can be done using the IoT Cloud web application, or even by editing the sketch in the online editor or the offline Arduino IDE. :

Phase 2: Factory supply

At this point, the user can replicate the entire "prototype" configuration to many other devices, provisioning and connecting all of them to the cloud. In this phase, using Cloud CLI, it is possible to streamline the provisioning process and even combine it with automation scripts.

Phase 3: Production Update

During the normal life of a thing in the field, it's very common to need to update firmware remotely. With Cloud CLI, it...

What's Your Reaction?

like

dislike

love

funny

angry

sad

wow