I'm using a PiFace board on my RaspberryPi3. It is working fine.
I use 4 outputs, 2 ON/OFF switches and 1 button. This works fine.
Today I wanted to add another input switch, but then something strange happens.
It is an normal ON/OFF Switch with 5mtr of coax cable.
When the contact is made, it is shown in domoticz.
When the contact is open (after it was made) the input in domoticz keeps switching on and off.
When I disconnect the cable it stops.....
The piface.conf file is build like this.
Code: Select all
piface.0.input.3.enabled=true
piface.0.input.3.pin_type=level
piface.0.input.3.count_enabled=false
piface.0.input.3.count_type=generic
piface.0.input.3.count_update_interval_sec=1