I am trying to do a complete home security system (intruder deter) with the xiaomi gateway. In this system I would have motion sensors and door sensors. Is it possible to connect a siren with a very high dB to the xiaomi gateway?
The Xiaomi Gateway has a built in speaker with around 10 or so sirens that can be sounded. If you want an example of how to do this just let me know. It goes pretty loud definitely loud enough to deter a would be intruder I also add in TTS with my speakers to warn the intruder that police have been notified etc. If the objective is to make their ears bleed then you may have to do as @sparkydave has suggested.
There are a few steps to it here is the automation
## This will use the Xiaomi Gateway to sound an alarm if the system has been triggered
- alias: Start Siren on Alarm Trigger
- platform: state
- service: xiaomi_aqara.play_ringtone
gw_mac: !secret xiaomimac
- service: light.turn_on
- service: tts.google_say
message: Alarm triggered you have 2 minutes to reset or police will be contacted!
- service: switch.turn_on
I actually do all this through Node-RED but also have the code to do it with yaml in my repo in a dedicated package called alarm system if you need further help.
I am not sure if there is a Xiaomi Siren out there. But what I did was to connect a 3rd party external siren plugged to Xiaomi Smart Plug and used the “Automation Feature”. The Smart Plug turns on whenever the alarm is triggered. And then I use a Mi Wireless button to turn it “off” together with the Gateway alarm. It is now definitely louder than the built in Gateway App. - Hope this helps!
For the siren, any typical third Party siren will do. I used a car alarm siren, which i bought for less than USD6 and used a 12V adaptor to power to up. The trick is to set a conditon in the Gateway that whenever am alarm is triggered it turns ON the Mi smart socket that powers the siren. However, the siren stays ON until you turn OFF the smart socket which i manually turn OFF using a MI wireless switch. . Also, Iart of the settings, i set a 30 secs timer delay before it automatically turns off. Otherwise, it’ll wake up the neighbors.
then Smart socket turns on (this is where plugged the siren)
Set a delay for 1 minute (to keep the siren screamng)
Then turn off the smart switch (where the siren is plugged).
Additional condition (when alarm is triggered)
5. I have a manual remote wireless switch and programmed it that when i press twice, it disarms the gateway alarm and.turns off item 4 above (immediately turn off smart switch that powers the siren)