Changes for page Losant

Last modified by Xiaoling on 2023/04/11 08:54

From version 23.4
edited by Xiaoling
on 2022/09/05 09:38
Change comment: There is no comment for this version
To version 24.1
edited by Xiaoling
on 2022/09/05 11:04
Change comment: Uploaded new attachment "image-20220905110438-1.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -6,12 +6,12 @@
6 6  = 1.  Indoor Tracking Examples base on iBeacon =
7 7  
8 8  
9 -== 1.1  Step 1:  Create a Losant Webhook ==
9 +== 1.1  Create a Losant Webhook ==
10 10  
11 11  
12 12  If you do not have a Losant Account, you can sign up for a free [[Losant Developer Sandbox>>url:https://www.losant.com/iot-platform/sandbox]] account. Once you have an account, [[create a new application>>url:https://docs.losant.com/applications/overview/#creating-applications]]. You can start from a blank application or from a [[Losant Application Template>>url:https://docs.losant.com/templates/overview/]], like [[The Things Network Application Template>>url:https://docs.losant.com/templates/the-things-network/]].
13 13  
14 -Once you've created a new application, click **Webhooks** and then **Add Webhook**.
14 +Once you've created a new application, click **(% style="color:blue" %)Webhooks** (%%)and then **(% style="color:blue" %)Add Webhook**.
15 15  
16 16  [[image:image-20220905084626-2.png]]
17 17  
... ... @@ -18,7 +18,7 @@
18 18  
19 19  
20 20  
21 -Enter a **Webhook Name** and then click **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]].
21 +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]].
22 22  
23 23  [[image:image-20220905084724-3.png]]
24 24  
... ... @@ -33,10 +33,10 @@
33 33  
34 34  
35 35  
36 -== 1.2  Step: 2  Configure TTS to Use the Losant Webhook ==
36 +== 1.2  Configure TTS to Use the Losant Webhook ==
37 37  
38 38  
39 -In the TTS application , click on **Integrations**, then **Webhooks**, and then **Add webhook**.
39 +In the TTS application , click on **(% style="color:blue" %)Integrations**(%%), then **(% style="color:blue" %)Webhooks**(%%), and then **(% style="color:blue" %)Add webhook**.
40 40  
41 41  [[image:image-20220905084816-5.png]]
42 42  
... ... @@ -43,7 +43,7 @@
43 43  
44 44  
45 45  
46 -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 **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]].
46 +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]].
47 47  
48 48  [[image:image-20220905084846-6.png]]
49 49  
... ... @@ -51,10 +51,10 @@
51 51  
52 52  Enter the following information into the Losant Webhook configuration:
53 53  
54 -* **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.
55 -* **Unique ID of Losant Webhook URL:** This is the Losant Webhook unique ID that was copied to the clipboard in LOSANT Webhooks.
54 +* **(% 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.
55 +* **(% 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.
56 56  
57 -Finally, click **Create Losant webhook**. If you need to configure additional options (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]].
57 +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]].
58 58  
59 59  [[image:image-20220905084936-7.png]]
60 60  
... ... @@ -61,12 +61,12 @@
61 61  
62 62  
63 63  
64 -== Create a Losant Application Workflow to Receive Data from the LoRaWAN Sensor and Confirm Data Flow to Losant via Uplinks ==
64 +== 1.3  Create a Losant Application Workflow to Receive Data from the LoRaWAN Sensor and Confirm Data Flow to Losant via Uplinks ==
65 65  
66 66  
67 67  Since TTS is now configured to forward data to the Losant Webhook, let's create a [[Losant Application Workflow>>url:https://docs.losant.com/workflows/application-workflows/]] to receive the data from TTS.
68 68  
69 -Click on **Workflows** and then in the Application Workflow section, click **Add** to create a new Application Workflow.
69 +Click on **(% style="color:#037691" %)Workflows**(%%) and then in the Application Workflow section, click **(% style="color:#037691" %)Add** (%%)to create a new Application Workflow.
70 70  
71 71  [[image:image-20220905085017-8.png]]
72 72  
... ... @@ -88,7 +88,7 @@
88 88  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.
89 89  
90 90  
91 -**Note:** If TTS is not automatically decoding your data as shown below in** data.body.uplink_message.decoded_payload**, then you can decode your LoRaWAN device data in this Losant Application Workflow. Check out the blog post [[How To Decode and Visualize Your LoRaWAN Sensor Data Using TTS and Losant>>url:https://www.losant.com/blog/how-to-decode-and-visualize-your-lorawan-sensor-data-using-the-things-network-and-losant]] to learn more about decoding LoRaWAN data in Losant.
91 +**(% style="color:red" %)Note:**(%%) If TTS is not automatically decoding your data as shown below in**(% style="color:blue" %) data.body.uplink_message.decoded_payload**(%%), then you can decode your LoRaWAN device data in this Losant Application Workflow. Check out the blog post [[How To Decode and Visualize Your LoRaWAN Sensor Data Using TTS and Losant>>url:https://www.losant.com/blog/how-to-decode-and-visualize-your-lorawan-sensor-data-using-the-things-network-and-losant]] to learn more about decoding LoRaWAN data in Losant.
92 92  
93 93  [[image:image-20220905085115-11.png]]
94 94  
... ... @@ -95,7 +95,7 @@
95 95  
96 96  
97 97  
98 -== Create a device ==
98 +== 1.4  Create a device ==
99 99  
100 100  
101 101  [[image:image-20220905085132-12.png]]
image-20220905110438-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +37.5 KB
Content