Gate Open - sensor vs camera AI

Hello

my car gate it’s controlled by a dry contact relay. it’s mandatory that I can see also the status of the gate since I have a dog that sometimes get through the sensors while the gate is closing, therefore the gate will open back.

What option I would have to check the status? I would prefer something that it’s supply from the gate engine bracket 24 V bracket so I will not have to change the battery every few months especially on the winter time paragraph

I also have a camera (dahua) that cover the gate. Would be an option to use camera and AI? I never did that.

Thank you !

You may be able to use frigate to see dog but it likely won’t work well

I would connect an esp32 and maybe simple magnetic sensor to detect open and close state. If you have 2 sensor you may know fully open and fully close and guess moving direction based on

If from open position: closing
If from closed position: opening

You can also have beam sensor that show the object passing entry.

My dog do same thing. They normally do go but randomly decide they want to leave. They know I watch so they wait til just beformgate fully closed to go through. Having the camera is helpful for when I miss them go out. It will show the recent movement and may capture “Dog” and send me notification.

You may also look at Ratgdo. If it can operate your gate motor it may give full detailed movement and state with simple
Connection

1 Like

Some gates have output for open gate status, yours?
Also, battery powered door sensor can easily be modified for wired power just with buck converter.

Hi there. My gate model is Nice Robus 600. I’m not sure if it has function for open gate status, as far i remembr when i istalled, was not.

Found the manual online, so not sure if it applies to your model. Looks like you can hook up something to the SCA port to determine if the gate is open or not

Yes, the next version of Frigate will be able to do this using classification models. I have one setup for my gate for example

So you have open gate status signal and also open and closed limit switches.
So you have pretty nice options to detect the gate.

how could i do this ? i’m still having problems with how should i start ?

We don’t know what kind of setup you have. You wrote your gate is controlled by dry contact relay, but what controls the relay?

Gate gets AC line voltage to go to 24V? You can use that to power esp32 relay. Relay can open/close gate. ESP can also accept input from gate sensors. You may be able to use RatGDO as less DIY solution but I would look online
For esp32 relay and use that to start.

I use the outside door sensor from YOLINK for my gates to tell me if they are open or closed. Since it uses LoRa you can set the sensor up to 1/4 mile away. These are cheap at Amazon for $20 right now.