91 Commits

Author SHA1 Message Date
jpawlowski
f11538a1f6 RESIDENTStk.pm: add readings positionAddr, positionBeaconUUID
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17593 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-10-22 15:35:04 +00:00
jpawlowski
f9577747a2 RESIDENTStk: use UConv::duration()
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17590 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-10-22 13:37:49 +00:00
jpawlowski
75d9e23fe0 RESIDENTStk: add missing ucfirst
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17576 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-10-20 15:23:53 +00:00
jpawlowski
ecf276267a RESIDENTStk: Support for updated GEOFANCY version
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17575 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-10-20 15:15:48 +00:00
jpawlowski
23dc598c71 98_GEOFANCY: fix last* readings and add new features from Geofency.app
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17571 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-10-20 12:41:57 +00:00
jpawlowski
0fa50c1f2a RESIDENTStk: fix for andNoHoliday
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14160 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-05-01 19:43:40 +00:00
jpawlowski
fc78585616 UConv: add Chronological conversions
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14136 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-29 16:31:46 +00:00
jpawlowski
5311fc0296 RESIDENTStk: more robust regex for presenceDevices
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14117 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-27 07:44:53 +00:00
jpawlowski
3d9b2e1849 RESIDENTStk: replace NotifyOrderPrefix by module event handling for bootup
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14098 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-24 14:52:47 +00:00
jpawlowski
7bc66e2b6a RESIDENTS: fix lastActivityBy
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14095 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-24 10:33:00 +00:00
jpawlowski
401105ee28 RESIDENTS: transitionally use InitDevFn as modul internal function
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14091 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-24 00:17:25 +00:00
jpawlowski
4bf1140d10 RESIDENTStk wakeuptimer: correct handling of holiday during wake-up runtime
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14075 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-22 15:12:52 +00:00
jpawlowski
493a276489 RESIDENTS: change global events to TYPE:.* format; changed order: first trigger devices, then trigger module initialization event
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14074 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-22 14:07:03 +00:00
jpawlowski
ab40887748 RESIDENTS: less events for changed config and rename event from CHANGED_CONFIG to CONFIG_CHANGED
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14065 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-21 22:17:17 +00:00
jpawlowski
496d4ab473 RESIDENTS: also send global notification after module has finished initialization
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14064 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-21 21:30:54 +00:00
jpawlowski
2d5daf54a8 RESIDENTS: send global events after module internal initialization and modification
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14063 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-21 19:19:05 +00:00
jpawlowski
2b72cc89d1 RESIDENTS: use group attribute as default for realname
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14062 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-21 18:16:06 +00:00
jpawlowski
3a594d09d5 RESIDENTS: add NotifyOrderPrefix
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14060 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-21 17:48:17 +00:00
jpawlowski
faf098f9ae RESIDENTStk: fix notifications triggered by attribute or device updates
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14050 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-20 20:50:02 +00:00
jpawlowski
ff9a0fa2ed RESIDENTStk: fix notification for presenceDevices
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14049 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-20 20:41:15 +00:00
jpawlowski
74a2744690 RESIDENTStk: fix warning
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14047 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-20 18:59:17 +00:00
jpawlowski
85edef7c13 RESIDENTS: fix sleep
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14037 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-19 18:37:19 +00:00
jpawlowski
d34a98d92c RESIDENTS: addRoommate/addGuest trigger
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14035 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-19 18:22:28 +00:00
jpawlowski
881ede0b81 RESIDENTS.*: consolidate code base
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14034 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-19 17:51:42 +00:00
jpawlowski
901e3d8502 RESIDENTStk: allow device:reading format for r*_presenceDevices
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14026 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-18 16:44:25 +00:00
jpawlowski
63fd2bdd6b All my modules: refactoring code
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14012 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-17 13:09:41 +00:00
jpawlowski
02d4e0de01 RESIDENTS,ROOMMATE,GUEST: refactoring notification system and improved wakeuptimer
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14011 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-17 12:04:50 +00:00
jpawlowski
70ed77568e RESIDENTS,ROOMMATE,GUEST: allow wakeup attributes to be used as readings
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13997 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-15 10:58:10 +00:00
jpawlowski
e95cb5ffbb RESIDENTStk wakeuptimer: improve cleanup command for temp. at devices
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13986 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-14 09:57:15 +00:00
jpawlowski
4c2f1c364a RESIDENTStk wakeuptimer: wakeupEnforced may be 3 to only trigger when wake-up time is earlier than normal
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13947 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-09 10:33:52 +00:00
jpawlowski
0bd2320b8b RESIDENTStk: improved handling of day shift
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13943 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-08 22:59:04 +00:00
jpawlowski
16c506ef7e All my modules: use IsDevice() and GetType()
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13899 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-04 18:01:08 +00:00
jpawlowski
bb4153543a RESIDENTS: allow 'zuhause' or 'anwesend'
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13882 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-02 14:49:12 +00:00
jpawlowski
63829a6ae6 RESIDENTStk: subroutine name
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13880 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-02 14:24:40 +00:00
jpawlowski
343bad9e6e 10_RESIDENTS,20_ROOMMATE,20_GUEST: update german translation
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13879 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-02 14:17:56 +00:00
jpawlowski
ee96c023c0 RESIDENTStk: fix parameters for GetType
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13871 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-01 16:40:16 +00:00
jpawlowski
c5ef8e5b7f RESIDENTStk: fix "has no TYPE" issues
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13868 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-01 15:15:39 +00:00
jpawlowski
7849d02a74 RESIDENTStk wakeuptimer: improved example macros
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13867 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-01 10:51:46 +00:00
jpawlowski
bcd0bfa521 RESIDENTStk wakeuptimer: use autoRestart=1 for watchdog templates
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13866 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-01 09:46:46 +00:00
jpawlowski
5c682672cd RESIDENTStk: fix array
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13851 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-29 20:55:15 +00:00
jpawlowski
415b0bba43 RESIDENTStk: correct midnight handling
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13850 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-29 20:50:23 +00:00
jpawlowski
92a807d454 RESIDENTStk: consider wakeupOffset for nextWakeup
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13847 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-29 19:07:41 +00:00
jpawlowski
97df310d8d RESIDENTStk: always reset wakeup state in ROOMMATE/GUEST when ending wakeup program
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13846 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-29 18:52:06 +00:00
jpawlowski
9d83914c97 RESIDENTStk: fix nextWakeup and nextWakeupDev
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13845 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-29 18:32:41 +00:00
jpawlowski
05907acd66 RESIDENTStk: improve wakeup macro template
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13844 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-29 17:58:36 +00:00
jpawlowski
968ef25815 RESIDENTStk: fix day scoping and next wakeup time prediction when using orHoliday/orNoHoliday
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13843 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-29 17:54:57 +00:00
jpawlowski
2933b9923b RESIDENTStk: remove warnings => 'experimental'
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13800 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-25 19:13:56 +00:00
jpawlowski
c7bcdff831 20_ROOMMATE,20_GUEST,RESIDENTStk: use readingsBulkUpdateIfChanged
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13794 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-25 09:55:22 +00:00
jpawlowski
9fa93e6ab0 10_RESIDENTS,20_ROOMMATE,20_GUEST: implement dynamic slave handling; remove experimental dependencies
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13608 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-05 13:02:40 +00:00
jpawlowski
016d6cf106 RESIDENTStk wakeuptimer: fix Sonos example code
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12953 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-01-04 14:49:44 +00:00