projects
/
openhab-process.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Добавлены скрипты для работы с разбитыми на фрагменты СМС
[openhab-process.git]
/
mqtt-bt
/
bt-proximity
diff --git
a/mqtt-bt/bt-proximity
b/mqtt-bt/bt-proximity
index bfbbfdbee5360554f28487f5da8d06cf0362f642..c2c85d4f696f46afa355b05a242fb51519dced38 100755
(executable)
--- a/
mqtt-bt/bt-proximity
+++ b/
mqtt-bt/bt-proximity
@@
-15,6
+15,7
@@
do
if [ "$?" = "0" ]
then
mosquitto_pub -h $mqtt_host -p $mqtt_port -u $mqtt_user -P $mqtt_passwd -t $mqtt_topic/$user -m $host
if [ "$?" = "0" ]
then
mosquitto_pub -h $mqtt_host -p $mqtt_port -u $mqtt_user -P $mqtt_passwd -t $mqtt_topic/$user -m $host
+ logger -t bt-proximity "$mac ($user) detected by $host"
fi
fi
fi
fi