Skip to content

Commit 6e3ec95

Browse files
committed
merge
1 parent 489fe34 commit 6e3ec95

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

content/components/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ ESPHome-specific components or components supporting ESPHome device provisioning
123123
"ESP32 BLE Server","components/esp32_ble_server","bluetooth.svg","dark-invert"
124124
"Bluetooth Proxy","components/bluetooth_proxy","bluetooth.svg","dark-invert"
125125
"Improv via BLE","components/esp32_improv","improv.svg","dark-invert"
126+
"Nordic UART Service (NUS)","components/ble_nus","uart.svg",""
126127
{{< /imgtable >}}
127128

128129
## Management and Monitoring

content/components/ble_nus.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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>

0 commit comments

Comments
 (0)