I'm investigating creating an HVAC zone controller using the Elk rules. These zone controllers just seem to be event driven state machines. I was using counters to create virtual thermostats (hence negating the need to buy expensive communicating thermostats). There were some events where I needed to compare two different temperature readings. Every interval I would read the thermostat value into the counter and use the counter value for comparisons. I was trying to reduce the frequency of thermostat readings (assuming this is an expensive operation). The counters essentially cached the temperature reading and allowed me to incremeant and decremeant before comparisons. I may have to rethink this approach.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.