Here's some feedback on ORPro 2.6.0 and Java 1.8
A small detail is that images attached to buttons don't seem to get transferred at all.
The following rule works perfectly in ORPro 2.5.0 with Java 1.6, but doesn't work at all with ORPro 2.6.0 and Java 1.8
rule "Velbus_to_Loxone_Target Temps"
timer (int: 2s) // Debounce timer
when
$evt:Event(source matches "^.*_Velbus_Target-Status$", $source : source)
then
// The sensor value is the target temperature from Velbus panels
String strValue = $evt.getValue().toString();
int sensorNumber = 0;
String SensorPrefix = "";
try {
// Extract the number from the sensor name
Pattern p = Pattern.compile("^(.*)_Velbus_Target-Status$");
Matcher m = p.matcher($source);
m.matches();
sensorNumber = new Integer(m.group(1));
execute.command(sensorNumber + "_temp-In-memory-set", strValue.toString() );
execute.command(sensorNumber + "_Loxone_TRV_sett", strValue.toString() );
} catch (Exception e) {
System.out.println("############## Velbus Target to Loxone TRV: " + e.getMessage() + " #################");
return;
}
end
I've emailed you the logs to have a look at..... If you have time.
Cheers,
Stuart
Hi Stuart,
this one seems not be able to find rules file at all. It complains with:
2016-08-03 10:56:51,596 ERROR [Controller Definition File Watcher for Default Deployer]: Cannot start event processor 'Drools Rule Engine' : Directory 'file:/C:/ORC260/webapps/controller/rules' does not exist or cannot be read.
org.openremote.controller.exception.InitializationException: Directory 'file:/C:/ORC260/webapps/controller/rules' does not exist or cannot be read.
These lines are from logs/dev/dev.log
So there is probably nothing wrong in the modeller_rules.drl
Kind regards,
Michal
I sent him a copy and when he restarted the controller, the Webconsole was alive and well.
I'll ask him to check if the rules folder is there and if not, to create it.
Thanks for spotting the problem.
Cheers, Stuart
Simply manually adding an empty rules folder has resolved everything:-)
We now have some Loxone and Velbus hardware playing nicely together.
ERROR 2016-08-27 02:52:38,760 : !!! CONTROLLER STARTUP FAILED : null !!!