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
mqtt diagnostic and debugging commands are moved into another specific tool.
This PR removes the ping command and all its dependencies (mqtt, codec etc..)
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.
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.
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
9
* The folder containing the precompiled provisioning firmwares (`binaries`) needs to be in the same location you run the command from
10
10
11
-
This is all you need to use iot-cloud-cli as a **virtual device**:
12
-
* A "Generic ESP8266 Module" or "Generic ESP32 Module" device in IoT Cloud (requires a Maker plan)
13
-
* A thing with a `counter` property connected to the "Generic ESP8266/ESP32 Module" device
14
-
15
-
16
11
## Set a configuration
17
12
18
13
iot-cloud-cli needs to be configured before being used. In particular a client ID and the corresponding secret ID should be set.
@@ -37,65 +32,3 @@ When provisioning a device, you can optionally specify the port to which the dev
### How to set up the device and thing in IoT Cloud
55
-
56
-
#### Device
57
-
58
-
* Visit https://create.arduino.cc/iot/devices and select "Add device".
59
-
* Select "Set up a 3rd party device".
60
-
* Select "ESP8266".
61
-
* From the drop down select "Generic ESP8266 Module", and click "Continue".
62
-
* Pick a nice and friendly device name.
63
-
* 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.
64
-
65
-
#### Thing ID
66
-
67
-
* Visit https://create.arduino.cc/iot/things and select "Create Thing".
68
-
* Select "Add Variable".
69
-
* Give the variable the name "counter", type "Integer Number" and leave the variable permission the value "Read & Write".
70
-
* Press the "Add Variable" button to confirm.
71
-
* Copy the "Thing ID" from the bottom right of the page.
72
-
73
-
#### Connect the device and the thing
74
-
75
-
You should connect the new device to the new thing.
0 commit comments