Heres my solution using a relay board and ESPHome
- Buy a power supply (usually 12v)
- Buy a power supply with micro USB connector
- Buy a 12v siren
- Buy an ESP8266 module
- Buy a 2 (or more) relay board - only 1 relay is needed
Wire it like this but where the plug is replace that with your 12v PSU and where the bulb is replace that with your siren (making sure that the blue wire is the negative and the brown wire is the positive)
This guide may help with the ESP Home programming element of it