@richland007: I’m glad you could figure a solution for your problems.
Ragarding your questions: Yes, both trigger pins are connected to one RPi GPIO pin. It works fine for me.
There are two ways for testing your movements:
- In the module-config, set a position: this will display “waiting for movement …” and will change to “Swipe Left” or “Swipe Right” for 2 seconds, if a movement is recognized.
- More precise method: In the module config, set “verbose” to true. This will print to the console (see attached image). The first line means where a potential swipe started. The next two rows give you the measured distanced used to detect a swipe. So far this does not mean we detected a swipe! Only if there is a line “----> Swipe Left” or “----> Swipe Right” a swipe is detected. This output helps you to figure out how fast do move your hand. Sometimes the sensors get noise and try to therefore try to detect a swipe. In this case you won’t see the last line, which means we do not recognize the false positive.
The centers of sensors are 20cm apart from each other. In general you can mount them just as you like, since you can configure the swipe-speed
I hope this helps! Just let me know if you need any further help.