The official Arduino development team unveiled a new Arduino Cloud CLI tool this week to make most tasks possible when programming and developing on the Arduino platform using the web interface. Devices and things can be created, deleted, and listed. Objects can be linked to devices. In a very similar way, it is possible to manage dashboards. The Arduino team has also made it possible to perform OTA firmware updates, allowing users to defer the update for up to 7 days as well as allowing mass uploading over OTA through a specific command if needed.
The Cloud CLI needs a credential file containing the Arduino IoT Cloud client ID and its corresponding secret. The credentials can also include an optional organization identifier that identifies the organization to use. These credentials can be retrieved from the cloud by creating a new API key. One of the main features is the ability to download different text formats (JSON, YAML, …) templates for dashboards, devices, and things, so that you can keep them for future use. It is very useful to modify them to create copies of entities with changing some properties and upload new templates to the cloud. “
Arduino Cloud CLI
Arduino Cloud CLI is a tool that can be easily integrated into scripts and is therefore well suited for scenarios that require large-scale, automated actions.
A typical journey consists of the following stages.
The first stage: modeling
The user journey begins with creating the first prototype of something and schematic code that solves a use case. This activity can be done using the IoT Cloud web app, or even editing Sketch in an online editor or an offline Arduino IDE:
The second stage: factory preparation
At this point, the user can copy the entire configuration of the “prototype” thing onto several other devices, through provisioning and linking all of those to the cloud. At this point, with Cloud CLI, it is possible to simplify the provisioning process and even link it to automation scripts.
Phase 3: Production Update
During the normal life of something in the field, it is very common that you need to update the firmware remotely. With Cloud CLI, it is possible to update devices individually, but also many devices with a single command. Updates can be delayed if necessary.
Stage 4: Dashboards (Optional)
Creating the dashboard will be the last optional step. The goal is to create custom dashboards that help us manage and monitor deployed devices. Once the first dashboard is created in Phase 1, it is easy to replicate it on multiple devices with Cloud CLI.”
Source: AB
Filed under: Technology News, Top News