I been able to use Russ Code, and do three phases of light, but I want to introduce a few more options. I been trying to replicate my Graph I made, but I seem not to be able to determine why LED Evening and Sundown ever take place. Below is the code.
Set Off
If Sun 000/-600 Then LED_Sunrise
If Sun 120/-480 Then LED_Morning
If Sun 240/-240 Then LED_Noon
If Sun 480/-120 Then LED_Evening
If Sun 600/000 Then LED_Sundown
If Outlet Pre_Weather = ON Then PreWeather
If Outlet Clouds = ON Then Cloudy
If Outlet Storms = ON Then Stormy
If Outlet Post_Weather = ON Then PostWeather
My Assumption is 000 Sunrise, 2 hours later Morning, 2 Hours Later Noon, 2 Hour Later Evening and 2 Hours after that to the end Sundown. The - after is to ensure each one does not step on each other. Russ's graph that he once displayed was a great visual but I seem not to be able to get above 3.
Any help would be great.
Thanks
Bookmarks