Autor Thema: WeekdayTimer Syntax  (Gelesen 138 mal)

Offline Wanman

  • New Member
  • *
  • Beiträge: 5
WeekdayTimer Syntax
« am: 07 Februar 2017, 05:32:38 »
Hello - I am a relative newbie to FHEM but have made quite good progress. I have both MAX! and Homematic CULs working. My problem is with the Homematic 4 channel switch in conjunction with WeekdayTimer. The switch is defined OK and I can control each channel from the device page but whenever I try to control it from the Weekday timer it rejects the on times being invalid. My weekday timer definition is as below.

define TestONOFF WeekdayTimer HM_4EACCB_Sw_01 en mo 20:50 on 20:55 off

The definition is accepted and even the language and day are shown in the TestONOFF weekday timer summary but the times are always rejected as shown in the log. I have tried every option of syntax without success..

2017.02.06 23:08:26 5: [TestONOFF] 23:20  - trying to accept as a switchtime
2017.02.06 23:08:26 4: [TestONOFF] 23:20 - NOT accepted, must be command or condition
2017.02.06 23:08:26 3: [TestONOFF] no valid Switchingtime found in <23:20 on 23:30 off>, check first parameter
2017.02.06 23:08:26 4: [TestONOFF] 06:17:47 17:01:35 Monday
2017.02.06 23:08:26 5: [TestONOFF] removing Timer: Test_SetTimerOfDay
2017.02.06 23:08:26 5: [TestONOFF] setting  Timer: Test_SetTimerOfDay 2017-02-07 00:00:05
2017.02.06 23:08:26 3: [Test] no switches to send, due to possible errors.

Any help would be much appreciated.

Mike

Offline moustic999

  • New Member
  • *
  • Beiträge: 4
Antw:WeekdayTimer Syntax
« Antwort #1 am: 07 Februar 2017, 14:24:31 »
you must do it this way :
example :
define shutter WeekdayTimer bath 12345|05:20|up 12345|20:30|down

so you line should be :

define TestONOFF WeekdayTimer HM_4EACCB_Sw_01 en mo|20:50|on  mo|20:55|off

not sure but should better work.





Offline Wanman

  • New Member
  • *
  • Beiträge: 5
Antw:WeekdayTimer Syntax
« Antwort #2 am: 07 Februar 2017, 22:54:17 »
Thankyou so much for your assistance, your syntax works perfectly. I must have tried everything except that!

I take there is no GUI interface for the weekdaytimer module like there is for weekprofile for temperatures setting?

Thanks again

 

decade-submarginal