You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-5
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
# iot-cloud-cli
2
2
3
-
iot-cloud-cli is a command line interface that allows to exploit the features of Arduino IoT Cloud. As of now, it is possible to provision a device and to simulate a device to be connected to the cloud using MQTT for thoubleshooting purpose.
3
+
iot-cloud-cli is a command line interface that allows to exploit the features of Arduino IoT Cloud. As of now, it is possible to provision a device and to simulate a device to be connected to the cloud using MQTT for troubleshooting purposes.
4
4
5
5
### Requirements
6
6
7
7
This is all you need to use iot-cloud-cli for device **provisioning**:
8
8
* A client ID and a secret ID, retrievable from the [cloud](https://create.arduino.cc/iot/integrations) by creating a new API key
9
-
* arduino-cli in daemon mode, use the command 'arduino-cli daemon'
9
+
* arduino-cli in daemon mode, to start it use the command 'arduino-cli daemon'
10
10
11
11
This is all you need to use iot-cloud-cli as a **virtual device**:
12
12
* A "Generic ESP8266 Module" or "Generic ESP32 Module" device in IoT Cloud (requires a Maker plan)
@@ -15,7 +15,7 @@ This is all you need to use iot-cloud-cli as a **virtual device**:
15
15
16
16
## Set a configuration
17
17
18
-
iot-cloud-cli should be configured before being used. In particular a client ID and the corresponding secret ID should be set.
18
+
iot-cloud-cli needs to be configured before being used. In particular a client ID and the corresponding secret ID should be set.
19
19
You can retrieve them from the [cloud](https://create.arduino.cc/iot/integrations) by creating a new API key.
20
20
21
21
Once you have the IDs, call this command with your parameters:
@@ -24,7 +24,8 @@ Once you have the IDs, call this command with your parameters:
24
24
25
25
## Device provisioning
26
26
27
-
When provisioning a device, you can optionally explicit the port which the device is connected to and its fqbn. If they are not given, then the first device found is provisioned.
27
+
When provisioning a device, you can optionally specify the port to which the device is connected to and its fqbn. If they are not given, then the first device found will be provisioned.
* From the drop down select "Generic ESP8266 Module", and click "Continue".
53
54
* Pick a nice and friendly device name.
54
-
* Save the "Device ID" and "Secret Key" is a safe place, because you will not be able to see them anymore.
55
+
* Save the "Device ID" and "Secret Key" in a safe place (1Password, KeepassXC, a piece of paper in your vault) , because you will not be able to see them anymore.
0 commit comments