Nordic UART Service (NUS)

The BLE NUS component provides a Bluetooth Low Energy UART interface based on the Nordic UART Service. It can be used to stream logs or enable custom bidirectional communication with ESPHome.

# Example configuration entry
ble_nus:
  type: logs

Configuration variables

  • type (Required, string): Mode of operation. Must be set to logs to stream ESPHome logs over the BLE UART.

Usage

To connect and view logs from the device over BLE:

esphome logs d.yaml --device BLE

Or connect to a specific BLE address:

esphome logs d.yaml --device 00:11:22:33:44:55

See Also