Eddystone
The eddystone_temperature
sensor integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] reads temperature information from Bluetooth LE advertisements transmitted by Eddystone
Requirements
As this integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] uses bluez
to scan for Bluetooth LE devices a Linux OS with bluez installed is required. In addition to that, the libbluetooth
headers need to be installed:
sudo apt-get install libbluetooth-dev
Scanning for Bluetooth LE devices also requires special permissions. To grant these to the Python executable execute the following:
sudo apt-get install libcap2-bin
sudo setcap 'cap_net_raw,cap_net_admin+eip' $(readlink -f $(which python3))
To use your Eddystone beacon in your installation, add the following to your configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file.
After changing the configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file, restart Home Assistant to apply the changes. The integration is now shown on the integrations page under Settings > Devices & services. Its entities are listed on the integration card itself and on the Entities tab.
# Example configuration.yaml entry
sensor:
- platform: eddystone_temperature
bt_device_id: 0 # optional
beacons:
living_room:
namespace: "112233445566778899AA"
instance: "000000000001"
kitchen:
namespace: "112233445566778899AA"
instance: "000000000002"
Configuration Variables
The id of the Bluetooth device that should be used for scanning (hciX). You can find the correct one using hcitool dev
.
The beacons that should be monitored.
Name of the beacon.