User avatar
hobie_od
Senior Member
Senior Member
Posts: 162
Joined: Tue Apr 26, 2005 12:50 pm
Contact: Send private message

sunset+

Fri Feb 09, 2007 8:19 pm

When using the automation rule with sunset+, what format should the value be in. eg. 90 for 90 minutes or 01:30?

User avatar
hobie_od
Senior Member
Senior Member
Posts: 162
Joined: Tue Apr 26, 2005 12:50 pm
Contact: Send private message

Wed Feb 14, 2007 9:39 am

I am having trouble getting commands to fire consistently based on surise times.

I am trying to turn off lights 90 minutes after sunrise.

I have tried using currenthmmil and currentdate equals sunrise + and 90 in the value field.

MLServer log does not usually show any action at these times.

This is with MLServer 232.
Attachments
automationrulz.JPG
automationrulz.JPG (51.79 KiB) Viewed 765 times

User avatar
AllonisDave
Founder
Founder
Posts: 11480
Joined: Fri Feb 07, 2003 8:56 am
Location: Newport Beach, CA
Contact: Send private message

Wed Feb 14, 2007 12:09 pm

The best variable to use in the sunrise/sunset rules is currentdate. This variable represents a complete date string. Try changing your rule to be

Whenever currentdate equals sunrise + 90

The delta offsets are integers representing minutes.

Return to “Automation Rules”

Who is online

Users browsing this forum: No registered users and 1 guest