I am currently setting up my first openHAB Environment and am running 2.4.0
But I have a the following error popping up when my Rule gets triggered:
22:46:45.836 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'pioneeravr:ipAvr:vsx921' changed from OFFLINE to ONLINE
22:46:46.119 [ERROR] [untime.internal.engine.RuleEngineImpl] - Rule 'Thing_updater': An error occurred during the script execution: index=1, size=1
Here is my rule code:
rule "Thing_updater"
when
Thing "pioneeravr:ipAvr:vsx921" changed to ONLINE
then
postUpdate(vsx921Connected,"ON")
logInfo("Rule Thing Updater triggered")
end
and an excerpt from my items:
Switch vsx921Connected "Connected" (Pioneer) { channel="pioneeravr:ipAvr:vsx921:zone1#power" }
Unfortunately i tried several hours to fix this simple rule, but i can’t figure out my mistake. Maybe somebody a bit more experienced than I am can help?
I expected to manually change the state of my Item whenever my Thing becomes “ONLINE”.