diff --git a/README.md b/README.md index e0fa9b1..f999c41 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,11 @@ 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/*`. +Setup permissions using `chmod +x /opt/Pinger/bin/*`.A +Add Pinger to lbu using `lbu include /opt/Pinger` ## Configuration -Use 'AddPinger.sh' to setup the pinger. +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 @@ -17,4 +18,4 @@ Source: https://wiki.alpinelinux.org/wiki/Raspberry_Pi_3_-_Setting_Up_Bluetooth 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. +* Then run'lbu commit' and reboot. \ No newline at end of file diff --git a/config/Pinger.cfg b/config/Pinger.cfg index 178b301..dbc9a9e 100644 --- a/config/Pinger.cfg +++ b/config/Pinger.cfg @@ -18,4 +18,4 @@ MqttOfflineMsg="not_home" DomoticzAddr='127.0.0.1:8080' ##Uncomment/Comment to Enable/Disable logging -#LogFile=/opt/out.log +#LogFile=/opt/out.log \ No newline at end of file diff --git a/templates/BtPing.cfg.template b/templates/BtPing.cfg.template index d819a48..622f884 100644 --- a/templates/BtPing.cfg.template +++ b/templates/BtPing.cfg.template @@ -2,4 +2,4 @@ DeviceName='' DeviceBTMac='' #Domoticz settings(Leave empty if using mqtt) -DomoticzIDX='' +DomoticzIDX='' \ No newline at end of file diff --git a/templates/BtPing.service.template b/templates/BtPing.service.template index 9c16113..f794010 100644 --- a/templates/BtPing.service.template +++ b/templates/BtPing.service.template @@ -10,4 +10,4 @@ command_user="root" depend() { after net bluetooth -} +} \ No newline at end of file diff --git a/templates/SmartPing.cfg.template b/templates/SmartPing.cfg.template index 69b4a50..5f31d35 100644 --- a/templates/SmartPing.cfg.template +++ b/templates/SmartPing.cfg.template @@ -3,4 +3,4 @@ DeviceName='' DeviceIP='' DeviceBTMac='' #Domoticz settings(Leave empty if using mqtt) -DomoticzIDX='' +DomoticzIDX='' \ No newline at end of file diff --git a/templates/SmartPing.service.template b/templates/SmartPing.service.template index 8bade43..553304d 100644 --- a/templates/SmartPing.service.template +++ b/templates/SmartPing.service.template @@ -10,4 +10,4 @@ command_user="root" depend() { after net bluetooth -} +} \ No newline at end of file