Last modified by Mengting Qiu on 2025/03/08 11:33
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -234,10 +234,10 @@ 234 234 == 3.4.1 Define Product == 235 235 236 236 237 -Firstly, we need to set the MQTT mode to datacake, and we need to run** AT+PRO=3,2**. This command is set to datacake. After running the command, the device automatically sets the server address, port. 237 +Firstly, we need to set the MQTT mode to datacake, and we need to run(% style="color:blue" %)** AT+PRO=3,2**(%%). This command is set to datacake. After running the command, the device automatically sets the server address, port. 238 238 239 239 240 -By chosing to add the device under a (% style="color:blue" %)**"New Product"**(%%) you are required to give a name for this product. You can name it something like "My First MQTT Product". 240 +By chosing to add the device under a (% style="color:blue" %)**"New Product"**(%%) you are required to give a name for this product. You can name it something like (% style="color:blue" %)**"My First MQTT Product"**. 241 241 242 242 [[image:image-20230802112413-14.png]] 243 243 ... ... @@ -249,7 +249,7 @@ 249 249 250 250 [[image:image-20230802112413-15.png]] 251 251 252 -Enter a name here (such as "My First MQTT Device") and complete the creation of the device by clicking on the "Next" button. 252 +Enter a name here (such as "My First MQTT Device") and complete the creation of the device by clicking on the (% style="color:blue" %)**"Next"**(%%) button. 253 253 254 254 255 255 === 3.4.3 Create Database Fields === ... ... @@ -257,13 +257,13 @@ 257 257 258 258 After creating the device, it is listed in the table of the fleet view. Now open the device by clicking on the entry in the list. 259 259 260 -You will then see a device view with an empty dashboard. Now, the first thing we want to do is navigate to the Device configuration. To do this, use the tab bar and click on "Configuration". 260 +You will then see a device view with an empty dashboard. Now, the first thing we want to do is navigate to the Device configuration. To do this, use the tab bar and click on (% style="color:blue" %)**"Configuration"**. 261 261 262 262 [[image:image-20230802112413-16.png]] 263 263 264 264 [[image:image-20230802112413-17.png]] 265 265 266 -To create a first database field, please click on the "Add Field" button as marked in the screenshot above. 266 +To create a first database field, please click on the (% style="color:blue" %)**"Add Field"**(%%) button as marked in the screenshot above. 267 267 268 268 This will open another modal asking for some required input for your first field. 269 269 ... ... @@ -275,13 +275,13 @@ 275 275 === 3.4.4 Set up Broker === 276 276 277 277 278 -The broker is running on mqtt.datacake.co on ports 1883 and 8883. Port 1883 is unsecured and should not be used in production environments. Port 8883 uses a CA signed server certificate. 278 +The broker is running on mqtt.datacake.co on ports (% style="color:blue" %)**1883 and 8883**(%%). Port 1883 is unsecured and should not be used in production environments. Port 8883 uses a CA signed server certificate. 279 279 280 280 You will need an access token to log into the Datacake MQTT Broker. You can use your own personal token or create a token explicitly for individual devices or groups of devices. 281 281 282 282 View your Personal Access Token 283 283 284 -You can view your own token via the User-Settings-Menu. You can reach this menu by clicking on "Edit Profile" at the end of the list using the Workspace Selector: 284 +You can view your own token via the User-Settings-Menu. You can reach this menu by clicking on (% style="color:blue" %)**"Edit Profile"**(%%) at the end of the list using the Workspace Selector: 285 285 286 286 [[image:image-20230802112413-20.png]] 287 287 ... ... @@ -360,6 +360,7 @@ 360 360 361 361 [[image:image-20230802112413-30.png]] 362 362 363 + 363 363 === 3.5.2 Simulate Connection === 364 364 365 365 ... ... @@ -415,8 +415,9 @@ 415 415 416 416 ==== 3.6.1.3 MQTT Integration Setup ==== 417 417 418 -Go to the Integrations center -> Integrations page and click “plus” icon to add a new integration. Name it “MQTT Integration”, select type MQTT; 419 419 420 +Go to the Integrations center -> Integrations page and click **“plus”** icon to add a new integration. Name it “MQTT Integration”, select type MQTT; 421 + 420 420 [[image:image-20230802112413-35.png]] 421 421 422 422 * The next steps is to add the recently created uplink and downlink converters; ... ... @@ -425,7 +425,7 @@ 425 425 426 426 [[image:image-20230802112413-37.png]] 427 427 428 -Add a topic filter: 430 +(% style="color:blue" %)**Add a topic filter:** 429 429 430 430 431 431 tb/mqtt-integration-tutorial/sensors~/~/temperature ~-~-> Temperature 固定的? 对的。