diff --git a/.licenses/go/github.com/arduino/iot-client-go/v2.dep.yml b/.licenses/go/github.com/arduino/iot-client-go/v2.dep.yml index ed76f3c6..43ef0bb2 100644 --- a/.licenses/go/github.com/arduino/iot-client-go/v2.dep.yml +++ b/.licenses/go/github.com/arduino/iot-client-go/v2.dep.yml @@ -1,6 +1,6 @@ --- name: github.com/arduino/iot-client-go/v2 -version: v2.0.2 +version: v2.0.3 type: go summary: homepage: https://pkg.go.dev/github.com/arduino/iot-client-go/v2 diff --git a/README.md b/README.md index 1554809d..f78f4058 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,8 @@ Here are the FQBNs of the Arduino boards that can be provisioned with this comma * `arduino:samd:mkrnb1500` * `arduino:mbed_opta:opta` * `arduino:mbed_giga:giga` +* `arduino:esp32:nano_nora` +* `arduino:renesas_uno:unor4wifi` If the device supports more than one connectivity type (Eg: WiFi and Ethernet) the --connection flag can be used to set the desired connectivity @@ -327,10 +329,17 @@ Note that the binary file (`.bin`) should be compiled using an arduino core that arduino-cloud-cli ota upload --device-id --file ``` -The default OTA upload should complete in 10 minutes. Use `--deferred` flag to extend this time to one week (see an example sketch [here](https://github.com/arduino-libraries/ArduinoIoTCloud/blob/ab0af75a5666f875929029ac6df59e04789269c5/examples/ArduinoIoTCloud-DeferredOTA/ArduinoIoTCloud-DeferredOTA.ino)): +This schedule a new OTA. Its ID is printed as output. +It is possible to check status for scheduled/executed OTAs using status command. ```bash -arduino-cloud-cli ota upload --device-id --file --deferred +arduino-cloud-cli ota status --ota-id +``` + +or by device + +```bash +arduino-cloud-cli ota status --device-id ``` ### Mass upload @@ -383,3 +392,39 @@ Create a dashboard: dashboards can be created only starting from a template. Sup ```bash arduino-cloud-cli dashboard create --name --template --override =,= ``` + +## Custom templates + +### List custom templates + +Use following command to list available custom templates + +```bash +arduino-cloud-cli template list +``` + +### Export custom template + +Given list command, it is possible to get custom template ID. Given its ID, use following command to export it as '.tino' archive: + +```bash +arduino-cloud-cli template export -t +``` + +it is possible to specify output directory with '-d' flag + +### Import custom template + +To import a custom template, use command: + +```bash +arduino-cloud-cli template import -f