# Smart and BT pinger ## Support for Domoticz or Mqtt ## Installation General requirements: `fping bluez`. Requirements Domoticz communication: `curl`. Requirements mqtt communication: `mosquitto-clients`. Expected installation directory `/opt/Pinger`. Setup permissions using `chmod +x /opt/Pinger/bin/*`. ## Configuration Use 'AddPinger.sh' to setup the pinger. ## Enable Bluetooth on raspberry pi's running alpine linux Source: https://wiki.alpinelinux.org/wiki/Raspberry_Pi_3_-_Setting_Up_Bluetooth * By default the UART Bluetooth controller is not automatically discovered, enable it by uncommenting the line after `rpi bluetooth` in `/etc/mdev.conf`. * Enable the bluetooth service on boot `rc-update add bluetooth`. * Set `AutoEnable` to `true` under Policy in /etc/bluetooth/main.conf. * Then tun'lbu commit' and reboot.