The relay will need to stay on for the antenna to be up as stated. You could conserve power by shutting off the antenna and then turning off the green wire relay. But I think you will need a microcontoller to get that done.
Have you thought about an Aduino?
https://www.instructables.com/id/Aut...n-Coop-Door-2/