Bluetooth device ping (l2ping) python plugin for Domoticz Plugin is based on Xorfor's MAC presence
please note the new version requiring 2 additional installations below (python3-bluez and pybluez)!!!
This Domoticz Python Plugin scans bluetooth for the existance of the specified bluetooth mac addresses.
You need the latest beta version of Domoticz for the best support of Python plugins and l2ping
to use this plagin. This tool can be installed by:
sudo apt-get install -y bluez
sudo pip3 install pybluez
sudo apt-get install -y python-bluez
sudo apt-get install -y python3-bluez
cd ~/domoticz/plugins
git clone https://github.com/heggink/domoticz-bluetooth-ping
# downloads the plugin into your plugins folder
# restart domoticz:
sudo service domoticz.sh restart
# from the domoticz interface: hardware -> add new hardware -> Bluetooth address presence
Parameter | Description |
---|---|
MAC address | Single bluetooth MAC address in de format xx:xx:xx:xx:xx:xx |
Minutes between check | Polling time in minutes to check for the presence of the specified mac addresses |
Minutes for timeout | Switch off the device when after this specified number of minutes, none of the mac addresses is found |
Name | Description |
---|---|
BTH device | A switch indicating whether one of the specified mac adresses was seen on the Domoticz network |