I have a RPi3 with a PiFace2 Digital setup. The two relays are connected to my garage doors and I’ve connected two reed switches to inputs 0 & 1 to sense if the garage doors are open. Up until yesterday I hadn’t heard of Cayenne so I have a Python Flask webapp that I created that shows me if either my left or right garage door is open, and I can click on the left or right door and it will trigger the relay.
I’d like to abandon my Flask app, and move everything to Cayenne. I’ve added the RPi3 to my Cayenne account. I added the PiFace to the RPi3. But I cannot figure out how to sense the values of the reed switches attached to inputs 0 or 1. And I can’t figure out how to trigger either of the two onboard relay switches.
Any help would be greatly appreciated. Thanks