Skip to content

Commit 74c2226

Browse files
committed
updated as per microsoft doc standards
1 parent c8d3062 commit 74c2226

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed

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

Lines changed: 20 additions & 18 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] These steps are required to be completed on Azure to access the Azure subscription where FarmBeats is deployed.
3638
3739
1. Sign in to https://portal.azure.com/.
3840

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.
41+
2. **If you are on FarmBeats version 1.2.7 or later, skip steps 2a, 2b and 2c, and go to step 3.** You can check FarmBeats version by selecting the **Settings** icon on the top-right corner of the FarmBeats UI.
4042

41-
2a. Go to Azure Active Directory -> App Registrations
43+
2a. Go to **Azure Active Directory** > **App Registrations**
4244

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.
45+
2b. Select the **App Registration** that was created as part of your FarmBeats deployment. It will have the same name as your FarmBeats datahub.
4446

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.
47+
2c. 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:
4648

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

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

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

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

55-
6. Go to your home directory.
57+
5. Go to your home directory.
5658

5759
```azurepowershell-interactive 
5860
5961
cd
6062
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,8 +88,8 @@ 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:
91+
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:
9193
9294
[Davis Instruments](https://weatherlink.github.io/azure-farmbeats/setup)
9395
@@ -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.
@@ -146,7 +148,7 @@ After the sensor data is flowing in, you can assign it to the farm where you dep
146148
147149
### Visualize sensor data
148150
149-
Follow these steps.
151+
Follow these steps:
150152
151153
1. On the home page, select **Farms** from the menu to view the **Farms** page.
152154
2. Select the **Farm** for which you want to see the sensor data.
@@ -156,7 +158,7 @@ Follow these steps.
156158
157159
## Delete a sensor
158160
159-
Follow these steps.
161+
Follow these steps:
160162
161163
1. On the home page, select **Sensors** from the menu to view the **Sensors** page.
162164
2. Select the device you want to delete, and select **Delete** in the confirmation window.
@@ -167,7 +169,7 @@ A confirmation message shows that the sensor is successfully deleted.
167169
168170
## Delete devices
169171
170-
Follow these steps.
172+
Follow these steps:
171173
172174
1. On the home page, select **Devices** from the menu to view the **Devices** page.
173175
2. Select the device you want to delete, and select **Delete** in the confirmation window.

0 commit comments

Comments
 (0)