Siren can go off and on in a repeat mode?

Hi, I have successfully connected Konnected.io to Home Assistant and the siren on the OUT pin. When the alarm is on and triggered, the siren starts. But it goes on forever till somebody is not switching off by APP. Imagine I am in a region where the mobile phone is not connected for an entire day, my neighborhood will kill me!
So I would like to do something like: when the siren goes on it stays on for 5 minutes, switch off for 2 minutes and repeat it 4 times. Then it will stay off.
I have tried putting setting OUT as momentary switch but the relay is not working. Any idea? Thanks