I have the following device:
Voltage: DC 6-36V
Output current: 300mA
3 Wire
Polarity: NPN
Detection Distance: 4 mm
Ouput Status: Normally Open
The sensor is working, every time metal is detected, the led on top of the sensor is lightning up. I installed the Domoticz hardware Generic sysfs GPIO and added the following in a file named sysfs_init.sh (like ubee did). The following settings are in the file:
- echo 23 > /sys/class/gpio/export
- echo out > /sys/class/gpio/gpio23/direction
- echo 1 > /sys/class/gpio/gpio23/active_low