You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/industry/agriculture/get-sensor-data-from-sensor-partner.md
+28-25Lines changed: 28 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,51 +32,53 @@ After you start the streaming of sensor data, you can begin the process of getti
32
32
- Client secret
33
33
- EventHub connection string
34
34
35
-
You can generate the above information by following these steps: (Please note these steps are required to be done on Azure so you will need access to the Azure subscription where FarmBeats is deployed)
35
+
Follow the below steps to generate the above information:
36
+
37
+
> [!NOTE]
38
+
> These steps are required to be completed on Azure to access the Azure
39
+
> subscription where FarmBeats is deployed.
36
40
37
41
1. Sign in to https://portal.azure.com/.
38
42
39
-
2.**If you are on FarmBeats version 1.2.7 or later, please skip steps 2a, 2b and 2c, and go to step 3.**. You can check FarmBeats version by clicking on the Settings icon on the top-right side of the FarmBeats UI.
43
+
2.**If you are on FarmBeats version 1.2.7 or later, skip steps a, b and c, and go to step 3.** You can check FarmBeats version by selecting the **Settings** icon on the top-right corner of the FarmBeats UI.
40
44
41
-
2a. Go to Azure Active Directory -> App Registrations
45
+
a. Go to **Azure Active Directory** > **App Registrations**
42
46
43
-
2b. Click on the App Registration that was created as part of your FarmBeats deployment. It will have the same name as your FarmBeats data hub.
47
+
b. Select the **App Registration** that was created as part of your FarmBeats deployment. It will have the same name as your FarmBeats datahub.
44
48
45
-
2c. Click on “Expose an API” -> Click “Add a client application” and enter **04b07795-8ddb-461a-bbee-02f9e1bf7b46** and check "Authorize Scope". This will give access to the Azure CLI (Cloud Shell) to perform the below steps.
49
+
c. Select **Expose an API** > select **Add a client application** and enter **04b07795-8ddb-461a-bbee-02f9e1bf7b46** and check **Authorize Scope**. This will give access to the Azure CLI (Cloud Shell) to perform the below steps:
46
50
47
51
3. Open Cloud Shell. This option is available on the toolbar in the upper-right corner of the Azure portal.
8. Run the following script. The script asks for the Tenant ID which can be obtained from Azure Active Directory -> Overview page.
73
+
7. Run the following script. The script asks for the Tenant ID, which can be obtained from **Azure Active Directory** > **Overview** page.
72
74
73
75
```azurepowershell-interactive
74
76
75
77
./generatePartnerCredentials.ps1
76
78
77
79
```
78
80
79
-
9. Follow the onscreen instructions to capture the values for **API Endpoint**, **Tenant ID**, **Client ID**, **Client Secret**, and **EventHub Connection String**.
81
+
8. Follow the onscreen instructions to capture the values for **API Endpoint**, **Tenant ID**, **Client ID**, **Client Secret**, and **EventHub Connection String**.
80
82
81
83
### Integrate device data by using the generated credentials
82
84
@@ -86,16 +88,16 @@ Now you have the following information generated from the previous section.
86
88
- Client ID
87
89
- Client secret
88
90
- Tenant ID
89
-
90
-
You will need to provide this to your device partner for linking FarmBeats. Go to the device partner portal for doing the same. For example, in case you are using devices from Davis Instruments, Teralytic or Pessl Instruments (Metos.at) please go to the corresponding pages as mentioned below:
You will need to provide this to your device partner for linking FarmBeats. Go to the device partner portal for doing the same. For example, in case you are using devices from Davis Instruments, Teralytic or Pessl Instruments (Metos.at) go to the corresponding pages as mentioned below:
The device provider confirms a successful integration. Upon confirmation, you can view all the devices and sensors on Azure FarmBeats.
100
+
The device provider confirms a successful integration. Upon confirmation, you can view all the devices and sensors on Azure FarmBeats.
99
101
100
102
## View devices and sensors
101
103
@@ -108,7 +110,7 @@ Currently, FarmBeats supports the following devices:
108
110
- **Node**: A device to which one or more sensors are attached.
109
111
- **Gateway**: A device to which one or more nodes are attached.
110
112
111
-
Follow these steps.
113
+
Follow these steps:
112
114
113
115
1. On the home page, select **Devices** from the menu.
114
116
The **Devices** page displays the device type, model, status, the farm it's placed in, and the last updated date for metadata. By default, the farm column is set to *NULL*. You can choose to assign a device to a farm. For more information, see [Assign devices](#assign-devices).
@@ -118,7 +120,7 @@ Follow these steps.
118
120
119
121
### View sensors
120
122
121
-
Follow these steps.
123
+
Follow these steps:
122
124
123
125
1. On the home page, select **Sensors** from the menu.
124
126
The **Sensors** page displays details about the type of sensor, the farm it's connected to, parent device, port name, port type, and the last updated status.
@@ -142,11 +144,12 @@ After the sensor data is flowing in, you can assign it to the farm where you dep
0 commit comments