Hide last authors
Xiaoling 18.5 1 **~ Table of Contents:**
Xiaoling 1.1 2
Xiaoling 1.4 3 {{toc/}}
Xiaoling 1.1 4
Xiaoling 1.4 5
Xiaoling 18.5 6 = 1.  Introduction =
Xiaoling 1.1 7
Xiaoling 18.5 8
Xiaoling 1.2 9 (((
10 AllThingsTalk abstracts many different and usually complex IoT concepts into couple of simple to use entities. In this section you will find out more about AllThingsTalk domain model entities and how to use them within Maker web interface.
Xiaoling 18.5 11
12
Xiaoling 1.2 13 )))
Xiaoling 1.1 14
Xiaoling 6.2 15 [[image:image-20220526155728-1.png]]
Xiaoling 1.1 16
Xiaoling 6.2 17
Xiaoling 18.5 18 = 2.  Create device =
19
20
Xiaoling 18.11 21 **To create a device:**
Xiaoling 1.1 22
Xiaoling 18.13 23 * (% style="color:blue" %)**Go to the ground in which you want to create it and select the Devices tab on the left**
Xiaoling 18.22 24
Xiaoling 18.13 25 * (% style="color:blue" %)**Click the large New device button**
Xiaoling 1.1 26
Xiaoling 6.2 27 [[image:image-20220526155758-2.png||height="415" width="1289"]]
Xiaoling 1.1 28
Xiaoling 16.2 29
Xiaoling 16.3 30
Xiaoling 18.13 31 * (% style="color:blue" %)**Select the type of device you want to create**
Xiaoling 18.22 32
Xiaoling 18.13 33 * (% style="color:blue" %)**Select your LoRaWAN provider**
Xiaoling 1.1 34
Xiaoling 16.2 35 [[image:image-20220601094502-1.png]]
Xiaoling 1.1 36
Xiaoling 16.2 37
Xiaoling 17.2 38 [[image:image-20220601094716-2.png]]
Xiaoling 6.2 39
Xiaoling 16.5 40
41
Xiaoling 18.13 42 * (% style="color:blue" %)**Enter a name for your device**
Xiaoling 18.22 43
Xiaoling 18.13 44 * (% style="color:blue" %)**Enter the DEVEUI**
Xiaoling 18.22 45
Xiaoling 18.13 46 * (% style="color:blue" %)**Copy network token**
Xiaoling 1.1 47
Xiaoling 6.2 48 [[image:image-20220526160030-5.png]]
Xiaoling 1.1 49
Xiaoling 11.2 50
Xiaoling 18.8 51 = 3.  Create a device in TTNv3 =
52
53
Xiaoling 18.13 54 * (% style="color:blue" %)**Users create devices in TTNv3 and join the network, and then enter integration.**
Xiaoling 18.22 55
Xiaoling 18.13 56 * (% style="color:blue" %)**Enter network token**
Xiaoling 1.2 57
Xiaoling 11.2 58 [[image:image-20220526160107-6.png||height="446" width="1089"]]
Xiaoling 1.2 59
60
Xiaoling 11.2 61 [[image:image-20220526160137-7.png]]
62
63
Xiaoling 18.9 64 = 4.  Assets =
65
66
Xiaoling 1.3 67 (((
Xiaoling 1.2 68 Assets are active components that hold value about a measure, either in physical or virtual space.
Xiaoling 1.3 69 )))
Xiaoling 1.2 70
Xiaoling 1.3 71 (((
Xiaoling 1.2 72 Most important physical assets are sensors and actuators.
Xiaoling 1.3 73 )))
Xiaoling 1.2 74
Xiaoling 18.14 75 * (% style="color:blue" %)**Create assets**
Xiaoling 1.2 76
Xiaoling 11.2 77 [[image:image-20220526160223-8.png]]
Xiaoling 1.2 78
79
Xiaoling 11.2 80 [[image:image-20220526160246-9.png]]
Xiaoling 1.2 81
Xiaoling 11.2 82
83 [[image:image-20220526160325-10.png||height="527" width="1124"]]
84
Xiaoling 14.2 85
Xiaoling 18.10 86 = 5.  Asset payload =
87
88
Xiaoling 1.3 89 (((
Xiaoling 18.10 90 ABCL stands for AllThingsTalk Binary Conversion Language , and it's a JSON-based, domain specific language, used for encoding and decoding of AllThingsTalk asset data to and from binary payloads. It gives you the freedom to specify your own decoding scheme on a per device level.
91
92
Xiaoling 1.3 93 )))
Xiaoling 1.2 94
Xiaoling 14.2 95 [[image:image-20220526160427-11.png||height="654" width="971"]]
Xiaoling 1.2 96
97
Xiaoling 18.2 98 [[image:image-20220601094924-3.png]]
Xiaoling 14.2 99
Xiaoling 1.3 100 (((
Xiaoling 1.2 101 If you want to know more about ABCL language, please click this link: [[https:~~/~~/docs.allthingstalk.com/developers/data/custom-payload-conversion/>>url:https://docs.allthingstalk.com/developers/data/custom-payload-conversion/]]
Xiaoling 14.2 102
103
Xiaoling 1.3 104 )))
Xiaoling 1.2 105
Xiaoling 18.10 106 = 6.  Debug device data =
Xiaoling 1.2 107
Xiaoling 18.10 108
Xiaoling 1.3 109 (((
Xiaoling 18.10 110 Sometimes devices stop working for one or another reason and you need to know what's going on. Also, many devices (e.g. Arduino) memory is small enough to discourage an attempt to log errors on the device itself. For that reason AllThingsTalk allows you to know if system successfully receives or encounters a problem with incoming data.
111
112
Xiaoling 1.3 113 )))
Xiaoling 1.2 114
Xiaoling 1.3 115 (((
Xiaoling 1.2 116 System logs a debug message whenever:
Xiaoling 1.3 117 )))
Xiaoling 1.2 118
Xiaoling 1.3 119 * (((
120 It receives binary data that has been successfully decoded (lorawan devices only)
121 )))
122 * (((
123 It receives binary data that cannot be decoded due to false conversion definition (lorawan devices only)
Xiaoling 18.10 124
125
126
Xiaoling 1.3 127 )))
Xiaoling 1.2 128
Xiaoling 14.2 129 [[image:image-20220526160601-13.png]]
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0