This page last changed on Sep 25, 2014 by rmcerlain.

I'm trying to move OR from a MAC to a Raspberry Pi. Everything works on the MAC. I have copied everything to the Pi and the rules no longer work.
All commands work fine. I have Java 7 on the Pi with the patch from the link below.
Any ideas appreciated.

http://www.openremote.org/pages/viewpage.action?pageId=22877075

package org.openremote.controller.protocol

global org.openremote.controller.statuscache.CommandFacade execute;
global org.openremote.controller.statuscache.SwitchFacade switches;

rule "Waketime1"

timer (cron: 0 0 18 ? * 2-6)

when eval(true) then

execute.command("12.1 On");
System.out.println("TimerActive");

end

rule "Waketime2"

timer (cron: 20 0 18 ? * 2-6)

when eval(true) then

execute.command("12.1 Off");
System.out.println("TimerDone");

end

DEBUG 2014-09-25 17:06:32,070 : Created object model for Command( ID = 294, Type = snmp, Properties :

Unknown macro: {port=161, setvalue=1, oid=1.3.6.1.4.1.32111.1.6.2.4, name=12.12 Off, command=set, settype=Integer32, ipAddress=10.2.0.6}
).
DEBUG 2014-09-25 17:06:32,086 : Initializing event processor: Drools Rule Engine
DEBUG 2014-09-25 17:06:32,319 : Adding Rule 'modeler_rules.drl'...
DEBUG 2014-09-25 17:07:07,466 : Adding rule definitions from 'modeler_rules.drl'...
INFO 2014-09-25 17:07:08,719 : Initialized event processor : Drools Rule Engine
DEBUG 2014-09-25 17:07:08,724 : Initializing event processor: RRD4J Data Logger
INFO 2014-09-25 17:07:10,424 : Initialized event processor : RRD4J Data Logger
DEBUG 2014-09-25 17:07:10,429 : Initializing event processor: EmonCMS Data Logger
INFO 2014-09-25 17:07:10,430 : Initialized event processor : EmonCMS Data Logger
DEBUG 2014-09-25 17:07:10,905 : Created object model for sensor 'ts' (ID = '298').
DEBUG 2014-09-25 17:07:11,112 : Created object model for sensor 'Bed A Status' (ID = '299').
DEBUG 2014-09-25 17:07:11,294 : Created object model for sensor 'Bed B Status' (ID = '300').
DEBUG 2014-09-25 17:07:11,431 : Created object model for sensor 'LoungeStatus' (ID = '301').
DEBUG 2014-09-25 17:07:11,511 : Created object model for sensor 'Switch 8*' (ID = '332').
DEBUG 2014-09-25 17:07:11,575 : Created object model for sensor 'Switch 7*' (ID = '334').
INFO 2014-09-25 17:07:11,581 : Registered sensor : Switch Sensor (Name = 'Switch 7*', ID = '334')
INFO 2014-09-25 17:07:11,607 : Registered sensor : Switch Sensor (Name = 'Switch 8*', ID = '332')
INFO 2014-09-25 17:07:11,614 : Registered sensor : Switch Sensor (Name = 'ts', ID = '298')
INFO 2014-09-25 17:07:11,627 : Registered sensor : Switch Sensor (Name = 'Bed A Status', ID = '299')
INFO 2014-09-25 17:07:11,635 : Registered sensor : Switch Sensor (Name = 'Bed B Status', ID = '300')
INFO 2014-09-25 17:07:11,646 : Registered sensor : Switch Sensor (Name = 'LoungeStatus', ID = '301')
INFO 2014-09-25 17:07:11,738 : Startup complete.
INFO 2014-09-25 17:07:11,765 : Controller Definition File Watcher for Default Deployer started.

Document generated by Confluence on Jun 05, 2016 09:38