This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

Bluetooth: BTHome sensor template

Template for a BTHome sensor.

Requirements

  • A board with BLE support

  • A BTHome compatible listener, for example Home Assistant with the BTHome integration running.

Building and Running

This sample can be found under samples/bluetooth/bthome_sensor_template in the Zephyr tree.

See bluetooth samples section for details.

When the sample is running, navigate to Devices & Services under settings in Home Assistant. There you will be asked to configure the BTHome sensor if everything went well.