(Homematic) HG-HM-Sec-MDIR-2 shows motion update in UIs but does not trigger rules

Hi,

anyone has an idea what is wrong here? The homematic device mentioned in the title is a motion detector. Pairing is fine and I can see the MOTION item in paper UI/Sitemap. The state is correctly reflected there.
However if I try to use that state for a rule trigger nothing happens.

Item:

Switch TestBM “TestBM” (Werkstatt) {channel=“homematic:HG-HM-Sec-MDIR-2:xxxxxx:NEQxxxxx:1#MOTION”}

Rule:

rule “debug_motion”

when

Item TestBM changed or

Item TestBM received update or

Item TestBM received command 

then

logDebug("Lights", "Motion triggered: " + TestBM);

end

Regards

edit: No entry in openhab.log, but in events.log though.

Hi,

The HG (when you’re using Homegear) prefix seems to only be neccessary for Things definitions, but not the itmes, e.g.

Could this be the issue?

1 Like

LOL WHAT? That did it :slight_smile:

Thanks mate!