56 Commits

Author SHA1 Message Date
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
markusbloch
ff9c9a85f8 resetting $number count before entering while loop (in case of invalid cached number)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2813 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-25 21:41:13 +00:00
markusbloch
b1dde6afa2 fixing not recognizing hcitool binary path, adding debug log commands
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2778 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-20 22:04:57 +00:00
markusbloch
b7ac61cbca fixing missing right bracket; starting DevIo only if in right mode
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2760 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-18 19:58:06 +00:00
markusbloch
4ea70637ae moving cachednr deletion from ReadyFn to DefineFn as ReadyFn is not called in fritzbox mode
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2758 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-18 17:53:37 +00:00
markusbloch
134fc99034 caching the device number at fritzbox checks for better performance (by erwin with minor modifications)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2757 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-18 17:49:27 +00:00
markusbloch
4e177bcff8 deleting Get-Fn definition, as no Get function exists
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2725 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-14 19:31:23 +00:00
markusbloch
e3f33076ab adding statusRequest command, minor improvements in "disabled"-handling
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2721 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-13 22:50:26 +00:00
markusbloch
b86e98f99f fixing dead PRESENCE devices in case of a broken network connection when disabled
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2720 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-13 22:02:53 +00:00
markusbloch
7266dba460 don't wait for $init_done
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2710 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-12 17:40:35 +00:00
markusbloch
7b3a5ee04b preventing multiple timer loops in case of a redefine
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2675 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-09 12:51:24 +00:00
markusbloch
0261de386f PRESENCE_Define honours the disable attribute
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2674 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-09 12:44:20 +00:00
markusbloch
7e0affffeb add cygwin as windows specific behaviour
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2673 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-09 12:38:05 +00:00
markusbloch
b527b435c4 better support for ping under a non-root account
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2659 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-07 22:08:38 +00:00
markusbloch
7343083a0e increase the sleep timer for FritzBox checks
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2658 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-07 21:26:01 +00:00
markusbloch
66aa780273 avoid high cpu usage on FritzBox
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2650 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-05 17:32:46 +00:00
markusbloch
a84092cbed full german documentation, minor docu fixes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2642 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-03 14:22:22 +00:00
markusbloch
c19f7ab525 use explicit icmp ping (fixing Ping on FritzBox)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2641 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-03 12:34:18 +00:00