sunset+

Tips and Techniques for using MLServer's Automation Rules
User avatar
hobie_od
Senior Member
Senior Member
Posts: 161
Joined: Tue Apr 26, 2005 11:50 am
Contact:

sunset+

Postby hobie_od » 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: 161
Joined: Tue Apr 26, 2005 11:50 am
Contact:

Postby hobie_od » 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.
You do not have the required permissions to view the files attached to this post.

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Postby CinemarDave » 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