Page 1 of 1

Notifications always appear on two lines

Posted: Thursday 02 July 2015 13:12
by leecollings
I've tried to use notifications on my phone with both Prowl and Pushover. I think I'm going to stick with Pushover, for the Android support.

But anyway, I've entered a message in the 'Custom message' field as such:
There is someone at the front door.

But when the notification comes on my phone, it appears twice (see screenshot).

Is there anyway I can set a title, and the main notification text in the above Custom Message field? Or at least, just have one line showing?

Re: Notifications always appear on two lines

Posted: Thursday 02 July 2015 13:14
by ThinkPad
I think it is the same as this problem: http://domoticz.com/forum/viewtopic.php?f=6&t=6352 (body is used as subject also). But according to gizmocuz it should be fixed >= version 2411

Re: Notifications always appear on two lines

Posted: Thursday 02 July 2015 13:55
by leecollings
Well in my version of Domoticz, which is higher (which is what I think that's referring to) it's still appearing in both the subject and body.

Maybe there should be two fields (like sending a custom notification from Settings), rather than just one field for 'Custom Message' for a switch?

Re: Notifications always appear on two lines

Posted: Thursday 02 July 2015 20:10
by leecollings
Does this happen for anyone else or is it just me? I would think it a bit strange if it was, I'm not doing anything special...

It happens on both Pushover and Prowl though, and even carries the same behaviour through to my mac. So I believe there should be something within Domoticz to allow separation of Subject and Body on custom messages.

Has anyone got any ideas?

Re: Notifications always appear on two lines

Posted: Thursday 09 July 2015 13:32
by leecollings
Anyone getting the same behaviour?

Re: Notifications always appear on two lines

Posted: Friday 10 July 2015 16:49
by gizmocuz
leecollings wrote:Anyone getting the same behaviour?
it is called "subject" and "Body", both are the same in this case

Re: Notifications always appear on two lines

Posted: Friday 10 July 2015 16:51
by leecollings
Yeah, im understanding that. Is there anyway to provide both a subject and body message within the one custom message field in Domoticz?

Re: Notifications always appear on two lines

Posted: Sunday 15 November 2015 13:51
by malarcy
Did you ever get anywhere on this - I get the same effect - from a notification on a manually created dummy switch custom message appears as both Subject and Body - if no custom message then I get <device name> >> <state> (e.g. test 1 >> OFF ) as both subject and body.

Re: Notifications always appear on two lines

Posted: Thursday 31 March 2016 9:52
by leecollings
No, didn't get anywhere. No one replied with any additional info, and I didn't end up working it out.

I might go back to it, as there's been quite a few updates since, and see if it's any different.

Re: Notifications always appear on two lines

Posted: Thursday 31 March 2016 11:37
by jvdz
Looking at the source it looks like the subject should be set to "Domoticz" in case the subject is equal to the message, so guess they are not 100% the same or something isn't working as it is supposed to.

Jos

Re: Notifications always appear on two lines

Posted: Saturday 05 November 2016 20:55
by JeroenL
Hi, do not know what I changed, but since today, I get all my notifications 7 times. Independant of the system (email / Prowl / Pushbullet).
Anyone a clue where to look?

Thanks.

UPDATE:

Got it fixed: My devices were recursively triggering each-other, hence multiple notifications were send. I moved the devices to slave, and made the master send the notifications, this fixes it.