1
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-07 22:29:19 +00:00

67 Commits

Author SHA1 Message Date
jpawlowski
fb6cc58b2c RESIDENTStk: allow device:reading format for r*_presenceDevices
git-svn-id: https://svn.fhem.de/fhem/trunk@14026 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-18 16:44:25 +00:00
jpawlowski
d2a6bcd07b All my modules: refactoring code
git-svn-id: https://svn.fhem.de/fhem/trunk@14012 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-17 13:09:41 +00:00
jpawlowski
591a2717a1 RESIDENTS,ROOMMATE,GUEST: refactoring notification system and improved wakeuptimer
git-svn-id: https://svn.fhem.de/fhem/trunk@14011 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-17 12:04:50 +00:00
jpawlowski
cdd17c8e13 RESIDENTS,ROOMMATE,GUEST: allow wakeup attributes to be used as readings
git-svn-id: https://svn.fhem.de/fhem/trunk@13997 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-15 10:58:10 +00:00
jpawlowski
305fb95406 RESIDENTStk wakeuptimer: improve cleanup command for temp. at devices
git-svn-id: https://svn.fhem.de/fhem/trunk@13986 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-14 09:57:15 +00:00
jpawlowski
ddfd5e1de3 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@13947 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-09 10:33:52 +00:00
jpawlowski
e0eb42b845 RESIDENTStk: improved handling of day shift
git-svn-id: https://svn.fhem.de/fhem/trunk@13943 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-08 22:59:04 +00:00
jpawlowski
eedc05ffab All my modules: use IsDevice() and GetType()
git-svn-id: https://svn.fhem.de/fhem/trunk@13899 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-04 18:01:08 +00:00
jpawlowski
46001270e0 RESIDENTS: allow 'zuhause' or 'anwesend'
git-svn-id: https://svn.fhem.de/fhem/trunk@13882 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-02 14:49:12 +00:00
jpawlowski
4c5ac5bbf0 RESIDENTStk: subroutine name
git-svn-id: https://svn.fhem.de/fhem/trunk@13880 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-02 14:24:40 +00:00
jpawlowski
e46ee5be97 10_RESIDENTS,20_ROOMMATE,20_GUEST: update german translation
git-svn-id: https://svn.fhem.de/fhem/trunk@13879 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-02 14:17:56 +00:00
jpawlowski
a12f907ff5 RESIDENTStk: fix parameters for GetType
git-svn-id: https://svn.fhem.de/fhem/trunk@13871 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-01 16:40:16 +00:00
jpawlowski
5faa503788 RESIDENTStk: fix "has no TYPE" issues
git-svn-id: https://svn.fhem.de/fhem/trunk@13868 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-01 15:15:39 +00:00
jpawlowski
fb4086c5d9 RESIDENTStk wakeuptimer: improved example macros
git-svn-id: https://svn.fhem.de/fhem/trunk@13867 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-01 10:51:46 +00:00
jpawlowski
1f3ba0c55e RESIDENTStk wakeuptimer: use autoRestart=1 for watchdog templates
git-svn-id: https://svn.fhem.de/fhem/trunk@13866 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-01 09:46:46 +00:00
jpawlowski
a8c40cf41e RESIDENTStk: fix array
git-svn-id: https://svn.fhem.de/fhem/trunk@13851 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-29 20:55:15 +00:00
jpawlowski
e5bb860335 RESIDENTStk: correct midnight handling
git-svn-id: https://svn.fhem.de/fhem/trunk@13850 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-29 20:50:23 +00:00
jpawlowski
2ac22e23bd RESIDENTStk: consider wakeupOffset for nextWakeup
git-svn-id: https://svn.fhem.de/fhem/trunk@13847 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-29 19:07:41 +00:00
jpawlowski
abed70358c RESIDENTStk: always reset wakeup state in ROOMMATE/GUEST when ending wakeup program
git-svn-id: https://svn.fhem.de/fhem/trunk@13846 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-29 18:52:06 +00:00
jpawlowski
5398c896ed RESIDENTStk: fix nextWakeup and nextWakeupDev
git-svn-id: https://svn.fhem.de/fhem/trunk@13845 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-29 18:32:41 +00:00
jpawlowski
b2970e7512 RESIDENTStk: improve wakeup macro template
git-svn-id: https://svn.fhem.de/fhem/trunk@13844 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-29 17:58:36 +00:00
jpawlowski
d3e4b2cd35 RESIDENTStk: fix day scoping and next wakeup time prediction when using orHoliday/orNoHoliday
git-svn-id: https://svn.fhem.de/fhem/trunk@13843 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-29 17:54:57 +00:00
jpawlowski
59ee159f93 RESIDENTStk: remove warnings => 'experimental'
git-svn-id: https://svn.fhem.de/fhem/trunk@13800 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-25 19:13:56 +00:00
jpawlowski
d5d1dbcb6a 20_ROOMMATE,20_GUEST,RESIDENTStk: use readingsBulkUpdateIfChanged
git-svn-id: https://svn.fhem.de/fhem/trunk@13794 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-25 09:55:22 +00:00
jpawlowski
737af5ee5f 10_RESIDENTS,20_ROOMMATE,20_GUEST: implement dynamic slave handling; remove experimental dependencies
git-svn-id: https://svn.fhem.de/fhem/trunk@13608 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-03-05 13:02:40 +00:00
jpawlowski
9f95be1e6b RESIDENTStk wakeuptimer: fix Sonos example code
git-svn-id: https://svn.fhem.de/fhem/trunk@12953 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-01-04 14:49:44 +00:00
jpawlowski
50da650277 RESIDENTStk.pm: add missing _Initialize() fn
git-svn-id: https://svn.fhem.de/fhem/trunk@12404 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-10-22 13:23:55 +00:00
jpawlowski
d3dc3f400c experimental::smartmatch compatibility for newer Perl versions
git-svn-id: https://svn.fhem.de/fhem/trunk@12048 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-08-22 08:09:11 +00:00
jpawlowski
3da1f2ee3f RESIDENTStk wakeuptimer: use new at-device attribute computeAfterInit
git-svn-id: https://svn.fhem.de/fhem/trunk@12026 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-08-21 12:05:21 +00:00
jpawlowski
00ed2ad6b4 RESIDENTStk.pm: revert commit 12011 and make more use of wakeupDefaultTime
git-svn-id: https://svn.fhem.de/fhem/trunk@12012 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-08-20 12:08:12 +00:00
jpawlowski
2d28389009 RESIDENTStk.pm: circumvent wakeuptimer recalculation in at-device after FHEM reboot (Forum #56706)
git-svn-id: https://svn.fhem.de/fhem/trunk@12011 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-08-20 10:56:20 +00:00
jpawlowski
ff8b8858ff RESIDENTStk, 20_GUEST, 20_ROOMMATE, 10_RESIDENTS, 70_Pushover, 50_HP1000: remove experimental::lexical_topic
git-svn-id: https://svn.fhem.de/fhem/trunk@11838 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-07-24 12:01:58 +00:00
jpawlowski
5b2d8b4af8 all my modules: suppress experimental my $_ warning
git-svn-id: https://svn.fhem.de/fhem/trunk@11444 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-05-15 15:45:07 +00:00
jpawlowski
f702d9d6b4 RESIDENTStk.pm: correctly escape @ character, no.2
git-svn-id: https://svn.fhem.de/fhem/trunk@11403 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-05-07 16:48:02 +00:00
jpawlowski
9177bc410d RESIDENTStk.pm: correctly escape @ character
git-svn-id: https://svn.fhem.de/fhem/trunk@11402 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-05-07 16:45:23 +00:00
jpawlowski
aad0180eca RESIDENTStk.pm wakeuptimer: Allow relative increase/decrease of wakeup time
git-svn-id: https://svn.fhem.de/fhem/trunk@10896 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-02-20 20:18:54 +00:00
jpawlowski
8973f7cd81 RESIDENTStk wakeuptimer: add lastAwake as 2nd indicator for wakeupWaitPeriod
git-svn-id: https://svn.fhem.de/fhem/trunk@10807 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-02-13 08:59:18 +00:00
jpawlowski
bfce286448 RESIDENTStk wakeuptimer: use lastWakeup as indicator for wakeupWaitPeriod
git-svn-id: https://svn.fhem.de/fhem/trunk@10806 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-02-13 08:47:34 +00:00
jpawlowski
1c1a4dc0bb RESIDENTStk wakeuptimer: fix wakeupWaitPeriod
git-svn-id: https://svn.fhem.de/fhem/trunk@10525 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-01-16 17:22:42 +00:00
jpawlowski
6ea591c471 20_ROOMMATE,20_GUEST,RESIDENTStk: fix wakeupWaitPeriod threshold calculation
git-svn-id: https://svn.fhem.de/fhem/trunk@10523 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-01-16 16:11:56 +00:00
jpawlowski
c476d870f7 RESIDENTStk: fix wakeupWaitPeriod threshold calculation
git-svn-id: https://svn.fhem.de/fhem/trunk@10522 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-01-16 15:53:36 +00:00
jpawlowski
d0803640ab RESIDENTStk: improve code robustness
git-svn-id: https://svn.fhem.de/fhem/trunk@10378 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-01-06 15:48:18 +00:00
jpawlowski
04b4597346 RESIDENTStk.pm: more robust macro example; change Sonos audio commands to use new msg command
git-svn-id: https://svn.fhem.de/fhem/trunk@10187 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-12-16 10:29:04 +00:00
jpawlowski
fdde6b4991 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@9978 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-11-23 01:48:03 +00:00
jpawlowski
308bbd6f45 ENIGMA2, ONKYO_AVR, PHTV, Pushover, GEOFANCY, RESIDENTStk, msg: suppress warning “Smartmatch is experimental”
git-svn-id: https://svn.fhem.de/fhem/trunk@9380 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-05 08:04:23 +00:00
jpawlowski
edc07bf33d RESIDENTStk wakeuptimer: fix state reset in case resident is absent
git-svn-id: https://svn.fhem.de/fhem/trunk@8865 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-07-01 13:16:01 +00:00
jpawlowski
6548da185b 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@8671 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-05-31 11:17:09 +00:00
jpawlowski
9e63361be4 RESIDENTStk wakeuptimer: add missing file for set command "end"
git-svn-id: https://svn.fhem.de/fhem/trunk@8615 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-05-21 09:45:42 +00:00
jpawlowski
62e053feac 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@8586 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-05-16 15:47:30 +00:00
jpawlowski
83b53d4671 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@8424 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-04-12 13:19:08 +00:00