#Linux Scripte zur Bluetooth Anwesenheits Erkennung auf (mehreren) Raspberry Linux Clients für IP-Symcon. #Aktualisierung einer Bool-Variable in Symcon bei Statusänderung (per JSONRPC-API). #0. Vorraussetzungen # - Bluetooth (Stick bei Raspberry2) # - apt install bluez bluez-hcidump sudo #1. Download, entpacken wget https://www.flurweg.net/files/linux/symcon/symcon-bluetooth-presence-202102.zip unzip symcon-bluetooth-presence-202102.zip -d / #2. Berechtigungen setzen chmod +x /usr/local/bin/bp.sh /etc/bp/bluetooth-presence* #3. Konfigurationsdateien für Benutzer (*.conf) erstellen # Hier sind Name, Mac-Adresse und Symcon-Daten einzutragen! nano /etc/bp/simon.conf #4. Startscript anpassen (Parameter!) nano /etc/bp/bluetooth-presence #5. systemd daemon aktivieren, starten und status betrachten systemctl enable bluetooth-presence.service systemctl start bluetooth-presence.service systemctl status bluetooth-presence.service