Blame | Last modification | View Log | Download
# Domoticz-Bluetooth-PresenceDomoticz plugin to detect if a given bluetooth MAC address is within reachTested with Python version 3.8, Domoticz version 2020.2## Prerequisites- Bluetooth MAC address of device to be used for presence detection;- Python 'bluetooth' (python3-bluez) library installed.## InstallationAssuming that domoticz directory is installed in your home directory.```bashcd ~/domoticz/pluginsgit clone https://github.com/mvdklip/Domoticz-Bluetooth-Presencesudo apt-get install python3-bluez# restart domoticz:sudo /etc/init.d/domoticz.sh restart```In the web UI, navigate to the Hardware page and add an entry of type "Bluetooth Presence".Make sure to (temporarily) enable 'Accept new Hardware Devices' in System Settings so that the plugin can add devices.Afterwards navigate to the Devices page and enable the newly created devices.## UpdatingLike other plugins, in the Domoticz-Bluetooth-Presence directory:```bashgit pullsudo /etc/init.d/domoticz.sh restart```## Parameters| Parameter | Value || :--- | :--- || **Bluetooth MAC Address** | Bluetooth MAC address of the device || **Cooldown in seconds** | Amount of time to pass before marking device as non-present || **Debug** | Configures debug logging |