73 Commits

Author SHA1 Message Date
markusbloch
c40c699297 PRESENCE: fixing wrong presence state for mode lan-ping when device is unreachable
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5434 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-04-04 15:43:23 +00:00
markusbloch
d05245b818 PRESENCE: using usleep also in PRESENCE_ExecuteFritzBoxCMD() subroutine
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5198 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-03-10 23:01:01 +00:00
markusbloch
f12af1bca7 PRESENCE: use getlogin and getpwuid to obtain FHEM username; use usleep instead of sleep.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5188 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-03-10 16:58:36 +00:00
markusbloch
b347a761e2 PRESENCE: don't start a local scan in AttrFn before DefineFn has completed.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5031 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-02-23 21:41:47 +00:00
markusbloch
c0950c18ac PRESENCE: fixing present-check-interval to be equal like regular check-interval if it's not set
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4824 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-02-06 19:33:24 +00:00
markusbloch
15594be1e0 PRESENCE: fixing wrong binary check for ctlmgr_ctl
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4628 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-01-12 10:16:24 +00:00
markusbloch
ba1ee3ddcc PRESENCE: fixing wrong string operator
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4619 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-01-11 12:00:42 +00:00
markusbloch
e9c854010f PRESENCE: fixing user detection on FritzBox! , replacing tabulator with white spaces
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4614 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-01-10 21:26:50 +00:00
markusbloch
e69419b471 PRESENCE: adapting commandref to r4341
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4342 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-12-08 09:39:25 +00:00
markusbloch
04aff4864a PRESENCE: "statusRequest" command for lan-bluetooth mode
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4341 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-12-07 18:39:02 +00:00
markusbloch
3c96ed0630 PRESENCE: new collectord package
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4340 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-12-07 17:16:21 +00:00
markusbloch
fd32832668 PRESENCE: use "w" parameter when busybox ps is used in mode local-bluetooth
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4319 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-12-03 17:28:44 +00:00
markusbloch
f929347a64 PRESENCE: fixing nonworking initialization in mode "lan-bluetooth"; code cosmetics
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4205 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-11-11 20:42:10 +00:00
markusbloch
b312c8d32d PRESENCE: fixing not working re-initialization in mode lan-bluetooth
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4140 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-11-02 19:59:09 +00:00
markusbloch
9cce1d4d2f PRESENCE: added docu for check-interval and present-check-interval
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4120 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-10-27 16:55:51 +00:00
markusbloch
2d79300b35 PRESENCE: fixing function/shellscript definitions containing spaces
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4102 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-10-23 15:35:37 +00:00
markusbloch
3e920888d5 PRESENCE: new presenced/collectord .deb packages
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4023 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-10-08 19:03:41 +00:00
markusbloch
3a149de031 PRESENCE: using ping command line utility to check presence on Windows based machines.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3831 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-09-01 09:43:08 +00:00
markusbloch
b6cb8d222a PRESENCE: use windows ping command utility for ping checks
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3810 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-27 17:37:24 +00:00
markusbloch
7eb6b94459 PRESENCE: changing ping method for Windows systems to "tcp"
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3800 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-26 21:31:52 +00:00
markusbloch
3cc1817507 PRESENCE: remove loglevel attribute
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3749 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-19 17:05:20 +00:00
markusbloch
794b6ccfab PRESENCE: recognize execution failure of ping-check
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3736 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-18 11:54:05 +00:00
markusbloch
8d58f8cfcf removing deprecated GetLogLevel() and replace it with Log3()
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3723 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-17 11:32:09 +00:00
markusbloch
a78d9f5608 73_PRESENCE.pm: new presence deb package
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3703 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-15 10:10:15 +00:00
markusbloch
263ac0c06f FHEM/73_PRESENCE.pm: fixing a mistake in the commandref (thanks to Andrew for reporting)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3677 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-12 21:57:24 +00:00
markusbloch
2faef7a95b new collectord package
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3554 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-07-30 21:57:25 +00:00
markusbloch
e84824047c changing SVN url to new sf architecture, new presenced packages wich support "now" command for instant testing (module adaptions is on horizon)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3443 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-07-17 20:32:47 +00:00
markusbloch
c9c3dbfea1 optimizing disabled-attribute for some race conditions
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3433 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-07-15 22:09:18 +00:00
markusbloch
01d50a624b preventing dead lock of ctlmgr_ctl calls in case of killed thread
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3206 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-05-22 16:09:38 +00:00
markusbloch
dc9468c77d new mode "shellscript" (checked in with Rev 3067), documentation updates
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3200 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-05-20 11:31:38 +00:00
markusbloch
615f07086f preventing multiple ctlmgr_ctl calls in mode fritzbox
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3198 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-05-19 16:47:50 +00:00
markusbloch
2bc0a62c76 adding configurable ping count attribute
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3193 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-05-18 11:57:34 +00:00
markusbloch
2eee36163c minor logging optimizations for mode fritzbox
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3178 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-05-14 16:47:09 +00:00
markusbloch
69049d16f8 fixing not properly working redefines
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3125 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-04-27 11:52:32 +00:00
markusbloch
ad7e2f55c2 new mode "function"
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3079 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-04-16 16:27:27 +00:00
markusbloch
d1579a3c3b revert AbortFnArg to normal value, CHANGED-entries
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3073 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-04-14 22:07:27 +00:00
markusbloch
6158214d21 minor bugfixes for mode "function"
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3069 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-04-13 09:59:27 +00:00
markusbloch
0ad2a42d72 added new mode shellscript and function to use shell script calls and perl function calls
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3067 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-04-12 21:31:49 +00:00
markusbloch
57ac3aba89 fixing dead PRESENCE definitions after timeouts (using AbortFn from Blocking.pm)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3061 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-04-09 21:15:38 +00:00
markusbloch
305271c1e4 killing BlockingCall-Child in UndefFn
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3046 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-04-07 20:03:19 +00:00
markusbloch
98a6103655 increasing BlockinCall timeout
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2952 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-03-20 16:58:45 +00:00
markusbloch
912f865808 avoid "use of unitialized value" warning
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2944 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-03-17 20:14:09 +00:00
markusbloch
5a4cb841db exit SetFn when no argument is given
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2933 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-03-16 20:09:05 +00:00
markusbloch
60c23588e6 new collectord deb package
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2879 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-03-09 12:30:47 +00:00
markusbloch
afdab332ae added optional present-check-interval parameter to define a separate check interval if device is present
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2841 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-03-02 13:34:34 +00:00
markusbloch
0dc0e6400f adding support for repeater-networks to detect device which are connected via a repeater
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2839 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-03-01 22:19:58 +00:00
markusbloch
66497b10eb fixing non-root check; set state to disabled, when reconnecting to presenced/collectord and device is disabled
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2819 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-26 21:57:48 +00:00
markusbloch
b978df8489 refusing define when creating a lan-ping check on a FritzBox with FHEM running under a nonroot username
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2816 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-25 23:03:32 +00:00
markusbloch
e0786692a2 deleting cachednr on fritzbox mode if no device number can be found
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2815 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-25 22:27:48 +00:00
markusbloch
a52c167a99 make ping regexp less restrictive, added detailed debugging log for fritzbox-checks
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2814 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-25 22:21:44 +00:00