Skip to content

Commit aa52b36

Browse files
authored
Merge pull request #109465 from uhabiba04/master
updated as per microsoft doc standards
2 parents 8d52b47 + 3ff477e commit aa52b36

File tree

1 file changed

+28
-25
lines changed

1 file changed

+28
-25
lines changed

articles/industry/agriculture/get-sensor-data-from-sensor-partner.md

Lines changed: 28 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -32,51 +32,53 @@ After you start the streaming of sensor data, you can begin the process of getti
3232
- Client secret
3333
- EventHub connection string
3434

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.
3640
3741
1. Sign in to https://portal.azure.com/.
3842

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.
4044

41-
2a. Go to Azure Active Directory -> App Registrations
45+
a. Go to **Azure Active Directory** > **App Registrations**
4246

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.
4448

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:
4650

4751
3. Open Cloud Shell. This option is available on the toolbar in the upper-right corner of the Azure portal.
4852

4953
![Azure portal toolbar](./media/get-drone-imagery-from-drone-partner/navigation-bar-1.png)
5054

51-
5. Make sure the environment is set to **PowerShell**. By default, it's set to Bash.
55+
4. Ensure the environment is set to **PowerShell**. By default, it's set to Bash.
5256

5357
![PowerShell toolbar setting](./media/get-sensor-data-from-sensor-partner/power-shell-new-1.png)
5458

55-
6. Go to your home directory.
56-
57-
```azurepowershell-interactive 
59+
5. Go to your home directory.
5860

61+
```azurepowershell-interactive 
5962
cd
60-
6163
```
6264
63-
7. Run the following command. This will download a script to your home directory.
65+
6. Run the following command. This will download a script to your home directory.
6466
6567
```azurepowershell-interactive 
6668
67-
wget –q https://aka.ms/farmbeatspartnerscriptv3 -O ./generatePartnerCredentials.ps1
69+
wget –q https://aka.ms/farmbeatspartnerscriptv3 -O ./generatePartnerCredentials.ps1
6870
6971
```
7072
71-
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.
7274
7375
```azurepowershell-interactive 
7476
7577
./generatePartnerCredentials.ps1
7678
7779
```
7880
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**.
8082
8183
### Integrate device data by using the generated credentials
8284
@@ -86,16 +88,16 @@ Now you have the following information generated from the previous section.
8688
- Client ID
8789
- Client secret
8890
- 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:
9191
92-
[Davis Instruments](https://weatherlink.github.io/azure-farmbeats/setup)
92+
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:
93+
94+
1. [Davis Instruments](https://weatherlink.github.io/azure-farmbeats/setup)
9395
94-
[Teralytic](https://app.teralytic.com/)
96+
2. [Teralytic](https://app.teralytic.com/)
9597
96-
[Pessl Instruments](https://ng.fieldclimate.com/user-api-services)
98+
3. [Pessl Instruments](https://ng.fieldclimate.com/user-api-services)
9799
98-
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.
99101
100102
## View devices and sensors
101103
@@ -108,7 +110,7 @@ Currently, FarmBeats supports the following devices:
108110
- **Node**: A device to which one or more sensors are attached.
109111
- **Gateway**: A device to which one or more nodes are attached.
110112
111-
Follow these steps.
113+
Follow these steps:
112114
113115
1. On the home page, select **Devices** from the menu.
114116
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.
118120
119121
### View sensors
120122
121-
Follow these steps.
123+
Follow these steps:
122124
123125
1. On the home page, select **Sensors** from the menu.
124126
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
142144
![Associate Devices window](./media/get-sensor-data-from-sensor-partner/associate-devices-1.png)
143145
144146
6. To associate each device to a different farm, select the drop-down arrow in the **Assign to Farm** column, and select a farm for each device row.
147+
145148
7. Select **Assign** to complete the device assignment.
146149
147150
### Visualize sensor data
148151
149-
Follow these steps.
152+
Follow these steps:
150153
151154
1. On the home page, select **Farms** from the menu to view the **Farms** page.
152155
2. Select the **Farm** for which you want to see the sensor data.
@@ -156,7 +159,7 @@ Follow these steps.
156159
157160
## Delete a sensor
158161
159-
Follow these steps.
162+
Follow these steps:
160163
161164
1. On the home page, select **Sensors** from the menu to view the **Sensors** page.
162165
2. Select the device you want to delete, and select **Delete** in the confirmation window.
@@ -167,7 +170,7 @@ A confirmation message shows that the sensor is successfully deleted.
167170
168171
## Delete devices
169172
170-
Follow these steps.
173+
Follow these steps:
171174
172175
1. On the home page, select **Devices** from the menu to view the **Devices** page.
173176
2. Select the device you want to delete, and select **Delete** in the confirmation window.

0 commit comments

Comments
 (0)