# VMBPIR-20 Motion detection of animals?

**URL:** <https://forum.velbus.eu/t/vmbpir-20-motion-detection-of-animals/17687>\
**Category:** English\
**Created:** [February 6, 2025, 9:01am UTC](https://forum.velbus.eu/t/vmbpir-20-motion-detection-of-animals/17687 "2025-02-06T09:01:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![PrzemoF](https://forum.velbus.eu/user_avatar/forum.velbus.eu/przemof/32/4758_2.png) [@PrzemoF](https://forum.velbus.eu/u/PrzemoF)\
**Post date:** [February 6, 2025, 9:01am UTC](https://forum.velbus.eu/t/vmbpir-20-motion-detection-of-animals/17687/1 "2025-02-06T09:01:15Z")

</div>

Has anyone tried to use VMBPIR-20 module for motion detection of small animals? I want to use it as a “cat detector”. It will be used in much closer distance than the max 5 m from the specification, but the “object” obviously is much smaller. I assume that for a PIR sensor the important part is the angular size of the object being detected, so if I keep the sensor close to the cat 😀 it should work as expected?

---

<div class="post-metadata">

**Author:** ![MDAR](https://forum.velbus.eu/user_avatar/forum.velbus.eu/mdar/32/4215_2.png) [@MDAR](https://forum.velbus.eu/u/MDAR)\
**Post date:** [February 6, 2025, 10:46am UTC](https://forum.velbus.eu/t/vmbpir-20-motion-detection-of-animals/17687/2 "2025-02-06T10:46:59Z")

</div>

Does your cat (I assume it’s your cat your trying to detect) wear a collar?

Would a small Bluetooth beacon be a better option?

What are you trying to achieve?

* * *

Google search for  
_cat ble beacon tags_

[https://www.google.com/search?q=cat+ble+beacon+tags](https://www.google.com/search?q=cat+ble+beacon+tags)

* * *

This is a bit wild, but might be an idea

> **[RFID Cat Door](https://www.instructables.com/RFID-cat-door/)**
>
> RFID Cat Door: This is a cat door/flap that can only be opened by the animal that wears the appropriate RFID tag. Arduino controls the process. It features a custom made antenna large enough to function as a gate, which makes it easy for the animal...

---

<div class="post-metadata">

**Author:** ![PrzemoF](https://forum.velbus.eu/user_avatar/forum.velbus.eu/przemof/32/4758_2.png) [@PrzemoF](https://forum.velbus.eu/u/PrzemoF)\
**Post date:** [February 6, 2025, 11:54am UTC](https://forum.velbus.eu/t/vmbpir-20-motion-detection-of-animals/17687/3 "2025-02-06T11:54:11Z")

</div>

The cat is chipped and I know I can get a cat door that works with that chip. No collar, so the RFID is not an option.  
I’m trying to automate ventilation of the litter box area (1m x 1m shaft with an extract fan in the ceiling) . I already have the extract fan controlled by velbus. Now I want to start it and keep it running for 30 min after there is any activity in the litter box. Showing notification “Human, clean the box!” on TV will be done by openHAB.

I’ll hook up the sensor to the velbus network and see how does it react to the cat passing by. 🤓

---

<div class="post-metadata">

**Author:** ![MDAR](https://forum.velbus.eu/user_avatar/forum.velbus.eu/mdar/32/4215_2.png) [@MDAR](https://forum.velbus.eu/u/MDAR)\
**Post date:** [February 6, 2025, 7:49pm UTC](https://forum.velbus.eu/t/vmbpir-20-motion-detection-of-animals/17687/4 "2025-02-06T19:49:25Z")

</div>

Arrrr

A litter tray you say…

Could you put a simple pressure switch under it and connect to a VMBIN or a channel of a VMBxIN ?

But, I can’t see a reason why a closely positioned VMBPIR-20 wouldn’t work

---

<div class="post-metadata">

**Author:** ![PrzemoF](https://forum.velbus.eu/user_avatar/forum.velbus.eu/przemof/32/4758_2.png) [@PrzemoF](https://forum.velbus.eu/u/PrzemoF)\
**Post date:** [February 7, 2025, 8:45am UTC](https://forum.velbus.eu/t/vmbpir-20-motion-detection-of-animals/17687/5 "2025-02-07T08:45:43Z")

</div>

Nope… the tray might be half full or half empty with the cat sand (approx 6 kg of difference). A fancy solution would be a weight scale with local reset button to set it to 0 after every cleaning.

I hope to test the PIR soon…

---

<div class="post-metadata">

**Author:** ![PrzemoF](https://forum.velbus.eu/user_avatar/forum.velbus.eu/przemof/32/4758_2.png) [@PrzemoF](https://forum.velbus.eu/u/PrzemoF)\
**Post date:** [February 8, 2025, 3:27pm UTC](https://forum.velbus.eu/t/vmbpir-20-motion-detection-of-animals/17687/6 "2025-02-08T15:27:35Z")

</div>

I got the PIR detector connected, address set… and in the VelbusLink I see the Motion, Light Dependant Motion, Absence, etc but in openHAB I only see Alarms and CH1 to Ch7 (inputs). Is the binding fully developed? Or it’s my local error / problem?

I have enough knowledge to dig into that, but I just wanted to make sure it’s supposed to be there (i.e. maybe I missed some configuration in VelbusLink)

I use openHAB 4.3.2 Release Build and velbus bindind 4.3.0 from jar file:

```auto
openhab> la -l | grep -i vel                                                                                                                                   
START LEVEL 100 , List Threshold: 0
248 │ Active │ 80 │ 4.3.0.202410011027 │ file:/usr/share/openhab/addons/org.openhab.binding.velbus-4.3.0-SNAPSHOT.jar

```

Should I update it? Or remove and use the one provided with OH 4.3.2?

 ![image](https://forum.velbus.eu/uploads/default/original/2X/d/d4ffb729ee5711055c5fffc9ba5133fde81d533e.png)  
The rest of the velbus ecosystem works fine in openHAB

---

<div class="post-metadata">

**Author:** ![MDAR](https://forum.velbus.eu/user_avatar/forum.velbus.eu/mdar/32/4215_2.png) [@MDAR](https://forum.velbus.eu/u/MDAR)\
**Post date:** [February 9, 2025, 8:30am UTC](https://forum.velbus.eu/t/vmbpir-20-motion-detection-of-animals/17687/7 "2025-02-09T08:30:27Z")

</div>

PIR devices are basically the simple 8 channel profile.

You’ve got the triggers showing.

Consider the channel numbers, rather than look for names.

---

<div class="post-metadata">

**Author:** ![PrzemoF](https://forum.velbus.eu/user_avatar/forum.velbus.eu/przemof/32/4758_2.png) [@PrzemoF](https://forum.velbus.eu/u/PrzemoF)\
**Post date:** [February 9, 2025, 7:22pm UTC](https://forum.velbus.eu/t/vmbpir-20-motion-detection-of-animals/17687/8 "2025-02-09T19:22:02Z")

</div>

I’m probably over-thinking a simple problem. Can I set up OH so it shows me when the motion detector detects something? I’m going to trigger the start of extract fan in Velbus anyway, but I’d like to see the detected movement in OH as well. I tried to add new items (toggle switches) linked to the channels, but they don’t seem to show any activity. I created points from the channels - no activity.

 ![image](https://forum.velbus.eu/uploads/default/original/2X/5/5e886897e32c5698f680fc3927821e01e0fac9d5.png)

Side note: I don’t see any activity on vmb7in either. I use it for electricity consumption - all works fine within the Velbus system. The counters are OK in OH, showing the values as expected, but the input channels - all show NULL

P.S. I backported the latest Velbus code to the version 4.3.2, so maybe I broke something… I-m investigating that now…

---

<div class="post-metadata">

**Author:** ![MDAR](https://forum.velbus.eu/user_avatar/forum.velbus.eu/mdar/32/4215_2.png) [@MDAR](https://forum.velbus.eu/u/MDAR)\
**Post date:** [February 9, 2025, 10:36pm UTC](https://forum.velbus.eu/t/vmbpir-20-motion-detection-of-animals/17687/9 "2025-02-09T22:36:19Z")

</div>

> [@PrzemoF](#):
>
> Can I set up OH so it shows me when the motion detector detects something?

Oh yeah, that’s super easy

Any rule engine you prefer, use the channel as a trigger and look for `PRESSED` or `RELEASED`

After that… Do whatever you want

> [@PrzemoF](#):
>
> I tried to add new items (toggle switches) linked to the channels,

Try creating a `String` Item if you want an Item to be the trigger

###### 

> [@PrzemoF](#):
>
> I don’t see any activity on vmb7in either. I use it for electricity consumption - all works fine within the Velbus system. The counters are OK in OH, showing the values as expected, but the input channels - all show NULL

That’s definitely possible, this is ours

 ![Screenshot_20250209-223848](https://forum.velbus.eu/uploads/default/original/2X/b/bf57fc3540dc0a66422ac0f2e3a3055107a545ee.jpeg)

This has been working for years 😆
