Inital commit

This commit is contained in:
2021-12-11 18:47:29 +01:00
commit abbd005e8a
10 changed files with 331 additions and 0 deletions

20
README.md Normal file
View File

@@ -0,0 +1,20 @@
# 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.