Arduino Improves Cloud and CLI Tooling for IoT
Arduino has rolled out updates to its Cloud and Command-Line Interface (CLI) tools. The enhancements focus on streamlining the workflow for developing cloud-connected devices, including improved plan-to-cloud handoffs and support for Mermaid diagrams.
- The recent release of Arduino CLI 1.0.0 in September 2024 marks a major milestone, signifying a stable API for developers. This is critical for engineers building custom applications or automating workflows, as it offers a reliable gRPC interface for integration with other programming languages and tools beyond the standard command line. - The "plan-to-cloud handoff" is facilitated by the Cloud CLI's ability to manage devices, "things," and dashboards programmatically. This allows for scripted mass provisioning and over-the-air (OTA) firmware updates, automating the deployment of a project from a local configuration to a fleet of live devices. - Mermaid support introduces a "docs-as-code" methodology to the Arduino ecosystem. It allows developers to create and maintain system architecture diagrams, flowcharts, and sequence diagrams using a simple, text-based syntax that can be version-controlled directly within a project's Git repository. - Recent Arduino Cloud updates in April 2024 focused on enhancing IoT monitoring dashboards. New features include the ability to duplicate entire dashboards with a single click, set decimal precision on value widgets, and choose data aggregation methods like average, maximum, or minimum in advanced charts. - The platform has expanded its hardware support beyond official Arduino boards, with a notable focus on the popular ESP32 and ESP8266 microcontrollers. This includes new project templates specifically for ESP32-based devices, such as a one-click weather station setup. - A key feature for robust IoT deployments is the "Shadow Thing" capability. If a device temporarily loses its connection, the cloud preserves its last known state, so that upon reconnecting, the device's properties (like a light being on) are automatically restored. - In 2024 alone, the Arduino Cloud CLI has seen 11 new version releases, while the underlying Cloud Agent has been updated 17 times to improve security and OS compatibility. [4