NewsMass scale with the new Arduino Cloud CLI

Mass scale with the new Arduino Cloud CLI

Category articles

Arduino IoT Cloud Arduino IoT Cloud lets users, IoT enthusiasts, and professionals to develop easily connected projects that are built on the wide variety of Arduino, ESP32, and ESP8266 boards.

In line with the Arduino vision It has been developed to give the most user-friendly and easy experience. It abstracts the difficult tasks that pose barriers to people who aren’t comfortable with programming. A few of the features are:

  • Simple onboarding will automatically draw an outline layout while setting an entirely new system. This way, you can modify it immediately and swiftly move from unboxing your device to creating your own project.
  • Designing and creating dashboards that are customizable and rich to show your device’s state and information, which is accessible remotely through the native mobile app and also your web space
  • Making sure your devices are up-to-date using safe remote OTA updates
  • Storing data from the past
  • Automagically” syncing variables between multiple devices
  • Integration with third parties platforms such as Alexa or IFTTT

The user-friendly and intuitive web interface is an important element of Arduino IoT Cloud’s success. It makes it simple to begin with a variety of users, ranging from users with no prior programming experience to experienced Arduino users.

The company is launching a new IoT Cloud experience

Additionally, it is possible to connect to the Cloud through the API. This technique is mostly employed to integrate with different platforms, applications or websites.

The cloud’s interaction is now enhanced with the Cloud CLI, which lets you execute scripted tasks on Arduino Cloud and to meet the requirements of large device provisioning. Since it allows users to access the most important capabilities in Arduino IoT Cloud via the terminal, it’s an essential feature for those who are skilled.

With the latest Cloud CLI The Arduino IoT Cloud comes with a complete set of tools that are available to every type of user.

All of your favorite IoT Cloud actions are accessible on your device

With the brand new Cloud CLI tool it is possible to complete the majority jobs that could be performed using the internet interface.

Cloud CLI Cloud CLI requires a credential file that includes one Arduino IoT Cloud client ID as well as its secret. Credentials could also include an optional organisation ID which defines the company to make use of. The credentials can be retrieved from the cloud by generating an API key.

Things and devices can be created, changed, and recorded. They can also be linked to devices. Similar to this, you can control the dashboards.

OTA software updates may be made with the option to delay the update by up to a week. Additionally, you can carry out the mass OTA upload by using a specific command.

One of the main advantages is the capability to download the files in various text formats (JSON and YAML), …) as well as the template of dashboards, devices, and more in order to save them for later use. It’s very beneficial to alter them in order to create copies of entities, with certain properties altered and upload the newly created template in the Cloud.

Mass scale provisioning journey

The Cloud CLI tool is one that is easily integrated in scripts and , as such it is ideal for situations where massive scale and automated processes are required.

The typical trip would comprise of the following parts.

Phase 1: Prototyping

The user’s journey begins with the creation of the first prototype of an Thing and the Sketch code that addresses the problem. This process can be completed with the IoT Cloud web application or editing the Sketch using Online Editor or offline Arduino IDE. :

Phase 2 Part 2: Factory provisioning

At this stage, the user is able to duplicate the complete settings of their “prototype” thing on many different devices, undergoing the provisioning process and connecting all of those devices to the cloud. At this point, with the help of Cloud CLI, it’s possible to speed up the provisioning process , and connect it up to automated scripts.

Phase 3: Production update

In the course of normal use of an item in the field, it’s quite common to update firmware remotely. Through Cloud CLI it’s easy to change firmware on devices separately and also to update a number of devices at once with one command. Updates are deferred when required.

Phase 4: Dashboards (optional)

Dashboard creation is the last step you can take. The aim is to build custom dashboards that allow us to control and monitor the deployed devices. After the first dashboard has been built in the phase 1 phase it’s simple to duplicate it across multiple devices using Cloud CLI.

Michal Pukala
Electronics and Telecommunications engineer with Electro-energetics Master degree graduation. Lightning designer experienced engineer. Currently working in IT industry.