Open simonrb2000 opened 7 years ago
Would you post your logs of when the door opens? It's very possible that there is a bug in that code because I don't have an open door sensor (I only have a closed door sensor) so I haven't really tested it.
I probs. How do I get the logs? Sorry never had to debug before
On 10 Mar 2017, at 19:40, Ben La Monica notifications@github.com<mailto:notifications@github.com> wrote:
Would you post your logs of when the door opens? It's very possible that there is a bug in that code because I don't have an open door sensor (I only have a closed door sensor) so I haven't really tested it.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/benlamonica/homebridge-rasppi-gpio-garagedoor/issues/25#issuecomment-285765075, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APQCAO0BOyEHL-9qp11BmApGaOne8crZks5rkacrgaJpZM4MZf6W.
Can't find logs anywhere. I am running via systemctl. This is what I have found. Shows as door STOPPED - thats when homekit appears to lose connection
Just to clarify I have a closed sensor which works great, I just wanted a fully open sensor as well. I assumed it would work like if the door was opened but it didn't fully open then you would get some sort of warning maybe
Mar 10 22:35:26 raspberrypi homebridge[18420]: [3/10/2017, 10:35:26 PM] [Garage Door] GarageDoor is OPEN (0) Mar 10 22:35:27 raspberrypi homebridge[18420]: [3/10/2017, 10:35:27 PM] [Garage Door] Setting state to 1 Mar 10 22:35:27 raspberrypi homebridge[18420]: [3/10/2017, 10:35:27 PM] [Garage Door] Triggering GarageDoor Relay Mar 10 22:35:27 raspberrypi homebridge[18420]: [3/10/2017, 10:35:27 PM] [Garage Door] Turning on GarageDoor Relay, pin 4 = 1 Mar 10 22:35:28 raspberrypi homebridge[18420]: [3/10/2017, 10:35:28 PM] [Garage Door] Turning off GarageDoor Relay, pin 4 = 0 Mar 10 22:35:47 raspberrypi homebridge[18420]: [3/10/2017, 10:35:47 PM] [Garage Door] Set current state to CLOSED Mar 10 22:36:21 raspberrypi homebridge[18420]: [3/10/2017, 10:36:21 PM] [Garage Door] Door state changed to STOPPED Mar 10 22:36:36 raspberrypi homebridge[18420]: [3/10/2017, 10:36:36 PM] [Garage Door] GarageDoor is OPEN (0) Mar 10 22:37:07 raspberrypi homebridge[18420]: [3/10/2017, 10:37:07 PM] [Garage Door] GarageDoor is STOPPED (4) Mar 10 22:37:17 raspberrypi homebridge[18420]: [3/10/2017, 10:37:17 PM] [Garage Door] Door state changed to CLOSED
Thanks, what you pasted was the logs, that's what I wanted. I'll take a look at the code and see what I can find.
Thanks, anything you require let me know.
On 11 Mar 2017, at 14:52, Ben La Monica notifications@github.com<mailto:notifications@github.com> wrote:
Thanks, what you pasted was the logs, that's what I wanted. I'll take a look at the code and see what I can find.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/benlamonica/homebridge-rasppi-gpio-garagedoor/issues/25#issuecomment-285871349, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APQCANZNYW-cCW98lZXjMKFyKwfDh4qcks5rkrUZgaJpZM4MZf6W.
Any ideas on this?
Hi,
i have the same issue as simonrb2000 with an additional DoorOpenSensor.
Would be great to use HomeKit AND a wall swtich together with correct states/function.
Hi all,
I got the idea of adding a reed switch to detect the door when it is open from your readme. I have installed it and it works fine on the raspberry pi and gpio user has access to the pin. 1 is when its open and 0 is when its closed.
I have added the required line to the config and homebridge starts fine. The issue I am getting is when the garage door is opened from the wall switch or from any means other than homekit then homekit comes up with no response when its open. So I can't close it. Normal situation is pulling up in the car and opening the garage using the opener in the car, then once car is in the garage I use Siri to close it (don't have to carry an opener with me that way).
Possible polling the switch too early? Any ideas?
This is a snippet of config