Fibare Motion does not turn on lights

  • Platform information:
    • Hardware: CPUArchitecture/RAM/storage
    • OS: what OS is used and which version
    • Java Runtime Environment: which java platform is used and what version
    • openHAB version:
  • Issue of the topic: please be detailed explaining your issue
  • Please post configurations (if applicable):
    • Items configuration related to the issue
    • Sitemap configuration related to the issue
    • Rules code related to the issue
    • Services configuration related to the issue
  • If logs where generated please post these here using code fences:

Hi All,
I can use some help. I have added a Fibaro Motion sensor to Openhab2. Unfortunately i have issues switching the lights on when motion is detected. I have below items / sitemap and rules. Strange thing is that when motion is detected i can see that it switches the toggle in the sitemap but somehow it refuses to turn on the light. Already tried a lot of options like “received update” or “changed” or “changed from 0 to 1” but nothing works. Anyone any idea??

Item:
Switch Motion_Alarm { channel=“zwave:device:0cd1a64c:node2:sensor_binary” }

Sitemap:
Frame {
// Motion
Switch item= Motion_Alarm
}

Rule:
rule "Motion_Lights"
when
Switch Motion_Alarm changed from OFF to ON
then
sendCommand(Office_Toggle, ON)
end

Hi,

try instead of
Switch Motion_Alarm changed from OFF to ON

this code
Item Motion_Alarm changed from OFF to ON

Ciao
HFM

Thanks a lot HFM!! Works now!!

1 Like

You are welcome! :wink: