How to configure PIR with openHAB

Tags: #<Tag:0x00007f616e67b430>

I have a 3-in-1 motion detector(light, temperature, motion), Light and temperature items are configured as number

for motion item, I configured it as switch(because the Thing says it is a switch), it didn’t work as it doesn’t sense any motion.

Then I read about people configuring it as contact. so I changed it to Contact, it didn’t work as it doesn’t sense any motion.

The channel does say it is a “motion alarm”, but I don’t see another channel that is “motion sensor” Any help?

Here are some screenshots

Without any information such as OpenHAB version and device information such as model nobody here can do anything but guess.

1 Like

I agree with Bruce in terms of specific help.

However, don’t assume that the problem is the channel just because it is a switch. For my Aeotec trisensors, that motion alarm switch is the correct motion sensing channel. It actually makes sense as a writable switch instead of just a readable contact item because as an “alarm” you might want to be able to deactivate/reset it prior to the automatic timeout reset time (i.e., something just triggered motion on the back yard sensor, oh it was just a bird flying by, I can turn that back off again). More likely the problem is the configuration of the device’s parameters. Without knowing more details about what the device is, what system you’re using, what you’ve tried, and what the logs say, we can’t narrow that down for you.

Double check that the controller is included in the proper association groups. Occasionally, devices will also provide a configuration parameter for enabling/disabling reports for COMMAND_CLASS_ALARM.