This page last changed on Feb 09, 2014 by jon.gillioz.

hi all been trying to work out how to do events in the rules to prity much do

if (zone auto switch on ) and temp is more then set point

then do stuff on

else if
zone auto swith on and temp is less then setbpoint

then close zone off or turn ac off if only 1 zone on

im using 1 wire for temps .
I have figured out the switches and stuff just stuck on how to do the comparing of the two values in the rules .
I cant seem to find any examples on how to do biggr then
and less then in rules.
any help is greattly apreaciated
regards jon

Afaik the implemented Drools version does not support else.

Posted by pz1 at Feb 08, 2014 13:34

thats okay I can just do 2 rules
its more how to compare the two values im stuck with

Posted by jon.gillioz at Feb 08, 2014 14:27

so after much stufging around and late nights breaking controllers and lots of forum searching I found part off what I was doing wrong. I was using events instead of levels in the rule but now for the next heardel I get a unable to resolve level object when the controller starts. anyone know what I might be doing wrong.
regards jon
ps im using the latest pro controller on win 7 and ubuntu for my exerimentation

Posted by jon.gillioz at Feb 11, 2014 14:05

When reporting errors and seeking help, please do include the actual error messages with your post. That's usually the most important piece of information for anyone to debug your issue.

And in this case also include the rule you've defined.

Posted by juha at Feb 14, 2014 11:29
Document generated by Confluence on Jun 05, 2016 09:39