FIrst post here, sort of new to Home Assistant, have been toying with this for a while, but the installation of a new electric gate has given me the push over here. I thought I could achieve what I wanted through Alexa and Google, but I realise their routines are just too basic.
So, to just set the scene, the gate installed has a basic remote with two buttons, one is a full gate open, the other is a partial gate open for pedestrian access. The pedestrial access will only operate for it’s when the gate is closed or in its own open state (so you cannot go from full gate open to pedestrial gate open with the pedestrial button - a limitation of the board I’m lead to believe). The gate open button works in all positions.
I have added a smart relay switch which performs the same function as the simple remote, so far, so good.
The issue is, there is no indicator from the board to say what state the gate is in, closed (C), open (O) or pedestrian (P). So say for instance I am out in the car, come home thinking the gate is C but for some reason it is P or O, if I give the verbal command to Alexa or Google to open it, the pulse through the relay will actually close it.
The reality is the smart relay will rarely be used through the app, it will be done through verbal commands, mostly through Alexa at home though we do have Android Auto (though my AA told me the other day that routines were not supported, despite a search saying it was from Feb this this year. Anyhoo), so my thought was to have commands of ‘gate/pedestrian gate open/close’, but where the system can log whether an ‘open’ command has already been given an will not allow a further one until a ‘close’ command had been given.
Apologies for the long-winded explanation, but thought it was worth it in case there was another word around. Just going back to my electronics days and logic gates and thinking ‘how would this play out in that situation?’. Happy days.
Thank you all for your help. Hopefully as I learn the system, I will be able to contribute too!
Stay safe and take care.