41 Commits

Author SHA1 Message Date
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
jpawlowski
8d7919ad2a RESIDENTStk wakeuptimer: add example macros for RESIDENTS devices (gotosleep, asleep, awoken)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8308 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-03-27 22:45:19 +00:00
jpawlowski
db35145cfc RESIDENTStk wakeuptimer: add example macros for gotosleep, asleep, awoken
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8307 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-03-27 20:10:51 +00:00
jpawlowski
c2cc0df6ef RESIDENTStk wakeuptimer: some logic fixes & enhanced debugging
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8299 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-03-27 14:31:19 +00:00
jpawlowski
1d0afb78d1 RESIDENTStk: update wakeuptimer
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8267 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-03-22 14:51:05 +00:00
jpawlowski
2bfb2465dd RESIDENTStk wakeuptimer: add holiday support and aggregate states to parent devices
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8228 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-03-17 01:58:16 +00:00
jpawlowski
ca39d62513 RESIDENTStk wakeuptimer: fix at-timer begin calculation for OFF-timers
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8213 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-03-14 16:40:37 +00:00
jpawlowski
526cbb0186 RESIDENTStk wakeuptimer: add macro example code, auto-cleanup of temp. at-devices, advanced readings, error handlings and many other things
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8208 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-03-14 15:28:24 +00:00
jpawlowski
9a53a43c47 RESIDENTStk: add wakeupResetSwitcher support
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8197 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-03-11 23:16:39 +00:00
jpawlowski
c7d5c57489 RESIDENTStk: Add RESIDENTS toolkit and wakeuptimer function
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8194 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-03-11 14:16:05 +00:00