-
Posts
112 -
Joined
-
Last visited
Everything posted by IT Solutions
-
Creating a Timer in ISY
IT Solutions replied to IT Solutions's topic in New user? Having trouble? Start here
@larryllix Thank you for the ideas. It appears to be working correctly as is now. Not sure why we had the one-time glitch. Why do you suggest moving the "Run.Timer = 0"? -
I think I have the solution. However, we have a rule: "If you haven't tested it; it doesn't work." I will need to reboot the ISY to test this. $S.Startup.Programs inits to 0. The first program, Garage, is set to Run At Startup; the rest are not. The first program adds one to S.Startup.Programs, which triggers the second program, which adds one and triggers the third program, etc. They all run at startup, and only run once. This also allows one to control the exact order the programs run at startup. In this case, it does not matter, but in other cases it will. Thanks to everyone that gave me ideas on how to do this. Now I just need to test it by rebooting the ISY.
-
Assistance with ZWave Lock Program
IT Solutions replied to IT Solutions's topic in New user? Having trouble? Start here
@DennisCIt does not. All is says is "Speaks ZWave". And it does, but not very well. This page says "Connected" on it: https://www.schlage.com/en/home/products/FE599NXCAMFFFACC.html You can find the documentation here: Installation Manual [PDF ] User Guide [PDF ] User Manual [PDF ] Warranty [PDF ] -
Yes, that is correct. I want to check the current status of an output and set an ISY variable to 1 if it is on, and 0 if it is off. I have a different progam that changes the variable as the output changes. In traditional programming, which I have been doing for almost 50 years (I taught myself how to program when I was in elementary school in the 70s), an if statement (which ISY calls a program) executes each time the program passes through that part of the code. In ISY, everything is interrupt driven, so the the statement does not execute until something changes to trigger the statement to execute. I need to capture the current state; can't wait until the state changes to know what it is. One could do it like this: If $a = $a And if Output is on Then set $b= 1 Else set $b = 0 and set this program to run at startup. One could then have it disable itself to keep it from running all the time, but then it would not run at start up next time the ISY starts up. I think the solution might be: Create a State Variable $a and have $a configured to be 0 at startup, then run as above, and set $a to 1 so it won't run again until the next startup. Incrementing $a by one would be a way to control the exact order startup programs run at startup which can be very important.
-
@MrBill I am ready to set the value at startup as you noted. I need to check the "current state" of an output and set the variable based on the current state. A regular If Elk Output is ON in ISY only runs when the Output changes from OFF to ON. How does one check the current state of an output, or anything else? We need something like: If ISY just started up And Output is On Then set to $zone.value to 1 Set $zone.counter += 1 Else Set $zone.value to 0 This should run once when the ISY boots up, then never again until it boots up again. Ideas on how to do this? Thank you.
-
This rule appears to be running every time the State Variable S.FH.Zone.Count changes, not just when it changes to a value >=4. I was under the impressions that the rule would only run if the value changed to something >=4, but maybe I was mistaken. I removed the Else Actions because they were running when the value changed to 3.
-
Creating a Timer in ISY
IT Solutions replied to IT Solutions's topic in New user? Having trouble? Start here
@apostolakislThanks for the post. I tried that with an output and it counted to 3, then stopped counting. Here is my program: I have verified that the Floor Heat Output is still on and refreshed the State Variable Values and it is stuck on 3. Time lasted changed was almost half an hour ago. The program is showing as green so I assume that means it is running, so it should be counting. Is that correct? Thank you. -
Assistance with ZWave Lock Program
IT Solutions replied to IT Solutions's topic in New user? Having trouble? Start here
@lilyoyo1 Already did that, and they do not know their product line (at least the person I talked to did not). They blamed ISY (of course). Your expectations from vendors are overly optimistic?. -
Assistance with ZWave Lock Program
IT Solutions replied to IT Solutions's topic in New user? Having trouble? Start here
@hart2hart Thank you, but that is a deadbolt, not a door knob. The Schlage deadbolt we have is working correctly, unless I turn the knob from lock to unlock a whole bunch of times rapidly (which I would not expect to work correctly). We need a door knob/lever. -
@MrBill At this point I am just trying to get the program to run. I will need to run programs at start up check the zone statuses and set the values correctly. There are no conditions on the folder, but I did find a condition on the main "My Programs" folder, which explains a lot. It is now working. Thank you for your help with this.
-
I have the following program: It is not disabled. I see the Zone the status change in the ISY Event Viewer for the Laundry zone. I right click on the program and select Run Then. The variable IFHLaundry NEVER changes. The value does not change, and the time Last Changed does not change. I want the Then to run every time the zone becomes violated. It should at least change when I right click and select Run Then, right? What am I missing here? Thank you.