CoolToys Posted Wednesday at 02:58 PM Posted Wednesday at 02:58 PM I just got around to updating to 5.9.1 as I try and find a way for the eisy to control my new "permanent" LED holiday lights by HYSRT. Yesterday the house didn't shift modes, I use three state variables, sNight, sEarly_Morning and sSunrise_Daytime. Most of the motion based automatic light scenes should not come on is sNight = 0 or sSunrise_Daytime = 1. The code is unchanged for several years, here is the sunrise one. Sunrise Set Day - [ID 002D][Parent 0048] If Time is Sunrise Then $sSunrise_Daytime = 1 $sEarly_Morning = 0 Else - No Actions - (To add one, press 'Action') The state variables are changing but the programs are ignoring the lines in the program so this works even is sSunrise_Daytime = 1 Auto Kitchen - [ID 0014][Parent 0001] If 'Din SliderActivity' Status is On And $sSunrise_Daytime is not 1 And 'Kitchen Main Master' Status is Off Then $sKitchen_Motion = 1 Set 'Night Kitchen Snack' On Else - No Actions - (To add one, press 'Action') And last night the house didn't light itself up at sunset. I verified that this worked (The last two lines are leftover from troubleshooting "long running randomness" a year or so ago. It has been working so I haven't cleaned up all of the test code. Sunset to Night - [ID 000C][Parent 0048] If Time is Sunset Then $sNight = 1 $sBedtime = 0 $sSunrise_Daytime = 0 $iAtomic_Test_Tracker = 0 Set 'Courtyard Niche Top' On Else - No Actions - (To add one, press 'Action') The fountain came on and the sNight was "1" and sHouse_Active was "1" but this never ran. Night Daily Home - [ID 0003][Parent 0001] If $sHouse_Active is 1 And $sNight is 1 And $sBedtime is 0 Then Set 'Entry Art Niche' On Wait 1 minute Set 'Dine - DR Button' On Wait 4 seconds Set 'MB Cabinet Status' On Wait 1 minute ... (shortened for space) Else - No Actions - (To add one, press 'Action') Any thoughts? Thank you Quote
Guy Lavoie Posted Wednesday at 05:16 PM Posted Wednesday at 05:16 PM 2 hours ago, CoolToys said: Auto Kitchen - [ID 0014][Parent 0001] If 'Din SliderActivity' Status is On And $sSunrise_Daytime is not 1 And 'Kitchen Main Master' Status is Off Then $sKitchen_Motion = 1 Set 'Night Kitchen Snack' On Else - No Actions - (To add one, press 'Action') Have you tested it manually? For example, looking at your state variables in Admin Console and verifying that $sSunrise_Daytime is indeed set to 1, and then right clicking on that program and trying "Run (If)". Quote
Geddy Posted Wednesday at 06:00 PM Posted Wednesday at 06:00 PM @CoolToys have you performed a full power cycle on the eisy? Rather than just the reboot following the update it might need a full power cycle just to "catch up" or at least trigger things correctly. I would shut it down (6 button presses or press and hold), actually pull the power cord, wait 10 seconds (random amount of time), plug it back in, and power it up (i forget if it turns on automatically or not). Your programs are executing exactly at "x" time. Do you have many other things triggered at the same time? Even though it has "worked for years" (famous phrase among many of us), it's possible that there could be a lot of communicating at the same time and something is missed. Shifting something just a few seconds might help. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.