Contants 'SOUND_SIREN'

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
bimse
Posts: 21
Joined: Sunday 05 February 2017 12:09
Target OS: Raspberry Pi / ODroid
Domoticz version: Model 3
Contact:

Contants 'SOUND_SIREN'

Post by bimse »

How do I use the Contants 'SOUND_SIREN' and how to transfer the audio to bluetooth
Translated with google
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: Contants 'SOUND_SIREN'

Post by dannybloe »

The constant is used for the notify command and depending on the notification subsystem you use it is used or not:

Code: Select all

domoticz.notify('My subject', 'My message', domoticz.PRIORITY_LOW, domoticz.SOUND_SIREN)
But then again, not all notification subsystems support this sound argument.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest