95 Commits

Author SHA1 Message Date
markusbloch
487d17a141 PRESENCE/presenced: new presenced package released
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@10989 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-03-04 17:42:19 +00:00
markusbloch
6bb68392b5 PRESENCE: fix log warning "use of uninitialized value ..." when using power set command without any argument. (Forum: #48499)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@10686 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-01-31 15:46:23 +00:00
markusbloch
f6e803e54d PRESENCE: add =item helper marker
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@10541 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-01-16 22:09:54 +00:00
markusbloch
2d63e963a9 PRESENCE: remove unwanted html tags from commandref (Forum: #46371)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@10295 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-12-29 18:47:24 +00:00
markusbloch
63ce4c8a26 PRESENCE/collectord: new collectord-1.5.deb package released
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@10044 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-11-29 13:55:53 +00:00
markusbloch
9f2336d1c6 PRESENCE: changing %NAME,... to $NAME,... in commandref for feature level 5.7
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9970 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-11-22 14:14:42 +00:00
markusbloch
bb4ecc1a11 PRESENCE: support for Solaris ping (mode: local-ping)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9454 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-14 17:01:10 +00:00
markusbloch
da62f854bf PRESENCE: rescheduling new check if fork fails (by frank, Forum: #40119)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9111 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-08-22 16:46:24 +00:00
markusbloch
662bcdf656 PRESENCE: display right state for disabled lan-bluetooth device after FHEM startup
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8638 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-05-26 19:34:04 +00:00
markusbloch
b92bea50cb PRESENCE: optimize logging for local-bluetooth mode (Forum: #34368)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8191 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-03-10 22:34:23 +00:00
markusbloch
bf9d4a11bc PRESENCE: new reading "presence" which contains the current (or last known) presence state, which can be just "absent" or "present" (Forum: #29334)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7485 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-01-09 16:16:07 +00:00
markusbloch
25f491dfc4 PRESENCE: fixing not working timer, when using set [...] statusRequest (additionally to r7184, thanks to Patrick)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7278 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-12-20 17:30:27 +00:00
markusbloch
90f64f2f32 PRESENCE: fixing not working timer, when using set [...] statusRequest
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7184 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-12-10 20:49:34 +00:00
markusbloch
0c512d2c93 PRESENCE: fixing race condition of failed re-init after removed disabled attribute
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6950 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-11-11 21:09:42 +00:00
markusbloch
adcf0fd282 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/fhem@6706 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-10-07 21:24:25 +00:00
markusbloch
0191a3894b PRESENCE: try to fix flapping active state (Forum #27255)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6621 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-09-26 15:11:20 +00:00
markusbloch
3df4f84a92 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/fhem@6570 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-09-19 10:20:15 +00:00
markusbloch
15cb68f84f PRESENCE: new state event "error" and "disabled"; minor log improvements
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6341 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-08-01 21:56:21 +00:00
markusbloch
fac2cf66f4 PRESENCE: harmonize log output
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6340 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-08-01 21:24:14 +00:00
markusbloch
825432afd8 PRESENCE: using AnalyzeCommandChain for new "power" set command instead of perl eval
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6255 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-07-14 20:58:50 +00:00
markusbloch
b915cbc998 PRESENCE: fixing minor mistakes in german commandref
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6246 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-07-12 22:05:31 +00:00
markusbloch
60a1559e2e 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/fhem@6245 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-07-12 22:00:35 +00:00
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