59 Commits

Author SHA1 Message Date
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
jpawlowski
a820bd85cb RESIDENTStk.pm: add missing _Initialize() fn
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12404 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-10-22 13:23:55 +00:00
jpawlowski
2950801609 experimental::smartmatch compatibility for newer Perl versions
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12048 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-08-22 08:09:11 +00:00
jpawlowski
bcc595c04c RESIDENTStk wakeuptimer: use new at-device attribute computeAfterInit
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12026 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-08-21 12:05:21 +00:00
jpawlowski
ec7fd13bfe RESIDENTStk.pm: revert commit 12011 and make more use of wakeupDefaultTime
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12012 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-08-20 12:08:12 +00:00
jpawlowski
bf0ca219fd RESIDENTStk.pm: circumvent wakeuptimer recalculation in at-device after FHEM reboot (Forum #56706)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12011 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-08-20 10:56:20 +00:00
jpawlowski
172091af2b RESIDENTStk, 20_GUEST, 20_ROOMMATE, 10_RESIDENTS, 70_Pushover, 50_HP1000: remove experimental::lexical_topic
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11838 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-07-24 12:01:58 +00:00
jpawlowski
00ac5dcf6f all my modules: suppress experimental my $_ warning
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11444 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-05-15 15:45:07 +00:00
jpawlowski
e5a5294bcc RESIDENTStk.pm: correctly escape @ character, no.2
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11403 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-05-07 16:48:02 +00:00
jpawlowski
7bebdf9c27 RESIDENTStk.pm: correctly escape @ character
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11402 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-05-07 16:45:23 +00:00
jpawlowski
d4d375ee11 RESIDENTStk.pm wakeuptimer: Allow relative increase/decrease of wakeup time
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@10896 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-02-20 20:18:54 +00:00
jpawlowski
74618b7db0 RESIDENTStk wakeuptimer: add lastAwake as 2nd indicator for wakeupWaitPeriod
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@10807 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-02-13 08:59:18 +00:00
jpawlowski
4d44b1080d RESIDENTStk wakeuptimer: use lastWakeup as indicator for wakeupWaitPeriod
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@10806 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-02-13 08:47:34 +00:00
jpawlowski
9fc01d2e4c RESIDENTStk wakeuptimer: fix wakeupWaitPeriod
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@10525 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-01-16 17:22:42 +00:00
jpawlowski
d933430bc6 20_ROOMMATE,20_GUEST,RESIDENTStk: fix wakeupWaitPeriod threshold calculation
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@10523 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-01-16 16:11:56 +00:00
jpawlowski
e225a720a6 RESIDENTStk: fix wakeupWaitPeriod threshold calculation
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@10522 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-01-16 15:53:36 +00:00
jpawlowski
38f2d78bc7 RESIDENTStk: improve code robustness
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@10378 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-01-06 15:48:18 +00:00
jpawlowski
b997d049d3 RESIDENTStk.pm: more robust macro example; change Sonos audio commands to use new msg command
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@10187 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-12-16 10:29:04 +00:00
jpawlowski
17cae67a0f RESIDENTStk.pm: make Wakeuptimer compatible with Tablet UI settimer widget:
<div data-type="settimer"
    data-device="rr_Firstname_wakeuptimer1"
    data-get="nextRun"
    data-set="nextRun"></div>


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9978 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-11-23 01:48:03 +00:00
jpawlowski
3ed8af3df4 ENIGMA2, ONKYO_AVR, PHTV, Pushover, GEOFANCY, RESIDENTStk, msg: suppress warning “Smartmatch is experimental”
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9380 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-05 08:04:23 +00:00
jpawlowski
2a4483f1b6 RESIDENTStk wakeuptimer: fix state reset in case resident is absent
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8865 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-07-01 13:16:01 +00:00
jpawlowski
0272b7079d RESIDENTStk wakeuptimer: improved update of user device for nextWakeup* readings; log messages to include current user state
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8671 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-05-31 11:17:09 +00:00
jpawlowski
36ce75ee2a RESIDENTStk wakeuptimer: add missing file for set command "end"
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8615 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-05-21 09:45:42 +00:00
jpawlowski
2eb7ab691f RESIDENTStk wakeuptimer: generally stop wakeup program if user device changes state; add wakeupWaitPeriod attribute to avoid multiple run in the morning if wakeuptime is earlier than wakeupDefaultTime
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8586 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-05-16 15:47:30 +00:00
jpawlowski
f6cff196b5 RESIDENTStk wakeuptimer: ignore non-existing wakeupDevice references and correct attribute *_wakeupDevice in ROOMMATE, GUEST or RESIDENTS device
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8424 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-04-12 13:19:08 +00:00
jpawlowski
a5a81f1314 RESIDENTStk wakeuptimer: self-destruction for at-devices if wakeuptimer device was deleted by user
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8423 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-04-12 12:31:18 +00:00
jpawlowski
f8bacd1f38 RESIDENTStk wakeuptimer: fix loop when wakeuptime=OFF and no attribute wakeupDefaultTime present
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8422 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-04-12 11:52:36 +00:00
jpawlowski
0fe1147ba0 RESIDENTStk wakeuptimer: do not create new dummy during bootup; forum #283933
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8407 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-04-09 09:04:14 +00:00
jpawlowski
816323e42b RESIDENTStk wakeuptimer: check in correct file ...
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8399 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-04-07 21:46:26 +00:00
jpawlowski
a326d35f39 RESIDENTStk wakeuptimer: fix watchdog reset
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8398 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-04-07 21:30:37 +00:00
jpawlowski
875b461cb2 RESIDENTStk wakeuptimer: correct watchdogs and add conditional enforced wakeup
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8377 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-04-05 08:16:51 +00:00
jpawlowski
31f76bd866 RESIDENTStk wakeuptimer: fix wakeup forecast during holidays and improved debug logging
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8359 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-04-03 11:52:56 +00:00
jpawlowski
5b26ba93e0 RESIDENTStk wakeuptimer: fix templates
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8310 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-03-28 14:11:23 +00:00