File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ ESPHome-specific components or components supporting ESPHome device provisioning
123
123
"ESP32 BLE Server","components/esp32_ble_server","bluetooth.svg","dark-invert"
124
124
"Bluetooth Proxy","components/bluetooth_proxy","bluetooth.svg","dark-invert"
125
125
"Improv via BLE","components/esp32_improv","improv.svg","dark-invert"
126
+ "Nordic UART Service (NUS)","components/ble_nus","uart.svg",""
126
127
{{< /imgtable >}}
127
128
128
129
## Management and Monitoring
Original file line number Diff line number Diff line change
1
+ ---
2
+ description : " Nordic UART Service (NUS)"
3
+ title : " Nordic UART Service (NUS)"
4
+ params :
5
+ seo :
6
+ description : BLE UART support using Nordic UART Service (NUS) for ESPHome logging and communication.
7
+ image : uart.svg
8
+ ---
9
+
10
+ The BLE NUS component provides a Bluetooth Low Energy UART interface based on the Nordic UART Service.
11
+ It can be used to stream logs or enable custom bidirectional communication with ESPHome.
12
+
13
+ ``` yaml
14
+ # Example configuration entry
15
+ ble_nus :
16
+ type : logs
17
+ ` ` `
18
+
19
+ ## Configuration variables
20
+
21
+ - **type** (**Required**, string): Mode of operation. Must be set to ` ` logs` ` to stream ESPHome logs over the BLE UART.
22
+
23
+ ## Usage
24
+
25
+ To connect and view logs from the device over BLE:
26
+
27
+ ` ` ` bash
28
+ esphome logs d.yaml --device BLE
29
+ ```
30
+
31
+ Or connect to a specific BLE address:
32
+
33
+ ``` bash
34
+ esphome logs d.yaml --device 00:11:22:33:44:55
35
+ ```
36
+
37
+ ## See Also
38
+
39
+ - Nordic UART Service < https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/bluetooth/services/nus.html >
You can’t perform that action at this time.
0 commit comments