From 4e4275b17bf6f22da01a6f01c0d61a1ec6763c29 Mon Sep 17 00:00:00 2001
From: markusbloch <>
Date: Mon, 29 Jan 2018 14:58:54 +0000
Subject: [PATCH] PRESENCE/collectord: new collectord deb package including
RSSI based room detection (Forum: #54482), ping command (Forum: #83477),
systemd unit file
git-svn-id: https://svn.fhem.de/fhem/trunk@16036 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/CHANGED | 3 +++
fhem/FHEM/73_PRESENCE.pm | 4 ++--
fhem/contrib/PRESENCE/deb/collectord-1.8.deb | Bin 0 -> 10916 bytes
3 files changed, 5 insertions(+), 2 deletions(-)
create mode 100644 fhem/contrib/PRESENCE/deb/collectord-1.8.deb
diff --git a/fhem/CHANGED b/fhem/CHANGED
index f58a026e2..5c8f2d8fe 100644
--- a/fhem/CHANGED
+++ b/fhem/CHANGED
@@ -1,5 +1,8 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
+ - feature: 73_PRESENCE: new collectord package (RSSI based room selection
+ for BTLE devices (lepresenced), ping command for
+ daemon monitoring, systemd service unit
- bugfix: 93_DbLog: use of uninitialized value $txt if addlog has no value
- feature: 33_readingsGroup: added german commandref (by HomeAuto_User)
- feature: 10_pilight_ctrl: support bh1750 illuminance sensor
diff --git a/fhem/FHEM/73_PRESENCE.pm b/fhem/FHEM/73_PRESENCE.pm
index 8fd1b34d8..554694e83 100755
--- a/fhem/FHEM/73_PRESENCE.pm
+++ b/fhem/FHEM/73_PRESENCE.pm
@@ -1616,7 +1616,7 @@ Options:
@@ -1945,7 +1945,7 @@ Options:
diff --git a/fhem/contrib/PRESENCE/deb/collectord-1.8.deb b/fhem/contrib/PRESENCE/deb/collectord-1.8.deb
new file mode 100644
index 0000000000000000000000000000000000000000..37eba122781219a3f9d53ecaac48621e2484bffe
GIT binary patch
literal 10916
zcmai)Q*b2!v#ob*+nLz5Z5tDNVkbMcZD(RTnb@{%+vfSt)zhsytGl|YyK7bT)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