2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-25 16:05:19 +00:00

82 Commits

Author SHA1 Message Date
markusbloch
6038d6881e PRESENCE: fixing race condition of failed re-init after removed disabled attribute
git-svn-id: https://svn.fhem.de/fhem/trunk@6950 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-11-11 21:09:42 +00:00
markusbloch
2d2671c499 PRESENCE: rerouting STDERR to STDOUT for ping; use char class instead of case-in-sensitive regexp (Forum #27558)
git-svn-id: https://svn.fhem.de/fhem/trunk@6706 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-10-07 21:24:25 +00:00
markusbloch
e72398b5e4 PRESENCE: try to fix flapping active state (Forum #27255)
git-svn-id: https://svn.fhem.de/fhem/trunk@6621 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-09-26 15:11:20 +00:00
markusbloch
3890d58b53 PRESENCE:
- fixing presence detection in mode fritzbox with new Fritz!OS 6.20 (by Markus M.)
- mode fritzbox supports MAC address (by Markus M.)
- fixing not working internal timer in case of a statusRequest when device is disabled
- minor fixes and docu changes


git-svn-id: https://svn.fhem.de/fhem/trunk@6570 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-09-19 10:20:15 +00:00
markusbloch
235abff138 PRESENCE: new state event "error" and "disabled"; minor log improvements
git-svn-id: https://svn.fhem.de/fhem/trunk@6341 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-08-01 21:56:21 +00:00
markusbloch
25a506c4b0 PRESENCE: harmonize log output
git-svn-id: https://svn.fhem.de/fhem/trunk@6340 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-08-01 21:24:14 +00:00
markusbloch
f33cf9f2e9 PRESENCE: using AnalyzeCommandChain for new "power" set command instead of perl eval
git-svn-id: https://svn.fhem.de/fhem/trunk@6255 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-07-14 20:58:50 +00:00
markusbloch
b81350479b PRESENCE: fixing minor mistakes in german commandref
git-svn-id: https://svn.fhem.de/fhem/trunk@6246 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-07-12 22:05:31 +00:00
markusbloch
2de57d75af PRESENCE: add new set command "powerOn" to startup the device via ppowerOnFn given by attribute "powerOnFn"
git-svn-id: https://svn.fhem.de/fhem/trunk@6245 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-07-12 22:00:35 +00:00
markusbloch
0138e6a85e PRESENCE: fixing wrong presence state for mode lan-ping when device is unreachable
git-svn-id: https://svn.fhem.de/fhem/trunk@5434 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-04-04 15:43:23 +00:00
markusbloch
c43a4f6148 PRESENCE: using usleep also in PRESENCE_ExecuteFritzBoxCMD() subroutine
git-svn-id: https://svn.fhem.de/fhem/trunk@5198 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-03-10 23:01:01 +00:00
markusbloch
ece3afa80f PRESENCE: use getlogin and getpwuid to obtain FHEM username; use usleep instead of sleep.
git-svn-id: https://svn.fhem.de/fhem/trunk@5188 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-03-10 16:58:36 +00:00
markusbloch
790af1413f PRESENCE: don't start a local scan in AttrFn before DefineFn has completed.
git-svn-id: https://svn.fhem.de/fhem/trunk@5031 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-02-23 21:41:47 +00:00
markusbloch
aada9bb24f 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@4824 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-02-06 19:33:24 +00:00
markusbloch
ac2bb76f8f PRESENCE: fixing wrong binary check for ctlmgr_ctl
git-svn-id: https://svn.fhem.de/fhem/trunk@4628 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-01-12 10:16:24 +00:00
markusbloch
b07d0963c5 PRESENCE: fixing wrong string operator
git-svn-id: https://svn.fhem.de/fhem/trunk@4619 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-01-11 12:00:42 +00:00
markusbloch
b71aa02461 PRESENCE: fixing user detection on FritzBox! , replacing tabulator with white spaces
git-svn-id: https://svn.fhem.de/fhem/trunk@4614 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-01-10 21:26:50 +00:00
markusbloch
00b1bcbf96 PRESENCE: adapting commandref to r4341
git-svn-id: https://svn.fhem.de/fhem/trunk@4342 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-12-08 09:39:25 +00:00
markusbloch
50308f0c17 PRESENCE: "statusRequest" command for lan-bluetooth mode
git-svn-id: https://svn.fhem.de/fhem/trunk@4341 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-12-07 18:39:02 +00:00
markusbloch
ad1fc6793b PRESENCE: new collectord package
git-svn-id: https://svn.fhem.de/fhem/trunk@4340 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-12-07 17:16:21 +00:00
markusbloch
c8b0d369b8 PRESENCE: use "w" parameter when busybox ps is used in mode local-bluetooth
git-svn-id: https://svn.fhem.de/fhem/trunk@4319 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-12-03 17:28:44 +00:00
markusbloch
0dfb996479 PRESENCE: fixing nonworking initialization in mode "lan-bluetooth"; code cosmetics
git-svn-id: https://svn.fhem.de/fhem/trunk@4205 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-11-11 20:42:10 +00:00
markusbloch
deaf457106 PRESENCE: fixing not working re-initialization in mode lan-bluetooth
git-svn-id: https://svn.fhem.de/fhem/trunk@4140 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-11-02 19:59:09 +00:00
markusbloch
6a008df549 PRESENCE: added docu for check-interval and present-check-interval
git-svn-id: https://svn.fhem.de/fhem/trunk@4120 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-10-27 16:55:51 +00:00
markusbloch
ad44a9971f PRESENCE: fixing function/shellscript definitions containing spaces
git-svn-id: https://svn.fhem.de/fhem/trunk@4102 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-10-23 15:35:37 +00:00
markusbloch
56d5e2736d PRESENCE: new presenced/collectord .deb packages
git-svn-id: https://svn.fhem.de/fhem/trunk@4023 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-10-08 19:03:41 +00:00
markusbloch
f63eaed48d PRESENCE: using ping command line utility to check presence on Windows based machines.
git-svn-id: https://svn.fhem.de/fhem/trunk@3831 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-09-01 09:43:08 +00:00
markusbloch
bab329c2ae PRESENCE: use windows ping command utility for ping checks
git-svn-id: https://svn.fhem.de/fhem/trunk@3810 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-27 17:37:24 +00:00
markusbloch
5b309b7ea2 PRESENCE: changing ping method for Windows systems to "tcp"
git-svn-id: https://svn.fhem.de/fhem/trunk@3800 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-26 21:31:52 +00:00
markusbloch
f097fdcd2b PRESENCE: remove loglevel attribute
git-svn-id: https://svn.fhem.de/fhem/trunk@3749 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-19 17:05:20 +00:00
markusbloch
f20006dd7a PRESENCE: recognize execution failure of ping-check
git-svn-id: https://svn.fhem.de/fhem/trunk@3736 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-18 11:54:05 +00:00
markusbloch
54e614fa03 removing deprecated GetLogLevel() and replace it with Log3()
git-svn-id: https://svn.fhem.de/fhem/trunk@3723 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-17 11:32:09 +00:00
markusbloch
f0c3b99bbe 73_PRESENCE.pm: new presence deb package
git-svn-id: https://svn.fhem.de/fhem/trunk@3703 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-15 10:10:15 +00:00
markusbloch
85fd5be571 FHEM/73_PRESENCE.pm: fixing a mistake in the commandref (thanks to Andrew for reporting)
git-svn-id: https://svn.fhem.de/fhem/trunk@3677 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-12 21:57:24 +00:00
markusbloch
6f93b86452 new collectord package
git-svn-id: https://svn.fhem.de/fhem/trunk@3554 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-07-30 21:57:25 +00:00
markusbloch
65bf965601 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@3443 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-07-17 20:32:47 +00:00
markusbloch
ca2d545c31 optimizing disabled-attribute for some race conditions
git-svn-id: https://svn.fhem.de/fhem/trunk@3433 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-07-15 22:09:18 +00:00
markusbloch
591a954982 preventing dead lock of ctlmgr_ctl calls in case of killed thread
git-svn-id: https://svn.fhem.de/fhem/trunk@3206 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-05-22 16:09:38 +00:00
markusbloch
ccf4ad1a41 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
2013-05-20 11:31:38 +00:00
markusbloch
81da85e68a preventing multiple ctlmgr_ctl calls in mode fritzbox
git-svn-id: https://svn.fhem.de/fhem/trunk@3198 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-05-19 16:47:50 +00:00
markusbloch
98d5e48d9f adding configurable ping count attribute
git-svn-id: https://svn.fhem.de/fhem/trunk@3193 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-05-18 11:57:34 +00:00
markusbloch
fc2dc7dc4e minor logging optimizations for mode fritzbox
git-svn-id: https://svn.fhem.de/fhem/trunk@3178 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-05-14 16:47:09 +00:00
markusbloch
86976015aa fixing not properly working redefines
git-svn-id: https://svn.fhem.de/fhem/trunk@3125 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-04-27 11:52:32 +00:00
markusbloch
aa50f1bb5d new mode "function"
git-svn-id: https://svn.fhem.de/fhem/trunk@3079 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-04-16 16:27:27 +00:00
markusbloch
874efb2d4c revert AbortFnArg to normal value, CHANGED-entries
git-svn-id: https://svn.fhem.de/fhem/trunk@3073 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-04-14 22:07:27 +00:00
markusbloch
c5075e1245 minor bugfixes for mode "function"
git-svn-id: https://svn.fhem.de/fhem/trunk@3069 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-04-13 09:59:27 +00:00
markusbloch
0a6d409c83 added new mode shellscript and function to use shell script calls and perl function calls
git-svn-id: https://svn.fhem.de/fhem/trunk@3067 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-04-12 21:31:49 +00:00
markusbloch
4f1af50398 fixing dead PRESENCE definitions after timeouts (using AbortFn from Blocking.pm)
git-svn-id: https://svn.fhem.de/fhem/trunk@3061 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-04-09 21:15:38 +00:00
markusbloch
077c58359f killing BlockingCall-Child in UndefFn
git-svn-id: https://svn.fhem.de/fhem/trunk@3046 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-04-07 20:03:19 +00:00
markusbloch
d98fb4205f increasing BlockinCall timeout
git-svn-id: https://svn.fhem.de/fhem/trunk@2952 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-03-20 16:58:45 +00:00