piority and sound with pushover notifications  [Solved]

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

Moderator: leecollings

Post Reply
JdoTMM
Posts: 3
Joined: Thursday 24 August 2017 0:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

piority and sound with pushover notifications

Post by JdoTMM »

Hi all,

After using domoticz for several years now i'm ready for Lua and DZvents :)

Google and this forum are my friends and I have some DZVents working. Only thing I'm having problems with is the priority system within DZVents and the sound with Pushover.

I am getting notifications on pushover without problems, only problem I have is that I can't get the high priority or sound selection working.

Things i've done so far:

I set Pushover to use siren sound for high priority sound and enabled "Always use default for high-priority" and "Play high-priority as alarm" (also with these settings disabled).

The code I use for the notification part:

Code: Select all

domoticz.notify('Brandalarm ' .. name .. ' is al ' .. minutes .. ' minuten geleden afgegaan.', domoticz.PRIORITY_EMERGENCY, domoticz.SOUND_ALIEN)
Tried it with and without the domoticz.SOUND part, used PRIORITY_HIGH as well. But pushover only uses the default sound.

I'm at a loss, I just can't get it to work.

Am I doing something wrong or is it broken?

Any help is appreciated
-----
1 Aeotec ZW090, 2 FIB FGDW002, 1 FIB FGMS001, 3 FIB FGSD002,
4 Neo CoolCam Power plug, 1 Popp 004407, 1 FIB FGS222
1 NodOn CRC-3-1-00, DeConz, Milight, Tuya
mgugu
Posts: 218
Joined: Friday 04 November 2016 12:33
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: France
Contact:

Re: piority and sound with pushover notifications  [Solved]

Post by mgugu »

First notify parameter should be the topic. Try

Code: Select all

domoticz.notify('Domoticz', 'Brandalarm ' .. name .. ' is al ' .. minutes .. ' minuten geleden afgegaan.', domoticz.PRIORITY_EMERGENCY, domoticz.SOUND_ALIEN)
JdoTMM
Posts: 3
Joined: Thursday 24 August 2017 0:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: piority and sound with pushover notifications

Post by JdoTMM »

mgugu wrote: Wednesday 05 January 2022 10:46 First notify parameter should be the topic. Try

Code: Select all

domoticz.notify('Domoticz', 'Brandalarm ' .. name .. ' is al ' .. minutes .. ' minuten geleden afgegaan.', domoticz.PRIORITY_EMERGENCY, domoticz.SOUND_ALIEN)
Thanks mgugu!

That fixed my problem :D
-----
1 Aeotec ZW090, 2 FIB FGDW002, 1 FIB FGMS001, 3 FIB FGSD002,
4 Neo CoolCam Power plug, 1 Popp 004407, 1 FIB FGS222
1 NodOn CRC-3-1-00, DeConz, Milight, Tuya
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest