QUOTE(Zot @ Nov 17 2018, 06:21 PM)
You forget to close the gate but what if you forget to even check the CCTV. Probably by the time you check CCTV, it is too late already.
Why not make it auto close after certain period but of course with sensor to check nothing obstructing first. This I would say smart gate

Yup, can do that in Home Assistant and that will be what I set if I have an auto gate.
Plug in a Wemos D1 Mini programmed as a binary sensor and plugged in to your car.
When your car starts, the binary sensor connects to your home wifi and becomes connected.
This triggers the auto gate to open through automation.
When your car leave, the binary sensor will disconnect from your home wifi and it will be disconnected.
This will trigger the auto gate to close. Again through automation.
QUOTE(Drian @ Nov 18 2018, 05:31 AM)
man YAML in Home Assistant is pain in the ass to write
Any of you using it with alexa ?
Not really. Yaml is simple. Just that need to get the spacing right.
Got 2 ways of using Alexa through HA:
1) Home Assistant Cloud - if you can afford Starbucks every week, it is not too expensive to subscribe to the HA Cloud. No need to set DNS and port forwarding.
2) Use the free compenents as per this
LINK. More on creating the skill in Alexa and the yaml side.