Skip to content

Commit 5d5c7b4

Browse files
committed
cloud cli dashboards fix
1 parent 0c7bdbc commit 5d5c7b4

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

content/arduino-cloud/08.arduino-cloud-cli/07.getting-started/arduino-cloud-cli.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,12 +352,24 @@ arduino-cloud-cli dashboard delete --id <dashboardID>
352352

353353
### Create Dashboard
354354

355-
Dashboards can only be created from a template. Supported dashboard template formats are `.json` and `.yaml`. The name parameter is optional. If it is provided, then it overrides the name retrieved from the template. The `--override` flag can be used to override the template `thing_id` placeholder with the actual ID of the thing to be used.
355+
Dashboards can only be created from a template. Supported dashboard template formats are `.json` and `.yaml`. The `--name` parameter is optional. If it is provided, then it overrides the name retrieved from the template.
356+
357+
The `--override` flag is used to override the template `thing_id` placeholder with the actual ID of the Thing to be used.
356358

357359
```
358-
arduino-cloud-cli dashboard create --name <dashboardName> --template <template.(json|yaml)> --override <thing-0>=<actualThingID>,<thing-1>=<otherActualThingID>
360+
arduino-cloud-cli dashboard create
361+
--name <dashboardName>
362+
--template <template.(json|yaml)>
363+
--override <thing-0>=<actualThingID-0>,
364+
<thing-1>=<actualThingID-1>
359365
```
360366

367+
Note that the `dashboard create` command requires a Thing ID, which is why we need to use the `--override` option.
368+
369+
- `<thing-0>` is the **Thing name** you have in a template file that you have obtained using "dashboard extract". Note that in the command provided above, you can create a dashboard from more than one Thing.
370+
- `<actualThingID-0>` is the **Thing ID**, which is something like `8121w624-9d23-425f-6420-13e46214917b
371+
`
372+
361373
## OTA (Over-The-Air)
362374

363375
- `arduino-cloud-cli ota`

0 commit comments

Comments
 (0)