Wiki source code of AllThingsTalk

Version 18.18 by Xiaoling on 2022/07/25 15:08

Show last authors
1 **~ Table of Contents:**
2
3 {{toc/}}
4
5
6 = 1.  Introduction =
7
8
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.
11
12
13 )))
14
15 [[image:image-20220526155728-1.png]]
16
17
18
19 = 2.  Create device =
20
21
22 **To create a device:**
23
24 * (% style="color:blue" %)**Go to the ground in which you want to create it and select the Devices tab on the left**
25 * (% style="color:blue" %)**Click the large New device button**
26
27
28
29 [[image:image-20220526155758-2.png||height="415" width="1289"]]
30
31
32
33 * (% style="color:blue" %)**Select the type of device you want to create**
34 * (% style="color:blue" %)**Select your LoRaWAN provider**
35
36
37 [[image:image-20220601094502-1.png]]
38
39
40 [[image:image-20220601094716-2.png]]
41
42
43
44 * (% style="color:blue" %)**Enter a name for your device**
45 * (% style="color:blue" %)**Enter the DEVEUI**
46 * (% style="color:blue" %)**Copy network token**
47
48
49
50 [[image:image-20220526160030-5.png]]
51
52
53
54 = 3.  Create a device in TTNv3 =
55
56
57 * (% style="color:blue" %)**Users create devices in TTNv3 and join the network, and then enter integration.**
58 * (% style="color:blue" %)**Enter network token**
59
60
61
62 [[image:image-20220526160107-6.png||height="446" width="1089"]]
63
64
65 [[image:image-20220526160137-7.png]]
66
67
68
69 = 4.  Assets =
70
71
72 (((
73 Assets are active components that hold value about a measure, either in physical or virtual space.
74 )))
75
76 (((
77 Most important physical assets are sensors and actuators.
78 )))
79
80 * (% style="color:blue" %)**Create assets**
81
82
83
84 [[image:image-20220526160223-8.png]]
85
86
87 [[image:image-20220526160246-9.png]]
88
89
90 [[image:image-20220526160325-10.png||height="527" width="1124"]]
91
92
93
94 = 5.  Asset payload =
95
96
97 (((
98 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.
99
100
101 )))
102
103 [[image:image-20220526160427-11.png||height="654" width="971"]]
104
105
106 [[image:image-20220601094924-3.png]]
107
108 (((
109 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/]]
110
111
112
113 )))
114
115 = 6.  Debug device data =
116
117
118 (((
119 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.
120
121
122 )))
123
124 (((
125 System logs a debug message whenever:
126 )))
127
128 * (((
129 It receives binary data that has been successfully decoded (lorawan devices only)
130 )))
131 * (((
132 It receives binary data that cannot be decoded due to false conversion definition (lorawan devices only)
133
134
135
136 )))
137
138 [[image:image-20220526160601-13.png]]