more G-Labs products

Author Topic: @Sunset triggering in Wizard not working?  (Read 1117 times)

December 11, 2015, 09:56:05 PM
Read 1117 times

pim555

  • ****
  • Information
  • Sr. Member
  • Posts: 143
Hi,

I have 2 programs defined that are supposed to switch (different) lights on at Sunset. I am running r505 on RPI.

The first program (1009) works as expected but the second doesn't switch on. In the log I see the first one being switched (see below).

Code: [Select]
"2015-12-11 16:29:00.5575 Info HomeAutomation.HomeGenie.Automation 34 Sunset event Sun.Event Sunset"
"2015-12-11 16:29:00.5717 Info HomeAutomation.HomeGenie.Automation 1009 Automation Program Program.Status Running"
2015-12-11 16:29:00.6081 Debug 04-6F
2015-12-11 16:29:01.1197 Debug 55
2015-12-11 16:29:01.1197 Debug Command succesfull
2015-12-11 16:29:01.1215 Debug 06-62
2015-12-11 16:29:01.6251 Debug 55
2015-12-11 16:29:01.6256 Debug Command succesfull
"2015-12-11 16:29:01.6300 Info HomeAutomation.X10 A10 - Status.Level 1"
2015-12-11 16:29:01.6473 Debug 04-6B
2015-12-11 16:29:02.1518 Debug 55
2015-12-11 16:29:02.1518 Debug Command succesfull
2015-12-11 16:29:02.1539 Debug 06-62
2015-12-11 16:29:02.6563 Debug 55
2015-12-11 16:29:02.6568 Debug Command succesfull
"2015-12-11 16:29:02.6637 Info HomeAutomation.X10 A12 - Status.Level 1"
2015-12-11 16:29:02.6807 Debug 04-6D
2015-12-11 16:29:03.1839 Debug 55
2015-12-11 16:29:03.1839 Debug Command succesfull
2015-12-11 16:29:03.1856 Debug 06-62
2015-12-11 16:29:03.6960 Debug 55
2015-12-11 16:29:03.6960 Debug Command succesfull
"2015-12-11 16:29:03.7013 Info HomeAutomation.X10 A8 - Status.Level 1"
2015-12-11 16:29:03.7189 Debug 04-A9
2015-12-11 16:29:04.2240 Debug 55
2015-12-11 16:29:04.2250 Debug Command succesfull
2015-12-11 16:29:04.2263 Debug 06-A2
2015-12-11 16:29:04.7373 Debug 55
2015-12-11 16:29:04.7378 Debug Command succesfull
"2015-12-11 16:29:04.7461 Info HomeAutomation.X10 D6 - Status.Level 1"
"2015-12-11 16:29:04.7635 Info HomeAutomation.HomeGenie.Automation 1009 Automation Program Program.Status Idle"

The difference between the 2 programs is that the first (which I created some time ago), shows as attached (grab1):
HomeAutomation.HomeGenie/Automation->Scheduler.CronEvent Equals @Sunset

The second program, just recently created (attached as grab2):
HomeAutomation.HomeGenie/Scheduler->Scheduler.CronEvent Equals @Sunset

So the only difference seems to be that I cannot select HomeAutomation.HomeGenie/Automation and then Scheduler.CronEvent, I can only do that by selecting HomeAutomation.HomeGenie/Schedule.

Is this potentially causing the issue?

Cheers
Pim

December 12, 2015, 12:12:49 AM
Reply #1

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Hi Pim,

HomeAutomation.HomeGenie/Automation->Scheduler.CronEvent is deprecated, but I forgot to update the code for the new command HomeAutomation.HomeGenie/Scheduler->Scheduler.CronEvent.
This will be fixed in next release.

g.

December 12, 2015, 10:57:40 AM
Reply #2

pim555

  • ****
  • Information
  • Sr. Member
  • Posts: 143

December 15, 2015, 09:33:39 PM
Reply #3

pim555

  • ****
  • Information
  • Sr. Member
  • Posts: 143
Can confirm this is fixed in r507.

Thnx