Files
Pinger/README.md
Bram Prieshof fce2222628 Updated readme and fixed SmartPing.sh
Removed unset command for parameter, since this broke the script
2022-08-02 01:48:15 +02:00

21 lines
892 B
Markdown

# 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/*`
Add Pinger to lbu using `lbu include /opt/Pinger`
## 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 run `lbu commit` and reboot.