Page 1 of 1

Notification sounds in the domoticz mobile app

Posted: Saturday 14 July 2018 8:01
by hmjgriffon
So I have notification settings for some of my scripts to send to the mobile app on my phone, they go to my phone just fine, but I specified a sound to play in the script, and in the app on the phone for the sound to override my phone's volume settings. Does anyone have this working? The notification line in my script looks like this as an example.

Code: Select all

domoticz.notify('The '..device.name..' was opened!', domoticz.PRIORITY_EMERGENCY, domoticz.SOUND_SIREN)
Everything seems to work but I don't hear any siren sound on my phone, if I turn up the volume, I just hear a generic sound. Would love to if possible make certain scripts play a loud noise on my phone regardless of volume level, do not disturb, etc. to get my attention.

Re: Notification sounds in the domoticz mobile app

Posted: Saturday 14 July 2018 11:26
by Lebo2d9
hmjgriffon wrote:So I have notification settings for some of my scripts to send to the mobile app on my phone, they go to my phone just fine, but I specified a sound to play in the script, and in the app on the phone for the sound to override my phone's volume settings. Does anyone have this working? The notification line in my script looks like this as an example.

Code: Select all

domoticz.notify('The '..device.name..' was opened!', domoticz.PRIORITY_EMERGENCY, domoticz.SOUND_SIREN)
Everything seems to work but I don't hear any siren sound on my phone, if I turn up the volume, I just hear a generic sound. Would love to if possible make certain scripts play a loud noise on my phone regardless of volume level, do not disturb, etc. to get my attention.
Hi, i use macrodroid to play the notitifications. You can adapt the action to play a sirene sound.
Image

Re: Notification sounds in the domoticz mobile app

Posted: Sunday 15 July 2018 8:04
by hmjgriffon
Lebo2d9 wrote: Saturday 14 July 2018 11:26
hmjgriffon wrote:So I have notification settings for some of my scripts to send to the mobile app on my phone, they go to my phone just fine, but I specified a sound to play in the script, and in the app on the phone for the sound to override my phone's volume settings. Does anyone have this working? The notification line in my script looks like this as an example.

Code: Select all

domoticz.notify('The '..device.name..' was opened!', domoticz.PRIORITY_EMERGENCY, domoticz.SOUND_SIREN)
Everything seems to work but I don't hear any siren sound on my phone, if I turn up the volume, I just hear a generic sound. Would love to if possible make certain scripts play a loud noise on my phone regardless of volume level, do not disturb, etc. to get my attention.
Hi, i use macrodroid to play the notitifications. You can adapt the action to play a sirene sound.
Image
thanks i'll give it a shot.