apostolakisl Posted December 6, 2011 Posted December 6, 2011 I have noticed that the voltage status of the zones does not update. Both the "status" and "physical status" will change, but the voltage stays the same until you do a query. What's up with that? And how does it affect a program that is asked to respond to a voltage change?
Chris Jahn Posted December 6, 2011 Posted December 6, 2011 Apologies apostolakisl, this is another hole in our current (very limited) documentation I'm afraid. Elk does not automatically report Zone voltage, therefore you are required to query it when needed.
apostolakisl Posted December 6, 2011 Author Posted December 6, 2011 so, 1) if you list a voltage in an "if" clause, will the voltage be a trigger? Obviously something else would have to cause a query first. 2) if a voltage is in an "if" clause and the program triggers for any reason, will the voltage be read as is or will it do a self query at that time?
Chris Jahn Posted December 6, 2011 Posted December 6, 2011 1. Yes, the voltage will be a trigger if the event being tested was a voltage event. The program conditions are only evaluated when an event occurs, therefore to test for the voltage you would have to query it first. For example, you could write a program that polls the voltage by querying it every X seconds, and whenever the voltage changes a voltage event would be generated. 2. An implicit query by the ISY is never performed, therefore the current value is always used when evaluating the conditions.
apostolakisl Posted December 6, 2011 Author Posted December 6, 2011 Final question: Would freqent querries tie up significant resources? like if you had it go every second, would other ISY Elk communications suffer?
Chris Jahn Posted December 7, 2011 Posted December 7, 2011 Final question: Would freqent querries tie up significant resources? like if you had it go every second, would other ISY Elk communications suffer? Hi apostolakisl, We haven't done any analysis of this, but I would assume that once every second could cause some delays when there is a lot of activity going on. I think it would just be up to the individual installation to determine the best interval to use.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.