Not sure if this is the correct place to post this, feel free to move it.
 
	I'm new to ISY, and have been able to accomplish a few programs through trial and error.
 
	I'm having difficulty getting my porch light which is controlled from an X-10 switch to turn on 30 minutes before sunset, and 30 minutes after sunrise. I have attached the program below, I have tried this numerous ways, and always get the same result, nothing. Any guidance on this matter would be greatly appreciated.
 
	Sincerely, 
 
	Mike
 
	Front Porch Light - [ID 0008][Parent 0001][Run At Startup]
 
	If 
	        From    Sunset  - 30 minutes 
	        To      Sunrise + 30 minutes (same day) 
	  
	Then 
	        Send X10 'A14/On (3)' 
	        Set 'Front Porch Light' On 
	  
	Else 
	        Send X10 'A14/Off (11)' 
	        Set 'Front Porch Light' Off