<
From version < 22.2 >
edited by Xiaoling
on 2022/09/05 08:55
To version < 22.1 >
edited by Xiaoling
on 2022/09/05 08:54
>
Change comment: Uploaded new attachment "image-20220905085437-21.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -57,24 +57,16 @@
57 57  
58 58  == Create a Losant Application Workflow to Receive Data from the LoRaWAN Sensor and Confirm Data Flow to Losant via Uplinks ==
59 59  
60 -
61 61  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.
62 62  
63 63  Click on Workflows and then in the Application Workflow section, click Add to create a new Application Workflow.
64 64  
65 -[[image:image-20220905085017-8.png]]
66 -
67 67  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image014.jpg]]
68 68  
69 69  Enter a name for your Application Workflow (as well as a description if you’d like) and click Create Workflow.
70 70  
71 -[[image:image-20220905085035-9.png]]
72 -
73 -
74 74  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image016.jpg]]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 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]].
75 75  
76 -[[image:image-20220905085051-10.png]]
77 -
78 78  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.jpg]]
79 79  
80 80  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.
... ... @@ -81,68 +81,39 @@
81 81  
82 82  **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.
83 83  
84 -[[image:image-20220905085115-11.png]]
85 -
86 -
87 -
88 88  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image020.jpg]]
89 89  
90 90  == Create a device ==
91 91  
92 -
93 -[[image:image-20220905085132-12.png]]
94 -
95 -
96 96  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.jpg]]
97 97  
98 98  Select the appropriate equipment. In this example, select a Standalone equipment
99 99  
100 -[[image:image-20220905085201-13.png]]
101 -
102 102  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.jpg]]
103 103  
104 104  Name is required, others can be added later
105 105  
106 -[[image:image-20220905085219-14.png]]
107 -
108 108  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.jpg]]
109 109  
110 110  Add equipment in the workflow so that data can flow to the equipment
111 111  
112 -[[image:image-20220905085236-15.png]]
113 -
114 114  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image028.jpg]]
115 115  
116 -Refer to the data in debug and add parameters to the device
94 +Refer to the data in debug and add parameters to the device[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.jpg]]
117 117  
118 -[[image:image-20220905085253-16.png]][[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.jpg]]
119 -
120 -
121 121  Create a new dashboard
122 122  
123 -[[image:image-20220905085323-17.png]]
124 -
125 125  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image032.jpg]]
126 126  
127 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image034.jpg]][[image:image-20220905085337-18.png]]
100 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image034.jpg]]
128 128  
129 -
130 130  Select the appropriate template
131 131  
132 -[[image:image-20220905085355-19.png]]
133 -
134 134  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image036.jpg]]
135 135  
136 136  Set beacon and position
137 137  
138 -[[image:image-20220905085417-20.png]]
139 -
140 -
141 -
142 -[[image:image-20220905085437-21.png]]
143 -
144 144  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image038.jpg]]
145 145  
146 146  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image040.jpg]]
147 147  
148 -
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0