1.8 KiB
title, description, ha_category, ha_iot_class, ha_release, ha_domain, ha_codeowners, ha_config_flow
title | description | ha_category | ha_iot_class | ha_release | ha_domain | ha_codeowners | ha_config_flow | ||
---|---|---|---|---|---|---|---|---|---|
Zerproc | Instructions for integrating Zerproc bluetooth lights within Home Assistant. |
|
Local Polling | 0.110 | zerproc |
|
true |
This integration discovers nearby Zerproc lights and adds them to Home Assistant.
Configuration
This integration can be configured using the integrations page in Home Assistant.
Menu: Configuration -> Integrations.
Click on the +
sign to add an integration and search for Zerproc.
The integration will scan for nearby devices, and is completed if any are found. No additional configuration is required. The integration will perform a BLE scan every 60 seconds to search for new devices.
Additional information for Home Assistant Core on Python environments
This integration requires pybluez
to be installed. On Debian based installs, run:
sudo apt install bluetooth
Before you get started with this integration, please note that:
- Requires access to the Bluetooth stack, see Rootless Setup section for further information
Rootless Setup
Normally accessing the Bluetooth stack is reserved for root
, but running programs that are networked as root
is a bad security wise. To allow non-root access to the Bluetooth stack we can give Python 3 and hcitool
the missing capabilities to access the Bluetooth stack. Quite like setting the setuid bit (see Stack Exchange for more information).
sudo apt-get install libcap2-bin
sudo setcap 'cap_net_raw,cap_net_admin+eip' `readlink -f \`which python3\``
sudo setcap 'cap_net_raw+ep' `readlink -f \`which hcitool\``
A restart of Home Assistant Core is required.