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: content/hardware/03.nano/boards/nano-matter/tutorials/user-manual/content.md
+14-12Lines changed: 14 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -620,19 +620,19 @@ The main code functions are explained bellow:
620
620
- The microcontroller internal temperature is measured with the function `getCPUTemp();`.
621
621
- The temperature value is advertized using the `matter_temp_sensor.set_measured_value_celsius(current_cpu_temp);` function.
622
622
623
-
After uploading the code to the Nano Matter, verify it is decommissioned from any other service previously used. For this, open the Serial Monitor and reset the board.
623
+
After uploading the code to the Nano Matter, verify it is decommissioned from any other service previously used. For this, open the Serial Monitor and reset the board by clicking on the reset button
624
624
625
-
If it is not decommissioned you will see temperature readings printed in the Serial Monitor. To decommission it follow these steps:
625
+
If it is not decommissioned you will see temperature readings printed in the Serial Monitor. To decommission it, follow these steps:
626
626
627
-
- Press the user button for 10 seconds until the board's built-in LED starts blinking in red. You will also see a message confirming the process in the Serial Monitor.
627
+
- Press the user button for **10 seconds** until the board's built-in LED starts **blinking in red**. You will also see a message confirming the process in the Serial Monitor.
628
628
629
-
- Finally, reset the board and you should see the Matter commissioning credentials in the Serial Monitor.
629
+
- Finally, reset the board by clicking on the reset button and you should see the Matter commissioning credentials in the Serial Monitor.
630
630
631
631
### Device Commissioning
632
632
633
-
Now it is time to commission the Nano Matter with Home Assistant, for this follow the steps explained in this [section](#with-home-assistant).
633
+
Now it is time to commission the Nano Matter with Home Assistant, for this, follow the steps explained in this [section](#with-home-assistant).
634
634
635
-
Once you have everything set up and running you will be able to monitor the Nano Matter temperature locally in Home Assistant:
635
+
Once you have everything set up and running you will be able to monitor the Nano Matter temperature in Home Assistant:
636
636
637
637

638
638
@@ -644,7 +644,7 @@ Log in to your Arduino Cloud account; you should see the following:
Navigate to **Things** in the left bar menu and click on **+ Thing**:
647
+
Navigate to **Things** in the left bar menu and click on **+ Thing** to add a Thing:
648
648
649
649

650
650
@@ -673,19 +673,21 @@ In the left bar menu, navigate to **Space Settings** and copy the **Space ID**,
673
673
674
674

675
675
676
+
***If you can't see the _Space Settings_ section is because you are using an Arduino Cloud free plan, check the [plans](https://cloud.arduino.cc/plans) with the API feature enabled.***
677
+
676
678
At this point you should have three IDs related to your project:
677
679
678
680
- Variable ID
679
681
- Thing ID
680
682
- Space ID
681
683
682
-
To properly authenticate the requests we are going to use to upload the data to Arduino Cloud we need to create **API Keys**.
684
+
To properly authenticate the requests we are going to use to upload the data to the Arduino Cloud we need to create **API Keys**.
683
685
684
686
For this, navigate to **API Keys** in the upper left corner drop-down menu and click on **Create API Key**:
685
687
686
688

687
689
688
-
You should get a **Client ID** and a **Client Secret**. Save these credentials in a safe place so you will not be able to see them again.
690
+
You should get a **Client ID** and a **Client Secret**. Save these credentials in a safe place, you will not be able to see them again.
689
691
690
692
### Home Assistant Set-Up
691
693
@@ -722,7 +724,7 @@ rest:
722
724
json_attributes:
723
725
- 'access_token'
724
726
```
725
-
The [RESTful integration](https://www.home-assistant.io/integrations/rest/) lets us periodically gather from our Arduino Cloud account a **token** that is mandatory to authenticate our requests. This token expires every 5 minutes, this is why we generate it every 4 minutes. The token is stored in a Sensor attribute called **API_Token_Bearer**.
727
+
The [RESTful integration](https://www.home-assistant.io/integrations/rest/) lets us periodically gather from our Arduino Cloud account a **token** that is mandatory to authenticate our requests. This token expires every 5 minutes, this is why we generate it every 4 minutes. The token is stored in a sensor attribute called **API_Token_Bearer**.
726
728
727
729
```
728
730
rest_command:
@@ -748,13 +750,13 @@ For the changes to take effect, navigate to **Developers Tools** and click on **
748
750
749
751

750
752
751
-
Finally, let's set up the automation that will call the send_temperature service every time the temperature sensor values change.
753
+
Finally, let's set up the automation that will call the **send_temperature** service every time the temperature sensor values change.
752
754
753
755
For this, navigate to **Settings > Automations & scenes** and click on **Create Automation**.
0 commit comments