Deploying Azure Stream Analytics Edge as a module on Azure Percept DK

Published Sep 02 2021 08:58 AM 1,195 Views
Frequent Visitor

This article describes how to control the number of messages being sent by Azure Percept DK and how to deploy a Stream Analytics Edge module to Azure Percept DK. Azure Percept DK can consume a lot of messages in Azure IoT very fast. How can this be controlled? Can a custom logic be deployed on Azure Percept DK?

 

Those were the initial questions that we asked once we understood how the Azure Percept DK worked. Very quickly we noticed the Azure Percept DK was even sending messages to Azure IoT Hub when no objects were detected with label = null. I still remember we consumed 8000 messages in around 2 hours with the Azure Percept DK (Azure IoT Hub free tier) – daily limit. We upgraded to S1 Tier but then thought what if we were to scale our solution to include multiple Azure Percept DKs? How do we ensure we do not use up the daily limit on this tier again? (To learn more about Azure Percept DK check out this link: https://azure.microsoft.com/en-gb/services/azure-percept/)

 

As a starter, we can control the number of messages that are being sent to IoT Hub through Azure Percept DK’s azureeyemodule module identity twin. The azureeyemodule is responsible to analyze the unencoded video frames with the deployed machine learning model and send the results to other modules. Controlling how often azureeyemodule sends messages to other modules, e.g. edgeHub, can limit the number of messages being sent to Azure IoT Hub. 

 

To do this:

  1. Navigate to your Azure IoT Edge device through Azure IoT Hub
  2. Under Modules section, select ‘azureeyemodule’
  3. Select ‘Module Identity Twin’
  4. In the module device twin json, find the property named ‘TelemetryIntervalNeuralNetworkMs’:
Sargithan_Senthil_12-1630511312520.png

 

 

5. This value determines how often messages are being sent from the neural network. We can increase this value to limit the number of messages being sent out (remember it is in milliseconds!)

6. Then make sure you press ‘Save’

7. Your Azure Percept DK will now sync up with the module and read in your updated TelemetryIntervalNeuralNetworkMs desired property value. After few seconds, you should see less frequent messages arriving in IoT Hub.

 

On point 7, you can easily view what telemetries are being sent (including the text) using Azure IoT explorer (https://docs.microsoft.com/en-us/azure/iot-fundamentals/howto-use-iot-explorer).

 

The method described above is the easiest way to control the frequency of messages arriving in Azure IoT Hub. With some quick math, we can calculate the ideal 'Telemetry IntervalNeuralNetworkMs' for x number of devices. The downside of this approach: the higher the number, the less ‘real-time’ it becomes.

 

Our requirement was to send telemetries to Azure IoT Hub as soon as possible once azureeyemodule detects an object. So, the above solution was not suitable for us. This is where Azure Stream Analytics Edge came into the picture…

 

Azure Stream Analytics edge is designed for low latency, resiliency, efficient use of bandwidth, and compliance. The ability to implement custom logic, including only to send messages to IoT Hub when objects are detected was appealing.  As part of the implementation, we will need to modify the routes on the Azure Percept DK from module-to-module in a specific way as shown below:

 

Sargithan_Senthil_16-1630511515737.png

Follow these steps to achieve this:

1.    Create Stream Analytics job on edge: Go on stream analytics jobs main page and click the ‘Create’ button

2.    Give it a name, choose the location and make sure the Hosting environment – edge is selected. Select ‘Create’


Sargithan_Senthil_20-1630511633346.png

3.    Under Job Topology section click on ‘Inputs’:Sargithan_Senthil_28-1630512127860.png

 

4.    Click on ‘Add stream input’ and select ‘Edge Hub’

5.    Enter an input alias name and click 'Save':

Sargithan_Senthil_21-1630511695802.png

 

6.    Select ‘Outputs’, click on ‘Add’ and select ‘Edge Hub’

7.    Enter an output alias name and click ‘Save’

8.    Click on Query

9.    Write the SQL query for filtering the telemetry messages and save the query (you may want to apply a different logic here):Sargithan_Senthil_33-1630512491397.png

10. To deploy this logic as an IoT module: Navigate to your Azure Percept DK device in IoT Hub

11. Click on ‘Set Modules’ button

12. Under IoT Edge Modules section click on ‘Add – Azure Stream Analytics Module’:

Sargithan_Senthil_23-1630511717722.png

 

13. Choose your newly created edge job and click ‘Save’:

Sargithan_Senthil_24-1630511749435.png

 

14. The ASA edge module will appear under IoT Edge Modules list:

 

Sargithan_Senthil_25-1630511762615.png

 

 15. Select the ‘Routes’ tab and specify the routes:Sargithan_Senthil_30-1630512369557.png

 

16. Click on ‘Review + Create’ button to set the module on device

 

Now, wait a few seconds (give it a good minute if it’s your first time). To see if things are working, open Azure IoT Explorer and see if you can see telemetry and any additional json properties defined in your SQL syntax (Stream Analytics edge):

 

Sargithan_Senthil_27-1630511780982.png

 

If you have any issues, it’s best to use module logs to identify the probable cause. In our experience, the logs were extremely helpful to identify the errors when we hit blockers!

 

Lastly, I would like to thank my company Kagool for providing us with an Azure Percept DK and an Azure Subscription!

 

Learn more about the Azure percept DK here:

Learn about Azure Percept 

AZURE.COM page
Product detail pages
Pre-built AI models
Azure Percept - YouTube

Purchase Azure Percept
Available to our customers – 
Build your Azure Percept

%3CLINGO-SUB%20id%3D%22lingo-sub-2708359%22%20slang%3D%22en-US%22%3EDeploying%20Azure%20Stream%20Analytics%20Edge%20as%20a%20module%20on%20Azure%20Percept%20DK%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2708359%22%20slang%3D%22en-US%22%3E%3CP%20class%3D%22lia-align-justify%22%3EThis%20article%20describes%20how%20to%20control%20the%20number%20of%20messages%20being%20sent%20by%20Azure%20Percept%20DK%20and%20how%20to%20deploy%20a%20Stream%20Analytics%20Edge%20module%20to%20Azure%20Percept%20DK.%26nbsp%3BAzure%20Percept%20DK%20can%20consume%20a%20lot%20of%20messages%20in%20Azure%20IoT%20very%20fast.%20How%20can%20this%20be%20controlled%3F%20Can%20a%20custom%20logic%20be%20deployed%20on%20Azure%20Percept%20DK%3F%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EThose%20were%20the%20initial%20questions%20that%20we%20asked%20once%20we%20understood%20how%20the%20Azure%20Percept%20DK%20worked.%20Very%20quickly%20we%20noticed%20the%20Azure%20Percept%20DK%20was%20even%20sending%20messages%20to%20Azure%20IoT%20Hub%20when%20no%20objects%20were%20detected%20with%20label%20%3D%20null.%20I%20still%20remember%20we%20consumed%208000%20messages%20in%20around%202%20hours%20with%20the%20Azure%20Percept%20DK%20(Azure%20IoT%20Hub%20free%20tier)%20%E2%80%93%20daily%20limit.%20We%20upgraded%20to%20S1%20Tier%20but%20then%20thought%20what%20if%20we%20were%20to%20scale%20our%20solution%20to%20include%20multiple%20Azure%20Percept%20DKs%3F%20How%20do%20we%20ensure%20we%20do%20not%20use%20up%20the%20daily%20limit%20on%20this%20tier%20again%3F%20(To%20learn%20more%20about%20Azure%20Percept%20DK%20check%20out%20this%20link%3A%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-gb%2Fservices%2Fazure-percept%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fazure.microsoft.com%2Fen-gb%2Fservices%2Fazure-percept%2F%3C%2FA%3E)%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EAs%20a%20starter%2C%20we%20can%20control%20the%20number%20of%20messages%20that%20are%20being%20sent%20to%20IoT%20Hub%20through%20Azure%20Percept%20DK%E2%80%99s%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Eazureeyemodule%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Emodule%20identity%20twin.%20The%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Eazureeyemodule%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eis%20responsible%20to%20analyze%20the%20unencoded%20video%20frames%20with%20the%20deployed%20machine%20learning%20model%20and%20send%20the%20results%20to%20other%20modules.%20Controlling%20how%20often%20azureeyemodule%20sends%20messages%20to%20other%20modules%2C%20e.g.%20edgeHub%2C%20can%20limit%20the%20number%20of%20messages%20being%20sent%20to%20Azure%20IoT%20Hub.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20do%20this%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3ENavigate%20to%20your%20Azure%20IoT%20Edge%20device%20through%20Azure%20IoT%20Hub%3C%2FLI%3E%0A%3CLI%3EUnder%20Modules%20section%2C%20select%20%E2%80%98azureeyemodule%E2%80%99%3C%2FLI%3E%0A%3CLI%3ESelect%20%E2%80%98Module%20Identity%20Twin%E2%80%99%3C%2FLI%3E%0A%3CLI%3EIn%20the%20module%20device%20twin%20json%2C%20find%20the%20property%20named%20%E2%80%98TelemetryIntervalNeuralNetworkMs%E2%80%99%3A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CDIV%20class%3D%22slate-resizable-image-embed%20slate-image-embed__resize-middle%20lia-indent-padding-left-180px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Sargithan_Senthil_12-1630511312520.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307331i9446842F5BBDB2D7%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Sargithan_Senthil_12-1630511312520.png%22%20alt%3D%22Sargithan_Senthil_12-1630511312520.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E5.%20This%20value%20determines%20how%20often%20messages%20are%20being%20sent%20from%20the%20neural%20network.%20We%20can%20increase%20this%20value%20to%20limit%20the%20number%20of%20messages%20being%20sent%20out%20(%3CSTRONG%3Eremember%20it%20is%20in%20milliseconds!%3C%2FSTRONG%3E)%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E6.%20Then%20make%20sure%20you%20press%20%E2%80%98Save%E2%80%99%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E7.%20Your%20Azure%20Percept%20DK%20will%20now%20sync%20up%20with%20the%20module%20and%20read%20in%20your%20updated%20TelemetryIntervalNeuralNetworkMs%20desired%20property%20value.%20After%20few%20seconds%2C%20you%20should%20see%20less%20frequent%20messages%20arriving%20in%20IoT%20Hub.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOn%20point%207%2C%20you%20can%20easily%20view%20what%20telemetries%20are%20being%20sent%20(including%20the%20text)%20using%20Azure%20IoT%20explorer%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fiot-fundamentals%2Fhowto-use-iot-explorer%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fiot-fundamentals%2Fhowto-use-iot-explorer%3C%2FA%3E).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EThe%20method%20described%20above%20is%20the%20easiest%20way%20to%20control%20the%20frequency%20of%20messages%20arriving%20in%20Azure%20IoT%20Hub.%20With%20some%20quick%20math%2C%20we%20can%20calculate%20the%20ideal%20'Telemetry%20IntervalNeuralNetworkMs'%20for%20x%20number%20of%20devices.%20The%20downside%20of%20this%20approach%3A%20the%20higher%20the%20number%2C%20the%20less%20%E2%80%98real-time%E2%80%99%20it%20becomes.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EOur%20requirement%20was%20to%20send%20telemetries%20to%20Azure%20IoT%20Hub%20as%20soon%20as%20possible%20once%20azureeyemodule%20detects%20an%20object.%20So%2C%20the%20above%20solution%20was%20not%20suitable%20for%20us.%20This%20is%20where%20Azure%20Stream%20Analytics%20Edge%20came%20into%20the%20picture%E2%80%A6%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EAzure%20Stream%20Analytics%20edge%20is%20designed%20for%20low%20latency%2C%20resiliency%2C%20efficient%20use%20of%20bandwidth%2C%20and%20compliance.%20The%20ability%20to%20implement%20custom%20logic%2C%20including%20only%20to%20send%20messages%20to%20IoT%20Hub%20when%20objects%20are%20detected%20was%20appealing.%20%26nbsp%3BAs%20part%20of%20the%20implementation%2C%20we%20will%20need%20to%20modify%20the%20routes%20on%20the%20Azure%20Percept%20DK%20from%20module-to-module%20in%20a%20specific%20way%20as%20shown%20below%3A%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Sargithan_Senthil_16-1630511515737.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307332iF97AA083044A4961%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Sargithan_Senthil_16-1630511515737.png%22%20alt%3D%22Sargithan_Senthil_16-1630511515737.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EFollow%20these%20steps%20to%20achieve%20this%3A%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E1.%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BCreate%20Stream%20Analytics%20job%20on%20edge%3A%20Go%20on%20stream%20analytics%20jobs%20main%20page%20and%20click%20the%20%E2%80%98Create%E2%80%99%20button%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E2.%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BGive%20it%20a%20name%2C%20choose%20the%20location%20and%20make%20sure%20the%3CSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EHosting%20environment%20%E2%80%93%20edge%20is%20selected%3C%2FSTRONG%3E.%20Select%20%E2%80%98Create%E2%80%99%3C%2FP%3E%0A%3CDIV%20class%3D%22slate-resizable-image-embed%20slate-image-embed__resize-middle%20lia-indent-padding-left-300px%22%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sargithan_Senthil_20-1630511633346.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307336iFB64136101361344%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Sargithan_Senthil_20-1630511633346.png%22%20alt%3D%22Sargithan_Senthil_20-1630511633346.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E3.%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BUnder%20Job%20Topology%20section%20click%20on%20%E2%80%98Inputs%E2%80%99%3A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sargithan_Senthil_28-1630512127860.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307344iE8CE7A52F284DCE2%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Sargithan_Senthil_28-1630512127860.png%22%20alt%3D%22Sargithan_Senthil_28-1630512127860.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E4.%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BClick%20on%20%E2%80%98Add%20stream%20input%E2%80%99%20and%20select%20%E2%80%98Edge%20Hub%E2%80%99%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E5.%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BEnter%20an%20input%20alias%20name%20and%20click%20'Save'%3A%3C%2FP%3E%0A%3CDIV%20class%3D%22slate-resizable-image-embed%20slate-image-embed__resize-middle%20lia-indent-padding-left-300px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sargithan_Senthil_21-1630511695802.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307337i32CC273E0936E97D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Sargithan_Senthil_21-1630511695802.png%22%20alt%3D%22Sargithan_Senthil_21-1630511695802.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E6.%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BSelect%20%E2%80%98Outputs%E2%80%99%2C%20click%20on%20%E2%80%98Add%E2%80%99%20and%20select%20%E2%80%98Edge%20Hub%E2%80%99%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E7.%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BEnter%20an%20output%20alias%20name%20and%20click%20%E2%80%98Save%E2%80%99%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E8.%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BClick%20on%20Query%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E9.%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BWrite%20the%20SQL%20query%20for%20filtering%20the%20telemetry%20messages%20and%20save%20the%20query%20(you%20may%20want%20to%20apply%20a%20different%20logic%20here)%3A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sargithan_Senthil_33-1630512491397.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307349i3E2F13C02876CB93%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Sargithan_Senthil_33-1630512491397.png%22%20alt%3D%22Sargithan_Senthil_33-1630512491397.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E10.%26nbsp%3BTo%20deploy%20this%20logic%20as%20an%20IoT%20module%3A%20Navigate%20to%20your%20Azure%20Percept%20DK%20device%20in%20IoT%20Hub%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E11.%26nbsp%3BClick%20on%20%E2%80%98Set%20Modules%E2%80%99%20button%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E12.%26nbsp%3BUnder%20IoT%20Edge%20Modules%20section%20click%20on%20%E2%80%98Add%20%E2%80%93%20Azure%20Stream%20Analytics%20Module%E2%80%99%3A%3C%2FP%3E%0A%3CDIV%20class%3D%22slate-resizable-image-embed%20slate-image-embed__resize-middle%20lia-indent-padding-left-300px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sargithan_Senthil_23-1630511717722.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307339i52685564DCA9E7CB%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Sargithan_Senthil_23-1630511717722.png%22%20alt%3D%22Sargithan_Senthil_23-1630511717722.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E13.%26nbsp%3BChoose%20your%20newly%20created%20edge%20job%20and%20click%20%E2%80%98Save%E2%80%99%3A%3C%2FP%3E%0A%3CDIV%20class%3D%22slate-resizable-image-embed%20slate-image-embed__resize-middle%20lia-indent-padding-left-300px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sargithan_Senthil_24-1630511749435.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307340i881880340481A6EC%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Sargithan_Senthil_24-1630511749435.png%22%20alt%3D%22Sargithan_Senthil_24-1630511749435.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E14.%26nbsp%3BThe%20ASA%20edge%20module%20will%20appear%20under%20IoT%20Edge%20Modules%20list%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%20class%3D%22slate-resizable-image-embed%20slate-image-embed__resize-middle%20lia-indent-padding-left-300px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sargithan_Senthil_25-1630511762615.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307341iE6D2372ABA5CD99A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Sargithan_Senthil_25-1630511762615.png%22%20alt%3D%22Sargithan_Senthil_25-1630511762615.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B15.%26nbsp%3BSelect%20the%20%E2%80%98Routes%E2%80%99%20tab%20and%20specify%20the%20routes%3A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sargithan_Senthil_30-1630512369557.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307346iF1B176E9B6F78ABB%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Sargithan_Senthil_30-1630512369557.png%22%20alt%3D%22Sargithan_Senthil_30-1630512369557.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E16.%26nbsp%3BClick%20on%20%E2%80%98Review%20%2B%20Create%E2%80%99%20button%20to%20set%20the%20module%20on%20device%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENow%2C%20wait%20a%20few%20seconds%20(give%20it%20a%20good%20minute%20if%20it%E2%80%99s%20your%20first%20time).%20To%20see%20if%20things%20are%20working%2C%20open%20Azure%20IoT%20Explorer%20and%20see%20if%20you%20can%20see%20telemetry%20and%20any%20additional%20json%20properties%20defined%20in%20your%20SQL%20syntax%20(Stream%20Analytics%20edge)%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-90px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sargithan_Senthil_27-1630511780982.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307343i1315348F1B28C7B2%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Sargithan_Senthil_27-1630511780982.png%22%20alt%3D%22Sargithan_Senthil_27-1630511780982.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EIf%20you%20have%20any%20issues%2C%20it%E2%80%99s%20best%20to%20use%20module%20logs%20to%20identify%20the%20probable%20cause.%20In%20our%20experience%2C%20the%20logs%20were%20extremely%20helpful%20to%20identify%20the%20errors%20when%20we%20hit%20blockers!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELastly%2C%20I%20would%20like%20to%20thank%20my%20company%20Kagool%20for%20providing%20us%20with%20an%20Azure%20Percept%20DK%20and%20an%20Azure%20Subscription!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELearn%20more%20about%20the%20Azure%20percept%20DK%20here%3A%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CU%3E%3CSPAN%3ELearn%20about%20Azure%20Percept%26nbsp%3B%3C%2FSPAN%3E%3C%2FU%3E%3C%2FSTRONG%3E%3CU%3E%3C%2FU%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fazure.microsoft.com%252Fen-us%252Fservices%252Fazure-percept%26amp%3Bdata%3D04%257C01%257Camira.youssef%2540microsoft.com%257Cb2ecf8ca871640c3c39908d95a0efcaa%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637639842673827625%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3D%252BLkSMUyYTRm12n5qgpJsHh%252Bk2iu41gkGx%252FWeMnIlDW0%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20nofollow%22%20data-auth%3D%22NotApplicable%22%20data-linkindex%3D%220%22%3E%3CSPAN%3EAZURE.COM%20page%3C%2FSPAN%3E%3C%2FA%3E%3CU%3E%3CSPAN%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FU%3E%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Faka.ms%252Fgetazurepercept%26amp%3Bdata%3D04%257C01%257Camira.youssef%2540microsoft.com%257Cb2ecf8ca871640c3c39908d95a0efcaa%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637639842673827625%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3Diqh8Vnn%252B1j1lY%252BeLB8LhOXyMd%252FEi3qEmGc1zFM8X6Os%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20nofollow%22%20data-auth%3D%22NotApplicable%22%20data-linkindex%3D%221%22%3E%3CSPAN%3EProduct%20detail%20pages%3C%2FSPAN%3E%3C%2FA%3E%3CU%3E%3CSPAN%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FU%3E%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Faka.ms%252Fazureperceptdiscover%26amp%3Bdata%3D04%257C01%257Camira.youssef%2540microsoft.com%257Cb2ecf8ca871640c3c39908d95a0efcaa%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637639842673837582%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3DrkClEo5n3IqJIYnu9tVvh9gxG1%252FjWasbKx24T1bGRO8%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20nofollow%22%20data-auth%3D%22NotApplicable%22%20data-linkindex%3D%222%22%3E%3CSPAN%3EPre-built%20AI%20models%3C%2FSPAN%3E%3C%2FA%3E%3CU%3E%3CSPAN%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FU%3E%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fwww.youtube.com%252Fchannel%252FUCa8_TsUuotIMuzkLzGNQPIg%26amp%3Bdata%3D04%257C01%257Camira.youssef%2540microsoft.com%257Cb2ecf8ca871640c3c39908d95a0efcaa%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637639842673837582%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3DNn6crTIiSYrsF4HN3LKPve57W32NkJbcKaPJqOH07nw%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20nofollow%22%20data-auth%3D%22NotApplicable%22%20data-linkindex%3D%223%22%3E%3CSPAN%3EAzure%20Percept%20-%20YouTube%3C%2FSPAN%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%3EPurchase%20Azure%20Percept%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%3CBR%20%2F%3EAvailable%20to%20our%20customers%20%E2%80%93%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fwww.microsoft.com%252Fen-us%252Fstore%252Fbuild%252Fazure-precept%252F8v2qxmzbz9vc%26amp%3Bdata%3D04%257C01%257Camira.youssef%2540microsoft.com%257Cb2ecf8ca871640c3c39908d95a0efcaa%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637639842673847539%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3DQFg284NhQJMj8oVzt8fDgU88nbOtN6sbSFIWi4gs8pQ%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20nofollow%22%20data-auth%3D%22NotApplicable%22%20data-linkindex%3D%224%22%3E%3CSPAN%3EBuild%20your%20Azure%20Percept%3C%2FSPAN%3E%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2708359%22%20slang%3D%22en-US%22%3E%3CP%3ELearn%20how%20I%20deployed%20an%20analytics%20module%20on%20my%20Azure%20Percept%20DK%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22perceptTitleCoverImage.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307588i3F339D2BB2181FFC%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22perceptTitleCoverImage.png%22%20alt%3D%22perceptTitleCoverImage.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2708359%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20IoT%20Edge%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20IoT%20Hub%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20Percept%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20Stream%20Analytics%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIoT%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Sep 02 2021 10:20 AM
Updated by: