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: docs/example_aws.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -156,7 +156,7 @@ The specifics for the AWS IoT Thing must be configured. This includes the follow
156
156
157
157
### Server Name/Hostname
158
158
159
-
This value is obtained from the AWS IoT Device page for the created device. When on this page, select the ***Device Shadows*** tab, and then select the ***Classic Shadow*** shadow, which is listed.
159
+
This value is obtained from the AWS IoT Device page for the created device. When on this page, select the ***Device Shadows*** tab, and then select the ***Classic Shadow*** shadow, which is listed. Note a secure connection is used, so the port for the connection is `8883`.
@@ -195,11 +195,13 @@ This value was downloaded as a file during the creation process. The contents of
195
195
196
196
## Setting Properties
197
197
198
-
The above property values must be set on the DataLogger before use. They can be passed on via a JSON file that is loaded by the system at startup. For the DataLogger IoT example outlined in this document, the entries in the settings JSON file are as follows:
198
+
The above property values must be set on the DataLogger before use. They can be passed on via a JSON file that is loaded by the system at startup. Of course, you can also manually set the values using the menu system like the previous MQTT example.
199
+
200
+
For the DataLogger IoT example outlined in this document, the entries in the settings JSON file are as follows:
@@ -216,6 +218,10 @@ The above property values must be set on the DataLogger before use. They can be
216
218
},
217
219
```
218
220
221
+
Besides updating the `Server`, `MQTT Topic`, `Client Name`, `CA Cert Filename`, `Client Cert Filename`, and `Client Key Filename`, you will need to also ensure that the `port` is set to `8883`. The default in certain firmware versions is currently `1883`. You will need to adjust the port value to properly connect to the [AWS IoT service](https://aws.amazon.com/about-aws/whats-new/2018/02/aws-iot-core-now-supports-mqtt-connections-with-certificate-based-client-authentication-on-port-443/). Don't forget to enable AWS IoT service by setting the value to `true`.
222
+
223
+
If the JSON file is saved in the microSD card, you will need to load the credentials to the DataLogger IoT. Of course, you can manually update the values through the command line as well to save the credentials to the ESP32's persistent memory.
224
+
219
225
## Operation
220
226
221
227
Once the device is configured and running, updates in AWS IoT are listed in the ***Activity*** tab of the devices page. For the test device in this document, this page looks like:
Copy file name to clipboardExpand all lines: docs/example_azure.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ The following is covered by this document:
14
14
* Securely connecting the device
15
15
* How data is posted from the DataLogger IoT to the Azure Device
16
16
17
-
Currently, the Azure IoT device connection is is a single direction - it is used to post data from the hardware to the Azure IoT Device. Configuration information from Azure IoT to the DataLogger IoT is currently not implemented.
17
+
Currently, the Azure IoT device connection is a single direction - it is used to post data from the hardware to the Azure IoT Device. Configuration information from Azure IoT to the DataLogger IoT is currently not implemented.
18
18
19
19
20
20
@@ -102,7 +102,7 @@ Once the DataLogger IoT is integrated into the application, the specifics for th
102
102
103
103
### Server Name/Hostname
104
104
105
-
This value is hostname of the created IoT Hub and is obtained from the Overview page of the IoT Hub.
105
+
This value is hostname of the created IoT Hub and is obtained from the Overview page of the IoT Hub. Note a secure connection is used, so the port for the connection is `8883`.
@@ -144,11 +144,13 @@ The file to download is the ***Baltimore CyberTrust Root*** entry in the **Root
144
144
145
145
## Setting Properties
146
146
147
-
The above property values must be set on the DataLogger IoT before use. They can be set via a JSON file that is loaded by the system at startup. For the example outlined in this document, the entries in the settings JSON file are as follows:
147
+
The above property values must be set on the DataLogger IoT before use. They can be set via a JSON file that is loaded by the system at startup. Of course, you can also manually set the values using the menu system like the previous MQTT example.
148
+
149
+
For the example outlined in this document, the entries in the settings JSON file are as follows:
@@ -162,6 +164,9 @@ The above property values must be set on the DataLogger IoT before use. They can
162
164
},
163
165
```
164
166
167
+
Besides updating the `Server`, `Device Key`, `Device ID`, and `CA Cert Filename`, you will need to also ensure that the `port` is set to `8883`. The default in certain firmware versions is currently `1883`. You will need to adjust the port value to properly connect to the Azure IoT service.
168
+
169
+
If the JSON file is saved in the microSD card, you will need to load the credentials to the DataLogger IoT. Of course, you can manually update the values through the command line as well to save the credentials to the ESP32's persistent memory.
Copy file name to clipboardExpand all lines: docs/example_thingspeak.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ On the presented dialog, enter a name for the MQTT connection and in the **Autho
94
94
</div>
95
95
96
96
!!! note
97
-
When the MQTT device is created, a set of credentials (Client ID, Username and Password) is provided. **Copy or download** these values, since the password in not accessible after this step.
97
+
When the MQTT device is created, a set of credentials (Client ID, Username, and Password) is provided. **Copy or download** these values, since the password in not accessible after this step.
98
98
99
99
The selected Channel is then listed in the **Authorized Channel** table. Ensure that the Allow Publish and Allow Subscribe attributes are enabled for the added channel.
100
100
@@ -140,7 +140,7 @@ The Username is found under MQTT connection details listed in the ***Devices > M
140
140
141
141
### Password
142
142
143
-
The connection password was provided when the MQTT device was created. If you lost this value, you can regenerate a password in the for the connection on the MQTT Device information page.
143
+
The connection password was provided when the MQTT device was created. If you lost this value, you can regenerate a password on the MQTT Device information page.
144
144
145
145
146
146
@@ -158,7 +158,7 @@ The above property values must be set on the DataLogger IoT before use. They can
158
158
159
159
```json
160
160
"ThingSpeak MQTT": {
161
-
"Enabled": false,
161
+
"Enabled": true,
162
162
"Port": 8883,
163
163
"Server": "mqtt3.thingspeak.com",
164
164
"MQTT Topic": "",
@@ -174,7 +174,9 @@ The above property values must be set on the DataLogger IoT before use. They can
174
174
!!! note
175
175
The **Channels** value is a list of **[DEVICE NAME]=[Channel ID]** pairs. Each pair is separated by a comma.
176
176
177
+
Besides updating the `Server`, `Client Name`, `Username`, `Password`, `CA Cert Filename`, and `Channels`, you will need to also ensure that the `port` is set to `8883`. The default in certain firmware versions is currently `1883`. You will need to adjust the port value to properly connect to the ThingSpeak service.
177
178
179
+
If the JSON file is saved in the microSD card, you will need to load the credentials to the DataLogger IoT. Of course, you can manually update the values through the command line as well to save the credentials to the ESP32's persistent memory.
0 commit comments