*added missing changes
This commit is contained in:
@@ -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.
|
||||
@@ -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
|
||||
@@ -2,4 +2,4 @@
|
||||
DeviceName=''
|
||||
DeviceBTMac=''
|
||||
#Domoticz settings(Leave empty if using mqtt)
|
||||
DomoticzIDX=''
|
||||
DomoticzIDX=''
|
||||
@@ -10,4 +10,4 @@ command_user="root"
|
||||
|
||||
depend() {
|
||||
after net bluetooth
|
||||
}
|
||||
}
|
||||
@@ -3,4 +3,4 @@ DeviceName=''
|
||||
DeviceIP=''
|
||||
DeviceBTMac=''
|
||||
#Domoticz settings(Leave empty if using mqtt)
|
||||
DomoticzIDX=''
|
||||
DomoticzIDX=''
|
||||
@@ -10,4 +10,4 @@ command_user="root"
|
||||
|
||||
depend() {
|
||||
after net bluetooth
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user