From ccf4ad1a415b72f37e40eafab787776b3b7683bc Mon Sep 17 00:00:00 2001 From: markusbloch <> Date: Mon, 20 May 2013 11:31:38 +0000 Subject: [PATCH] new mode "shellscript" (checked in with Rev 3067), documentation updates git-svn-id: https://svn.fhem.de/fhem/trunk@3200 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 2 ++ fhem/FHEM/73_PRESENCE.pm | 62 +++++++++++++++++++++++++++++++--------- 2 files changed, 50 insertions(+), 14 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 98c34e12c..628046883 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,7 @@ # Add changes at the top of the list. Keep it in ASCII - SVN + - feature: PRESENCE: new mode "shellscript" to use own + scripts or binaries for presence recognition - feature: YAMAHA_AVR: new set command to select scenes - feature: PRESENCE: new attribute ping_count - feature: userReadings may have a filter diff --git a/fhem/FHEM/73_PRESENCE.pm b/fhem/FHEM/73_PRESENCE.pm index be49f7282..71c8d954f 100755 --- a/fhem/FHEM/73_PRESENCE.pm +++ b/fhem/FHEM/73_PRESENCE.pm @@ -909,7 +909,8 @@ PRESENCE_ProcessAbortedScan($)
  • lan-ping - A presence check of a device via network ping in your LAN/WLAN
  • fritzbox - A presence check by requesting the device state from the FritzBox internals (only available when running FHEM on a FritzBox!)
  • local-bluetooth - A presence check by searching directly for a given bluetooth device nearby
  • -
  • function - A presence check by using your own perl function which returns a presence status
  • +
  • function - A presence check by using your own perl function which returns a presence state
  • +
  • shellscript - A presence check by using an self-written script or binary which returns a presence state
  • lan-bluetooth - A presence check of a bluetooth device via LAN network by connecting to a presenced or collectord instance


  • @@ -918,31 +919,48 @@ PRESENCE_ProcessAbortedScan($)