Skip to content

Commit 8149b54

Browse files
authored
Merge pull request #1529 from arduino/karlsoderby/cloud-patch-nov23
[Arduino Cloud] ACC dashboard fix + scheduler fix
2 parents 11a7ca9 + dd5667d commit 8149b54

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

content/arduino-cloud/06.features/02.cloud-scheduler/cloud-scheduler.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ Now, let's take a look at the sketch used for this tutorial. First, we need to n
202202

203203
```arduino
204204
#include "thingProperties.h"
205-
#include <RTCZero.h>
206205
207206
bool toggle;
208207
int LED = 6;

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)