I have my old security system door sensors hooked up to the PiFace inputs and a Python program monitoring them. It sends REST commands to my ISY Controller turning a flag on or off when the door opens or closes. In the ISY controller I have logic to send texts, email turn lights on etc. if I am away.
It has been working well for the past year but the last time I was away someone came to my door and rang the door bell. That made it look like one of the doors were opened and I got a text message saying someone was in my house.
In this case I was able to see on the camera who it was and called them to insure it was a false alarm.
I found this thread and though maybe the pull up is what I needed. Playing around with my program it looks like the pull up was already defaulted to on but now I have a write_pullup in the code to make sure it is.
That did not fix my problem though.
Any suggestions what I should try next? Am I doing something wrong?
I guess I could modify my logic to not send the REST command until the door shows open for a full 2 seconds but was hopping not to go that direction.
My last ditch option would be to disconnect the door bell.
Here are the pifaceditialio calls I am using in my program.
front_door = pifacedigitalio.digital_read(0)
Thanks for the help, Ron