<
From version < 53.9 >
edited by Xiaoling
on 2023/08/02 11:57
To version < 53.11 >
edited by Xiaoling
on 2023/08/02 13:42
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -117,10 +117,15 @@
117 117  * (% style="color:#037691" %)**Broker Address:**(%%) mqtt3.thingspeak.com
118 118  
119 119  * (% style="color:#037691" %)**Broker Port:**(%%) 1883
120 +
120 120  * (% style="color:#037691" %)**Client ID:**(%%) <Your ThingSpeak MQTT ClientID>
122 +
121 121  * (% style="color:#037691" %)**User Name:**(%%) <Your ThingSpeak MQTT User Name>
124 +
122 122  * (% style="color:#037691" %)**Password:**(%%) <Your ThingSpeak MQTT Password>
123 123  
127 +
128 +
124 124  === 3.3.2.2 Publish Data to ThingSpeak Channel ===
125 125  
126 126  [[image:image-20230802112413-9.png]]
... ... @@ -127,39 +127,44 @@
127 127  
128 128  [[image:image-20230802112413-10.png]]
129 129  
130 -In MQTT.fx, we can publish below info:
135 +(% style="color:blue" %)**In MQTT.fx, we can publish below info:**
131 131  
132 -* Topic: channels/YOUR_CHANNEL_ID/publish
133 -* Payload: field1=63&field2=67&status=MQTTPUBLISH
137 +* (% style="color:#037691" %)**Topic:**(%%) channels/YOUR_CHANNEL_ID/publish
134 134  
139 +* (% style="color:#037691" %)**Payload:**(%%) field1=63&field2=67&status=MQTTPUBLISH
140 +
135 135  Where 63 and 67 are the value to be published to field1 & field2.
136 136  
137 137  
138 -Result:
144 +(% style="color:blue" %)**Result: **
139 139  
140 140  [[image:image-20230802112413-11.png]]
141 141  
142 142  
143 -== 1.3 Configure NB-IoT Sensor for connection ==
149 +== 3.3 Configure NB-IoT Sensor for connection ==
144 144  
145 -=== 1.3.1 AT Commands: ===
151 +=== 3.3.1 AT Commands: ===
146 146  
153 +
147 147  In the NB-IoT, we can run below commands so to publish the channels like MQTT.fx
148 148  
149 -* AT+PRO=3,1   ~/~/Set to use ThingSpeak Server and Related Payload
156 +* **AT+PRO=3,1**   ~/~/ Set to use ThingSpeak Server and Related Payload
150 150  
151 -* AT+CLIENT=<Your ThingSpeak MQTT ClientID>
158 +* **AT+CLIENT=<Your ThingSpeak MQTT ClientID>**
152 152  
153 -* AT+UNAME=<Your ThingSpeak MQTT User Name>
160 +* **AT+UNAME=<Your ThingSpeak MQTT User Name>**
154 154  
155 -* AT+PWD=<Your ThingSpeak MQTT Password>
162 +* **AT+PWD=<Your ThingSpeak MQTT Password>**
156 156  
157 -* AT+PUBTOPIC=<YOUR_CHANNEL_ID>
164 +* **AT+PUBTOPIC=<YOUR_CHANNEL_ID>**
158 158  
159 -* AT+SUBTOPIC=<YOUR_CHANNEL_ID>
166 +* **AT+SUBTOPIC=<YOUR_CHANNEL_ID>**
160 160  
161 -=== 1.3.2 Uplink Examples ===
162 162  
169 +
170 +=== 3.3.2 Uplink Examples ===
171 +
172 +
163 163  For S31-NB
164 164  
165 165  For SE01-NB
... ... @@ -185,8 +185,9 @@
185 185  For SN50V3-NB
186 186  
187 187  
188 -=== 1.3.2 Map fields to sensor value ===
198 +=== 3.3.3 Map fields to sensor value ===
189 189  
200 +
190 190  When NB-IoT sensor upload to ThingSpeak. The payload already specify which fileds related to which sensor value. Use need to create fileds in Channels Settings. with name so to see the value correctly.
191 191  
192 192  
... ... @@ -197,111 +197,116 @@
197 197  
198 198  Below is the NB-IoT Product Table show the mapping.
199 199  
200 -|(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %)Field1|(% colspan="1" rowspan="1" %)Field2|(% colspan="1" rowspan="1" %)Field3|(% colspan="1" rowspan="1" %)Field4|(% colspan="1" rowspan="1" %)Field5|(% colspan="1" rowspan="1" %)Field6|(% colspan="1" rowspan="1" %)Field7|(% colspan="1" rowspan="1" %)Field8|(% colspan="1" rowspan="1" %)(((
211 +(% border="1" cellspacing="4" style="width:1386px" %)
212 +|(% colspan="1" rowspan="1" style="width:124px" %) |(% colspan="1" rowspan="1" style="width:91px" %)Field1|(% colspan="1" rowspan="1" style="width:102px" %)Field2|(% colspan="1" rowspan="1" style="width:159px" %)Field3|(% colspan="1" rowspan="1" style="width:153px" %)Field4|(% colspan="1" rowspan="1" style="width:152px" %)Field5|(% colspan="1" rowspan="1" style="width:148px" %)Field6|(% colspan="1" rowspan="1" style="width:164px" %)Field7|(% colspan="1" rowspan="1" style="width:152px" %)Field8|(% colspan="1" rowspan="1" style="width:66px" %)(((
201 201  Field9
202 202  
203 203  
204 -)))|(% colspan="1" rowspan="1" %)(((
216 +)))|(% colspan="1" rowspan="1" style="width:66px" %)(((
205 205  Field10
206 206  
207 207  
208 208  )))
209 -|(% colspan="1" rowspan="1" %)S31x-NB|(% colspan="1" rowspan="1" %)Temperature |(% colspan="1" rowspan="1" %)Humidity|(% colspan="1" rowspan="1" %)Battery|(% colspan="1" rowspan="1" %)RSSI|(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %)
210 -|(% colspan="1" rowspan="1" %)SE01-NB|(% colspan="1" rowspan="1" %)Temperature |(% colspan="1" rowspan="1" %)Humidity|(% colspan="1" rowspan="1" %)conduct|(% colspan="1" rowspan="1" %)dielectric_constant|(% colspan="1" rowspan="1" %)Battery|(% colspan="1" rowspan="1" %)RSSI|(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %)
211 -|(% colspan="1" rowspan="1" %)DDS20-NB|(% colspan="1" rowspan="1" %)distance|(% colspan="1" rowspan="1" %)(((
221 +|(% colspan="1" rowspan="1" style="width:124px" %)S31x-NB|(% colspan="1" rowspan="1" style="width:91px" %)Temperature |(% colspan="1" rowspan="1" style="width:102px" %)Humidity|(% colspan="1" rowspan="1" style="width:159px" %)Battery|(% colspan="1" rowspan="1" style="width:153px" %)RSSI|(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:148px" %) |(% colspan="1" rowspan="1" style="width:164px" %) |(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:66px" %) |(% colspan="1" rowspan="1" style="width:66px" %)
222 +|(% colspan="1" rowspan="1" style="width:124px" %)SE01-NB|(% colspan="1" rowspan="1" style="width:91px" %)Temperature |(% colspan="1" rowspan="1" style="width:102px" %)Humidity|(% colspan="1" rowspan="1" style="width:159px" %)conduct|(% colspan="1" rowspan="1" style="width:153px" %)dielectric_constant|(% colspan="1" rowspan="1" style="width:152px" %)Battery|(% colspan="1" rowspan="1" style="width:148px" %)RSSI|(% colspan="1" rowspan="1" style="width:164px" %) |(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:66px" %) |(% colspan="1" rowspan="1" style="width:66px" %)
223 +|(% colspan="1" rowspan="1" style="width:124px" %)DDS20-NB|(% colspan="1" rowspan="1" style="width:91px" %)distance|(% colspan="1" rowspan="1" style="width:102px" %)(((
212 212  Battery
213 213  
214 214  
215 -)))|(% colspan="1" rowspan="1" %)RSSI|(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %)
216 -|(% colspan="1" rowspan="1" %)DDS45-NB|(% colspan="1" rowspan="1" %)distance|(% colspan="1" rowspan="1" %)(((
227 +)))|(% colspan="1" rowspan="1" style="width:159px" %)RSSI|(% colspan="1" rowspan="1" style="width:153px" %) |(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:148px" %) |(% colspan="1" rowspan="1" style="width:164px" %) |(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:66px" %) |(% colspan="1" rowspan="1" style="width:66px" %)
228 +|(% colspan="1" rowspan="1" style="width:124px" %)DDS45-NB|(% colspan="1" rowspan="1" style="width:91px" %)distance|(% colspan="1" rowspan="1" style="width:102px" %)(((
217 217  Battery
218 218  
219 219  
220 -)))|(% colspan="1" rowspan="1" %)RSSI|(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %)
221 -|(% colspan="1" rowspan="1" %)DDS75-NB|(% colspan="1" rowspan="1" %)distance|(% colspan="1" rowspan="1" %)(((
232 +)))|(% colspan="1" rowspan="1" style="width:159px" %)RSSI|(% colspan="1" rowspan="1" style="width:153px" %) |(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:148px" %) |(% colspan="1" rowspan="1" style="width:164px" %) |(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:66px" %) |(% colspan="1" rowspan="1" style="width:66px" %)
233 +|(% colspan="1" rowspan="1" style="width:124px" %)DDS75-NB|(% colspan="1" rowspan="1" style="width:91px" %)distance|(% colspan="1" rowspan="1" style="width:102px" %)(((
222 222  Battery
223 223  
224 224  
225 -)))|(% colspan="1" rowspan="1" %)RSSI|(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %)
226 -|(% colspan="1" rowspan="1" %)NMDS120-NB|(% colspan="1" rowspan="1" %)distance|(% colspan="1" rowspan="1" %)(((
237 +)))|(% colspan="1" rowspan="1" style="width:159px" %)RSSI|(% colspan="1" rowspan="1" style="width:153px" %) |(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:148px" %) |(% colspan="1" rowspan="1" style="width:164px" %) |(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:66px" %) |(% colspan="1" rowspan="1" style="width:66px" %)
238 +|(% colspan="1" rowspan="1" style="width:124px" %)NMDS120-NB|(% colspan="1" rowspan="1" style="width:91px" %)distance|(% colspan="1" rowspan="1" style="width:102px" %)(((
227 227  Battery
228 228  
229 229  
230 -)))|(% colspan="1" rowspan="1" %)RSSI|(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %)
231 -|(% colspan="1" rowspan="1" %)SPH01-NB|(% colspan="1" rowspan="1" %)ph|(% colspan="1" rowspan="1" %)Temperature|(% colspan="1" rowspan="1" %)Battery|(% colspan="1" rowspan="1" %)RSSI|(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %)
232 -|(% colspan="1" rowspan="1" %)NLM01-NB|(% colspan="1" rowspan="1" %)Humidity|(% colspan="1" rowspan="1" %)Temperature|(% colspan="1" rowspan="1" %)Battery|(% colspan="1" rowspan="1" %)RSSI|(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %)
233 -|(% colspan="1" rowspan="1" %)NMDS200-NB|(% colspan="1" rowspan="1" %)distance1|(% colspan="1" rowspan="1" %)distance2|(% colspan="1" rowspan="1" %)Battery|(% colspan="1" rowspan="1" %)RSSI|(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %)
234 -|(% colspan="1" rowspan="1" %)CPN01-NB|(% colspan="1" rowspan="1" %)alarm|(% colspan="1" rowspan="1" %)count|(% colspan="1" rowspan="1" %)door open duration|(% colspan="1" rowspan="1" %)calc flag|(% colspan="1" rowspan="1" %)Battery|(% colspan="1" rowspan="1" %)RSSI|(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %)
235 -|(% colspan="1" rowspan="1" %)DS03A-NB|(% colspan="1" rowspan="1" %)level|(% colspan="1" rowspan="1" %)alarm|(% colspan="1" rowspan="1" %)pb14door open num|(% colspan="1" rowspan="1" %)pb14 last open time|(% colspan="1" rowspan="1" %)pb15 level status|(% colspan="1" rowspan="1" %)pb15 alarm status|(% colspan="1" rowspan="1" %)pb15 door open num|(% colspan="1" rowspan="1" %)pb15 last open time|(% colspan="1" rowspan="1" %)Battery|(% colspan="1" rowspan="1" %)RSSI
236 -|(% colspan="1" rowspan="1" %)SN50V3-NB|(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %)
237 -|(% colspan="1" rowspan="1" %)mod1|(% colspan="1" rowspan="1" %)mod|(% colspan="1" rowspan="1" %)Battery|(% colspan="1" rowspan="1" %)RSSI|(% colspan="1" rowspan="1" %)DS18B20 Temp|(% colspan="1" rowspan="1" %)exit_state/input PA4|(% colspan="1" rowspan="1" %)adc0|(% colspan="1" rowspan="1" %)Temperature |(% colspan="1" rowspan="1" %)Humidity|(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %)
238 -|(% colspan="1" rowspan="1" %)mod2|(% colspan="1" rowspan="1" %)mod|(% colspan="1" rowspan="1" %)Battery|(% colspan="1" rowspan="1" %)RSSI|(% colspan="1" rowspan="1" %)(((
242 +)))|(% colspan="1" rowspan="1" style="width:159px" %)RSSI|(% colspan="1" rowspan="1" style="width:153px" %) |(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:148px" %) |(% colspan="1" rowspan="1" style="width:164px" %) |(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:66px" %) |(% colspan="1" rowspan="1" style="width:66px" %)
243 +|(% colspan="1" rowspan="1" style="width:124px" %)SPH01-NB|(% colspan="1" rowspan="1" style="width:91px" %)ph|(% colspan="1" rowspan="1" style="width:102px" %)Temperature|(% colspan="1" rowspan="1" style="width:159px" %)Battery|(% colspan="1" rowspan="1" style="width:153px" %)RSSI|(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:148px" %) |(% colspan="1" rowspan="1" style="width:164px" %) |(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:66px" %) |(% colspan="1" rowspan="1" style="width:66px" %)
244 +|(% colspan="1" rowspan="1" style="width:124px" %)NLM01-NB|(% colspan="1" rowspan="1" style="width:91px" %)Humidity|(% colspan="1" rowspan="1" style="width:102px" %)Temperature|(% colspan="1" rowspan="1" style="width:159px" %)Battery|(% colspan="1" rowspan="1" style="width:153px" %)RSSI|(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:148px" %) |(% colspan="1" rowspan="1" style="width:164px" %) |(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:66px" %) |(% colspan="1" rowspan="1" style="width:66px" %)
245 +|(% colspan="1" rowspan="1" style="width:124px" %)NMDS200-NB|(% colspan="1" rowspan="1" style="width:91px" %)distance1|(% colspan="1" rowspan="1" style="width:102px" %)distance2|(% colspan="1" rowspan="1" style="width:159px" %)Battery|(% colspan="1" rowspan="1" style="width:153px" %)RSSI|(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:148px" %) |(% colspan="1" rowspan="1" style="width:164px" %) |(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:66px" %) |(% colspan="1" rowspan="1" style="width:66px" %)
246 +|(% colspan="1" rowspan="1" style="width:124px" %)CPN01-NB|(% colspan="1" rowspan="1" style="width:91px" %)alarm|(% colspan="1" rowspan="1" style="width:102px" %)count|(% colspan="1" rowspan="1" style="width:159px" %)door open duration|(% colspan="1" rowspan="1" style="width:153px" %)calc flag|(% colspan="1" rowspan="1" style="width:152px" %)Battery|(% colspan="1" rowspan="1" style="width:148px" %)RSSI|(% colspan="1" rowspan="1" style="width:164px" %) |(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:66px" %) |(% colspan="1" rowspan="1" style="width:66px" %)
247 +|(% colspan="1" rowspan="1" style="width:124px" %)DS03A-NB|(% colspan="1" rowspan="1" style="width:91px" %)level|(% colspan="1" rowspan="1" style="width:102px" %)alarm|(% colspan="1" rowspan="1" style="width:159px" %)pb14door open num|(% colspan="1" rowspan="1" style="width:153px" %)pb14 last open time|(% colspan="1" rowspan="1" style="width:152px" %)pb15 level status|(% colspan="1" rowspan="1" style="width:148px" %)pb15 alarm status|(% colspan="1" rowspan="1" style="width:164px" %)pb15 door open num|(% colspan="1" rowspan="1" style="width:152px" %)pb15 last open time|(% colspan="1" rowspan="1" style="width:66px" %)Battery|(% colspan="1" rowspan="1" style="width:66px" %)RSSI
248 +|(% colspan="1" rowspan="1" style="width:124px" %)SN50V3-NB|(% colspan="1" rowspan="1" style="width:91px" %) |(% colspan="1" rowspan="1" style="width:102px" %) |(% colspan="1" rowspan="1" style="width:159px" %) |(% colspan="1" rowspan="1" style="width:153px" %) |(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:148px" %) |(% colspan="1" rowspan="1" style="width:164px" %) |(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:66px" %) |(% colspan="1" rowspan="1" style="width:66px" %)
249 +|(% colspan="1" rowspan="1" style="width:124px" %)mod1|(% colspan="1" rowspan="1" style="width:91px" %)mod|(% colspan="1" rowspan="1" style="width:102px" %)Battery|(% colspan="1" rowspan="1" style="width:159px" %)RSSI|(% colspan="1" rowspan="1" style="width:153px" %)DS18B20 Temp|(% colspan="1" rowspan="1" style="width:152px" %)exit_state/input PA4|(% colspan="1" rowspan="1" style="width:148px" %)adc0|(% colspan="1" rowspan="1" style="width:164px" %)Temperature |(% colspan="1" rowspan="1" style="width:152px" %)Humidity|(% colspan="1" rowspan="1" style="width:66px" %) |(% colspan="1" rowspan="1" style="width:66px" %)
250 +|(% colspan="1" rowspan="1" style="width:124px" %)mod2|(% colspan="1" rowspan="1" style="width:91px" %)mod|(% colspan="1" rowspan="1" style="width:102px" %)Battery|(% colspan="1" rowspan="1" style="width:159px" %)RSSI|(% colspan="1" rowspan="1" style="width:153px" %)(((
239 239  DS18B20 Temp
240 240  
241 241  
242 -)))|(% colspan="1" rowspan="1" %)(((
254 +)))|(% colspan="1" rowspan="1" style="width:152px" %)(((
243 243  exit_state/input PA4
244 244  
245 245  
246 -)))|(% colspan="1" rowspan="1" %)adc0|(% colspan="1" rowspan="1" %)distance|(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %)
247 -|(% colspan="1" rowspan="1" %)mod3|(% colspan="1" rowspan="1" %)mod|(% colspan="1" rowspan="1" %)(((
258 +)))|(% colspan="1" rowspan="1" style="width:148px" %)adc0|(% colspan="1" rowspan="1" style="width:164px" %)distance|(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:66px" %) |(% colspan="1" rowspan="1" style="width:66px" %)
259 +|(% colspan="1" rowspan="1" style="width:124px" %)mod3|(% colspan="1" rowspan="1" style="width:91px" %)mod|(% colspan="1" rowspan="1" style="width:102px" %)(((
248 248  Battery
249 249  
250 250  
251 -)))|(% colspan="1" rowspan="1" %)RSSI|(% colspan="1" rowspan="1" %)adc0|(% colspan="1" rowspan="1" %)(((
263 +)))|(% colspan="1" rowspan="1" style="width:159px" %)RSSI|(% colspan="1" rowspan="1" style="width:153px" %)adc0|(% colspan="1" rowspan="1" style="width:152px" %)(((
252 252  exit_state/input PA4
253 253  
254 254  
255 -)))|(% colspan="1" rowspan="1" %)adc1|(% colspan="1" rowspan="1" %)Temperature|(% colspan="1" rowspan="1" %)Humidity|(% colspan="1" rowspan="1" %)adc4|(% colspan="1" rowspan="1" %)
256 -|(% colspan="1" rowspan="1" %)mod4|(% colspan="1" rowspan="1" %)mod|(% colspan="1" rowspan="1" %)(((
267 +)))|(% colspan="1" rowspan="1" style="width:148px" %)adc1|(% colspan="1" rowspan="1" style="width:164px" %)Temperature|(% colspan="1" rowspan="1" style="width:152px" %)Humidity|(% colspan="1" rowspan="1" style="width:66px" %)adc4|(% colspan="1" rowspan="1" style="width:66px" %)
268 +|(% colspan="1" rowspan="1" style="width:124px" %)mod4|(% colspan="1" rowspan="1" style="width:91px" %)mod|(% colspan="1" rowspan="1" style="width:102px" %)(((
257 257  Battery
258 258  
259 259  
260 -)))|(% colspan="1" rowspan="1" %)RSSI|(% colspan="1" rowspan="1" %)(((
272 +)))|(% colspan="1" rowspan="1" style="width:159px" %)RSSI|(% colspan="1" rowspan="1" style="width:153px" %)(((
261 261  DS18B20 Temp
262 262  
263 263  
264 -)))|(% colspan="1" rowspan="1" %)adc0|(% colspan="1" rowspan="1" %)(((
276 +)))|(% colspan="1" rowspan="1" style="width:152px" %)adc0|(% colspan="1" rowspan="1" style="width:148px" %)(((
265 265  exit_state/input PA4
266 266  
267 267  
268 -)))|(% colspan="1" rowspan="1" %)(((
280 +)))|(% colspan="1" rowspan="1" style="width:164px" %)(((
269 269  DS18B20 Temp2
270 270  
271 271  
272 -)))|(% colspan="1" rowspan="1" %)(((
284 +)))|(% colspan="1" rowspan="1" style="width:152px" %)(((
273 273  DS18B20 Temp3
274 274  
275 275  
276 -)))|(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %)
277 -|(% colspan="1" rowspan="1" %)mod5|(% colspan="1" rowspan="1" %)mod|(% colspan="1" rowspan="1" %)(((
288 +)))|(% colspan="1" rowspan="1" style="width:66px" %) |(% colspan="1" rowspan="1" style="width:66px" %)
289 +|(% colspan="1" rowspan="1" style="width:124px" %)mod5|(% colspan="1" rowspan="1" style="width:91px" %)mod|(% colspan="1" rowspan="1" style="width:102px" %)(((
278 278  Battery
279 279  
280 280  
281 -)))|(% colspan="1" rowspan="1" %)RSSI|(% colspan="1" rowspan="1" %)(((
293 +)))|(% colspan="1" rowspan="1" style="width:159px" %)RSSI|(% colspan="1" rowspan="1" style="width:153px" %)(((
282 282  DS18B20 Temp
283 283  
284 284  
285 -)))|(% colspan="1" rowspan="1" %)adc0|(% colspan="1" rowspan="1" %)(((
297 +)))|(% colspan="1" rowspan="1" style="width:152px" %)adc0|(% colspan="1" rowspan="1" style="width:148px" %)(((
286 286  exit_state/input PA4
287 287  
288 288  
289 -)))|(% colspan="1" rowspan="1" %)Weight|(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %)
290 -|(% colspan="1" rowspan="1" %)mod6|(% colspan="1" rowspan="1" %)mod|(% colspan="1" rowspan="1" %)(((
301 +)))|(% colspan="1" rowspan="1" style="width:164px" %)Weight|(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:66px" %) |(% colspan="1" rowspan="1" style="width:66px" %)
302 +|(% colspan="1" rowspan="1" style="width:124px" %)mod6|(% colspan="1" rowspan="1" style="width:91px" %)mod|(% colspan="1" rowspan="1" style="width:102px" %)(((
291 291  Battery
292 292  
293 293  
294 -)))|(% colspan="1" rowspan="1" %)RSSI|(% colspan="1" rowspan="1" %)count|(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %) |(% colspan="1" rowspan="1" %)
306 +)))|(% colspan="1" rowspan="1" style="width:159px" %)RSSI|(% colspan="1" rowspan="1" style="width:153px" %)count|(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:148px" %) |(% colspan="1" rowspan="1" style="width:164px" %) |(% colspan="1" rowspan="1" style="width:152px" %) |(% colspan="1" rowspan="1" style="width:66px" %) |(% colspan="1" rowspan="1" style="width:66px" %)
295 295  
296 -= 4. Datacake =
297 297  
298 -== 1.1 Define Product ==
299 299  
300 -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.
301 301  
311 +== 3.4 Datacake ==
302 302  
303 -By chosing to add the device under a "New Product" you are required to give a name for this product. You can namit something like "My First MQTT Product".
313 +== 3.4.1 Define Product ==
304 304  
315 +
316 +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.
317 +
318 +
319 +By chosing to add the device under a **"New Product"** you are required to give a name for this product. You can name it something like "My First MQTT Product".
320 +
305 305  [[image:image-20230802112413-14.png]]
306 306  
307 307  == 1.2 Create Device ==
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0