This page last changed on Sep 14, 2015 by ebariaux.

A new Pro release is now available for Pro Users.
Version 1.2.0 includes fixes and improvements to the on-line Designer as well as the Controller and WebConsole.

The Designer relaxes a limitation on the In-memory Virtual Command protocols, allowing greater freedom in its usage.
Please check the documentation for more information.

The Pro controller now allows usage of the Z-Wave 2.0 stack.
The older 1.0 stack is still bundled by default, but you can download the 2.0.0 zwave.jar from the forums and use it with this version.
Note that auto-discovery is not yet supported with the 2.0 stack.
It also includes improvements to the 1-wire, HTTP russound protocols, specific logging messages during drools evaluation and new commands on the RRD4J protocol (see here for more information).

Online Designer 1.2.0

New features:
  • MODELER-561 - Relax limitations on commands usable for In-memory Virtual Commands
  • MODELER-562 - Include device name and id in generated controller.xml
Bug fixes:
  • MODELER-441 - Delete key only deletes the last object in a multiple selection
  • MODELER-546 - Support building Designer using JDK 7

Controller 1.2.0

New features:
  • ORCJAVA-440 - Implement Z-Wave command classes that are needed for configuring Z-Wave nodes
  • ORCJAVA-480 - Implement the Z-Wave security layer (COMMAND_CLASS_SECURITY)
  • ORCJAVA-452 - Add ability to reset RRD4J graph time axis
  • ORCJAVA-481 - Add log messages to Rules Engine
  • ORCJAVA-475 - Improve 1-wire implementation
  • ORCJAVA-461 - Improvements to the Russound protocol implementation
  • ORCJAVA-465 - Update HTTP protocol to extend ReadCommand instead of implementing EventListener
  • ORCJAVA-464 - Add possibility of ReadCommand implementations to define their polling interval
  • ORCJAVA-331 - Create unit tests for Vera protocol integration.
  • ORCJAVA-370 - Add X10 logging category
  • ORCJAVA-472 - More lenient CORS headers
Bug fixes:
  • ORCJAVA-350 - False warning in X10 implementation
  • ORCJAVA-351 - False warning in KNX implementation
  • ORCJAVA-352 - False warning with in-memory virtual commands
  • ORCJAVA-491 - False warning in ISY-99 protocol implementation
  • ORCJAVA-446 - Rule logger does not work correctly with range sensors.
  • ORCJAVA-322 - Weird URL in example of security constraint in web.xml
  • ORCJAVA-341 - Update Vera implementation to use locale independent string case conversions
  • ORCJAVA-342 - Update X10 implementation to use locale independent string case conversions
  • ORCJAVA-343 - Update Russound implementation to use locale independent string case conversions
  • ORCJAVA-344 - Update DSCIT100 implementation to use locale independent string case conversions

Web Console 2.1.4

New features
  • WEBCONSOLE-80 - Increase timeouts for REST calls to help with slow connections
  • WEBCONSOLE-83 - Enhance user configuration options
  • WEBCONSOLE-86 - Make the web view widget interactive so that mouse clicks etc. are passed through
  • WEBCONSOLE-89 - Add persistence for console orientation
Bug fixes
  • WEBCONSOLE-84 - Web Element not correctly identifying URL prefix
  • WEBCONSOLE-85 - Absolutely positioned screen background images not working
  • WEBCONSOLE-87 - ImageProxy should return the requested url in the same format as it is stored rather than trying to convert it to PNG format
  • WEBCONSOLE-88 - Possible Null reference exception at startup trying to determine the default console size
  • WEBCONSOLE-90 - Improve sensor handing robustness when controller error occurs
  • WEBCONSOLE-91 - Welcome screen is shown on every console load not just the first time after a version update

Upgrade seems OK on Synology DS212+

Posted by pz1 at Sep 14, 2015 14:51

works like a charm on a Qnap. thanks guys!

Posted by darkell at Sep 14, 2015 16:29

The rule below now fails to compile with the new controller...all others work...

(credit to Mr.Rutka on the syntax...been working beautifully until this controller version)

[Rule "washer count to verify running"
timer(int: 1s)
when
Event($s: source, $v: value, source=="washer_sensor", value=="on")
$evt : CustomState( source=="VM_14_sensor", $h : value)
then
double notRunning = Double.parseDouble($h.toString()) + 1;
execute.command("VM_14_status",notRunning);
end]

Log:

[INFO 2015-09-21 17:58:07,096 :

--------------------------------------------------------------------

DEPLOYING NEW CONTROLLER RUNTIME...

--------------------------------------------------------------------

ERROR 2015-09-21 17:58:07,658 : Rule definition 'modeler_rules.drl' could not be deployed. See errors below.
ERROR 2015-09-21 17:58:07,658 : Rule Compilation error The method command(String, String) in the type CommandFacade is not applicable for the arguments (String, double)
ERROR 2015-09-21 17:58:07,658 : There was an error parsing the rule definition 'modeler_rules.drl' : Could not parse knowledge.
java.lang.IllegalArgumentException: Could not parse knowledge.
at org.drools.builder.impl.KnowledgeBuilderImpl.newKnowledgeBase(KnowledgeBuilderImpl.java:58)
at org.openremote.controller.statuscache.rules.RuleEngine.getValidKnowledgePackages(Unknown Source)
at org.openremote.controller.statuscache.rules.RuleEngine.start(Unknown Source)
at org.openremote.controller.statuscache.EventProcessorChain.start(Unknown Source)
at org.openremote.controller.statuscache.StatusCache.start(Unknown Source)
at org.openremote.controller.deployer.Version20ModelBuilder.buildSensorModel(Unknown Source)
at org.openremote.controller.deployer.Version20ModelBuilder.build(Unknown Source)
at org.openremote.controller.deployer.AbstractModelBuilder.buildModel(Unknown Source)
at org.openremote.controller.service.Deployer.startup(Unknown Source)
at org.openremote.controller.service.Deployer.softRestart(Unknown Source)
at org.openremote.controller.service.Deployer$ControllerDefinitionWatch.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)]

If I comment out "// double notRunning = Double.parseDouble($h.toString()) + 1;" it compiles.

Any ideas?

Posted by niedejb at Sep 22, 2015 00:04

ERROR 2015-09-21 17:58:07,658 : Rule Compilation error The method command(String, String) in the type CommandFacade is not applicable for the arguments (String, double)

You can force casting to string:

execute.command("VM_14_status",notRunning+"");

But, the fact that a new controller version breaks old rules makes me bit uncomfortable.

Posted by aktur at Sep 22, 2015 15:31

Strange that it ever worked, the method is clearly expecting a String for the second argument.
You can use Michal's code or use

execute.command("VM_14_status", Double.toString(notRunning));
Posted by ebariaux at Sep 22, 2015 16:50

Thanks again...

"execute.command("VM_14_status",notRunning+"");"

worked for me.

Posted by niedejb at Sep 23, 2015 00:08
Document generated by Confluence on Jun 05, 2016 09:33