KraigM / homebridge-gpio-garagedoor

RPi GPIO based Garage Door plugin for Homebridge
22 stars 11 forks source link

Separate Open and Close commands, and separate Open and Close state sensors #12

Open varna33 opened 7 years ago

varna33 commented 7 years ago

Hi,

I have two questions:

  1. Can this script be used or adapted to have separate Open and Close commands sent to two GPIO pins? Currently there is only one Commands that is driving the door in unknown direction, depending on where it has been and if it has been stopped in the process. With separate commands it would be right command to close the door when leaving home, or always right direction to open when arriving.

  2. Can this script be used or adapted to have separate Open and Close state sensors connected to two GPIO pins?

That also would give 100% accurate information of door being open, closed, or if none of these true then stuck in middle.

Janis