washcroft / HttpGarageDoorController

A project for an Arduino based WiFi-enabled controller, IoT/M2M enabling an ordinary garage door operator.
MIT License
11 stars 4 forks source link

Auto closing #5

Closed davidkinders closed 6 years ago

davidkinders commented 6 years ago

Hello,

I have a problem: When the door is open (sensor triggerd) the door automatically is closing around 42 seconds. Can't find the problem.

Kind regards David

washcroft commented 6 years ago

Hello David, Do you have DOOR_AUTO_CLOSE_TIME set in your config? It should be 0 if you don't want to use that feature.

davidkinders commented 6 years ago

The time was set to 5min (30000), so i did't think this was the problem. But that seems cause the problem, thanks.

BTW great code!

Kind regards David

washcroft commented 6 years ago

I wonder if your sensors aren't being read properly? The door should only close after DOOR_AUTO_CLOSE_TIME has elapsed since the door state last become "open" (open sensor active, closed sensor inactive).