Alarm sound #46
brjhaverkamp
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
I am creating a homegrown alarm system with zigbee door contacts and PIR motion sensors.
I have wallpanel as a control panel to switch alarm states (off, alarm home, alarm away)
I now also wanted to use the panel to make an alarm sound.
I currently send wallpanel a mqtt message with:
msg.topic="wallpanel/mywallpanel/command";
msg.payload.volume="100"
msg.payload.audio='http://192.196.xx.xxBurglaralarm.mp3'
This works well. But the mp3 is only a couple of minutes. And at the end the sound stops.
Does anyone have a good idea to either loop it, repeat it or othewise make a continuous alarm sound?
(Till the alarm is disabled of course :-)
Kind regards,
Bert
Beta Was this translation helpful? Give feedback.
All reactions