Hi dear friends.
I've been trying to make the sound change or priority work with notifications by fcm (app) for more than a week, but I don't get it, the same sound is always emitted, even if I select "default sound" on my android phone, changing the priority I don't get changes. The script I use is as follows
domoticz.notify("subject" , "message " , domoticz.PRIORITY_HIGH,domoticz.NO_SOUND, "", "fcm" )
domoticz.notify("subject" , "message " , domoticz.PRIORITY_HIGH,domoticz.SOUND_SIREN, "", "fcm" )
Alwais i get the same sound, I also test with telegram but the same result. In the Domoticz payment app they are an option thath is possible add a alarm durinx x seconds. this option is very good .
It would be interesting to be able to mute the sound by adding "No_sound" or changing the "priority level" but I don't get results. There is very little information on the dzvents wiki and internet browsers. Is this feature correctly implemented in domoticz?
Thanks in advance, kind regards
notifications domoticz problem with priority and sound
Moderator: leecollings
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: notifications domoticz problem with priority and sound
Last time I checked using different sounds was only implemented for pushover. All other notification systems ignore the sound parameter dzVents sends and use a default. Nothing I can do about that from a dzVents perspective.kitopopo wrote: Friday 08 May 2020 14:55 I've been trying to make the sound change or priority work with notifications by fcm (app) for more than a week, but I don't get it.
Hopefully someone with good C++ skills and some spare time can dive into this. Sources are in notification subdirectory
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
kitopopo
- Posts: 59
- Joined: Monday 03 December 2018 11:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: notifications domoticz problem with priority and sound
Dear friend,waaren wrote: Friday 08 May 2020 15:24Last time I checked using different sounds was only implemented for pushover. All other notification systems ignore the sound parameter dzVents sends and use a default. Nothing I can do about that from a dzVents perspective.kitopopo wrote: Friday 08 May 2020 14:55 I've been trying to make the sound change or priority work with notifications by fcm (app) for more than a week, but I don't get it.
Hopefully someone with good C++ skills and some spare time can dive into this. Sources are in notification subdirectory
Yesterdey i test the notification with Dzvents and the "priority" now works correctly with telegram X. if i choose priority low the notification arrive to telegram without sound. If i select priority.high the notification arrive with sound.- congratulations. This is a interesting feature.
domoticz.notify("Domoticz", "*Parking !*\nParking test!", domoticz.PRIORITY_LOW,domoticz.SOUND_DEFAULT, "" , "telegram")
Is there a new way to change the notification tone? Thank you
Best regards.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: notifications domoticz problem with priority and sound
As far as I know Telegram added the option to silence the notification when a message arrive with low priority quite some time ago. There were no recent changes in the domoticz / dzVents Telegram implementation.kitopopo wrote: Monday 03 August 2020 22:27 Yesterday i test the notification with Dzvents and the "priority" now works correctly with telegram X. if i choose priority low the notification arrive to telegram without sound. If i select priority.high the notification arrive with sound.- congratulations. This is a interesting feature.
nope. Still the same answer as in my last post here. In fact I am not even sure Telegram supports different sounds controlled by the APIIs there a new way to change the notification tone? Thank you
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Who is online
Users browsing this forum: No registered users and 1 guest