The Aeon Labs Multifunction Siren now supports the Music Player capability which allows you to use custom sirens and beeps with the SmartApps Smart Home Monitor and Notify with Sound.
Rule Machine is no longer required to utilize all the functionality of this Device Handler, but if you’re using Rule Machine, you can now use all the commands without setting them up as Custom Commands.
Here’s an overview of how you can use these features in the 3 SmartApps mentioned.
Smart Home Monitor
The Custom Monitoring section of SHM supports Audio Notifications and if you choose “Custom Message” for the Notification, you can specify the command to execute in the “Play this message” field.
Speaker Notify with Sound
You can setup a Custom Message action and specify the command to execute in the “Play this message” field.
You can use the “Send or speak a message” action to execute the command. You do this by entering the command in the “Custom message to send” field, enabling the “Speak this message?” option, and choosing the siren for the “On this music device” field.
You can execute any of these commands by entering them exactly as shown into one of the fields described above:
The customAlarm command can be used by entering “customAlarm sound, volume, duration”. The command below will play sound 5 at volume 1 for 60 seconds.
customAlarm 5, 1, 60
The delayedAlarm command can be used by entering “delayedAlarm sound, volume, duration, delay”. The command below would wait 30 seconds and then play sound 4 for 1 minute at volume 2.
delayedAlarm 4, 2, 60, 30
The customBeep command can be used by entering the 5 parameters without any text. The command below will play a 50 millisecond beep using sound 3 at volume 2 and it will do this 5 times with a 1 second pause between each beep.
3, 2, 5, 1000, 50
The startCustomBeep command can be used by entering the 7 parameters without any text. The command below performs the customBeep mentioned above at 10 second intervals for 1 minute.
10, 60, 3, 2, 5, 1000, 50