I have a motion sensor I am trying to pair with the hub on a Raspberry Pi 4 (Linux raspberrypi 5.4.83-v7l+ #1379 SMP Mon Dec 14 13:11:54 GMT 2020 armv7l GNU/Linux). I gave read and write privileges to the user using sudo chmod g+rw /dev/hidraw0. The sample is able to find the hub plugged into the Pi, but when I go to pair it is not finding the motion sensor. Here is the flow I have tried:
I have a motion sensor I am trying to pair with the hub on a Raspberry Pi 4 (Linux raspberrypi 5.4.83-v7l+ #1379 SMP Mon Dec 14 13:11:54 GMT 2020 armv7l GNU/Linux). I gave read and write privileges to the user using
sudo chmod g+rw /dev/hidraw0
. The sample is able to find the hub plugged into the Pi, but when I go to pair it is not finding the motion sensor. Here is the flow I have tried:sudo python sample.py --device /dev/hidraw0 --debug
Is there a way to enter a sensor strictly by MAC? If not, I am just wondering what I am doing wrong. Here are the debugging logs: