... |
... |
@@ -5,7 +5,6 @@ |
5 |
5 |
|
6 |
6 |
= 1. Indoor Tracking Examples base on iBeacon = |
7 |
7 |
|
8 |
|
- |
9 |
9 |
== 1.1 Create a Losant Webhook == |
10 |
10 |
|
11 |
11 |
|
... |
... |
@@ -18,7 +18,6 @@ |
18 |
18 |
|
19 |
19 |
|
20 |
20 |
|
21 |
|
- |
22 |
22 |
Enter a (% style="color:blue" %)**Webhook Name**(%%) and then click (% style="color:blue" %)**Create Webhook**(%%). You may also enter a username and password to use Basic Auth. If you use Basic Auth, you will need to [[edit your Losant Webhook in TTS>>url:https://docs.losant.com/guides/how-to-integrate-with-the-things-stack/#editing-your-losant-webhook-in-tts]]. |
23 |
23 |
|
24 |
24 |
|
... |
... |
@@ -26,7 +26,6 @@ |
26 |
26 |
|
27 |
27 |
|
28 |
28 |
|
29 |
|
- |
30 |
30 |
Once the Webhook is created, copy the unique identifier from the URL that comes after [[https:~~/~~/triggers.losant.com/webhooks/.>>url:https://triggers.losant.com/webhooks/]] |
31 |
31 |
|
32 |
32 |
|
... |
... |
@@ -33,8 +33,6 @@ |
33 |
33 |
[[image:image-20220905084736-4.png]] |
34 |
34 |
|
35 |
35 |
|
36 |
|
- |
37 |
|
- |
38 |
38 |
== 1.2 Configure TTS to Use the Losant Webhook == |
39 |
39 |
|
40 |
40 |
|
... |
... |
@@ -45,7 +45,6 @@ |
45 |
45 |
|
46 |
46 |
|
47 |
47 |
|
48 |
|
- |
49 |
49 |
Click on the [[Losant Webhook>>url:https://www.thethingsindustries.com/docs/integrations/cloud-integrations/losant/]] tile. If you are using Basic Auth for this Webhook or need to subscribe to more than just (% style="color:blue" %)**uplink**(%%) messages, then please review the end of this How-To Guide in the section named [[Editing Your Losant Webhook in TTS>>url:https://docs.losant.com/guides/how-to-integrate-with-the-things-stack/#editing-your-losant-webhook-in-tts]]. |
50 |
50 |
|
51 |
51 |
|
... |
... |
@@ -52,15 +52,12 @@ |
52 |
52 |
[[image:image-20220905084846-6.png]] |
53 |
53 |
|
54 |
54 |
|
55 |
|
- |
56 |
56 |
Enter the following information into the Losant Webhook configuration: |
57 |
57 |
|
58 |
|
- |
59 |
59 |
* (% style="color:blue" %)**Webhook ID:**(%%) Make up any name that you would like. This does not have to be the ID of the webhook as it is stored in Losant. |
60 |
60 |
* (% style="color:blue" %)**Unique ID of Losant Webhook URL:**(%%) This is the Losant Webhook unique ID that was copied to the clipboard in LOSANT Webhooks. |
61 |
61 |
|
62 |
62 |
|
63 |
|
- |
64 |
64 |
Finally, click (% style="color:blue" %)**Create Losant webhook**(%%). If you need to configure additional options ((% style="color:red" %)e.g. Basic Auth or additional messages to subscribe to(%%)), use the TTS Custom Webhook Template or add these options once the Webhook in TTS is created by following the last section of this guide, [[Editing Your Losant Webhook in TTS>>url:https://docs.losant.com/guides/how-to-integrate-with-the-things-stack/#editing-your-losant-webhook-in-tts]]. |
65 |
65 |
|
66 |
66 |
|
... |
... |
@@ -67,8 +67,6 @@ |
67 |
67 |
[[image:image-20220905084936-7.png]] |
68 |
68 |
|
69 |
69 |
|
70 |
|
- |
71 |
|
- |
72 |
72 |
== 1.3 Create a Losant Application Workflow to Receive Data from the LoRaWAN Sensor and Confirm Data Flow to Losant via Uplinks == |
73 |
73 |
|
74 |
74 |
|
... |
... |
@@ -80,8 +80,6 @@ |
80 |
80 |
[[image:image-20220905085017-8.png]] |
81 |
81 |
|
82 |
82 |
|
83 |
|
- |
84 |
|
- |
85 |
85 |
Enter a name for your Application Workflow (as well as a description if you'd like) and click (% style="color:blue" %)**Create Workflow**. |
86 |
86 |
|
87 |
87 |
|
... |
... |
@@ -88,8 +88,6 @@ |
88 |
88 |
[[image:image-20220905091131-22.png]] |
89 |
89 |
|
90 |
90 |
|
91 |
|
- |
92 |
|
- |
93 |
93 |
Drag and drop the [[Webhook Trigger Node>>url:https://docs.losant.com/workflows/triggers/webhook/]] and the [[Debug Node>>url:https://docs.losant.com/workflows/outputs/debug/]] onto the visual workflow engine's canvas and connect them together. If you have only one webhook in this Losant application, it will be automatically selected for the Webhook Trigger. If you have multiple webhooks, select the one that was created in Webhook. Next, click (% style="color:blue" %)**Save and Deploy**(%%). Now that this workflow is deployed, click on the [[Debug Panel>>url:https://docs.losant.com/workflows/debugging-workflows/#debug-node-messages]]. |
94 |
94 |
|
95 |
95 |
|
... |
... |
@@ -96,7 +96,6 @@ |
96 |
96 |
[[image:image-20220905085051-10.png]] |
97 |
97 |
|
98 |
98 |
|
99 |
|
- |
100 |
100 |
When TTS receives new data from the sensor, it will send that data to Losant over the Losant Webhook and trigger this workflow. Each time this workflow runs, new data will be displayed in the Debug Panel as shown below. |
101 |
101 |
|
102 |
102 |
|
... |
... |
@@ -106,8 +106,6 @@ |
106 |
106 |
[[image:image-20220905085115-11.png]] |
107 |
107 |
|
108 |
108 |
|
109 |
|
- |
110 |
|
- |
111 |
111 |
== 1.4 Create a device == |
112 |
112 |
|
113 |
113 |
|
... |
... |
@@ -114,43 +114,33 @@ |
114 |
114 |
[[image:image-20220905085132-12.png]] |
115 |
115 |
|
116 |
116 |
|
|
99 |
+**Select the appropriate equipment. In this example, select a Standalone equipment** |
117 |
117 |
|
118 |
|
- |
119 |
|
-Select the appropriate equipment. In this example, select a Standalone equipment |
120 |
|
- |
121 |
|
- |
122 |
122 |
[[image:image-20220905085201-13.png]] |
123 |
123 |
|
124 |
124 |
|
125 |
125 |
|
|
105 |
+**Name is required, others can be added later** |
126 |
126 |
|
127 |
|
-Name is required, others can be added later |
128 |
128 |
|
129 |
|
- |
130 |
130 |
[[image:image-20220905085219-14.png]] |
131 |
131 |
|
132 |
132 |
|
|
111 |
+**Add equipment in the workflow so that data can flow to the equipment** |
133 |
133 |
|
134 |
|
- |
135 |
|
-Add equipment in the workflow so that data can flow to the equipment |
136 |
|
- |
137 |
|
- |
138 |
138 |
[[image:image-20220905085236-15.png]] |
139 |
139 |
|
140 |
140 |
|
141 |
141 |
|
|
117 |
+**Refer to the data in debug and add parameters to the device.** |
142 |
142 |
|
143 |
|
-Refer to the data in debug and add parameters to the device. |
144 |
|
- |
145 |
|
- |
146 |
146 |
[[image:image-20220905085253-16.png]] |
147 |
147 |
|
148 |
148 |
|
149 |
149 |
|
|
123 |
+**Create a new dashboard.** |
150 |
150 |
|
151 |
|
-Create a new dashboard. |
152 |
152 |
|
153 |
|
- |
154 |
154 |
[[image:image-20220905085323-17.png]] |
155 |
155 |
|
156 |
156 |
|