Notifications always appear on two lines

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
User avatar
leecollings
Posts: 167
Joined: Tuesday 30 June 2015 18:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: United Kingdom
Contact:

Notifications always appear on two lines

Post 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?
Attachments
Pushover-Notification-iOS.PNG
Pushover-Notification-iOS.PNG (277.13 KiB) Viewed 2221 times
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Notifications always appear on two lines

Post 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
I am not active on this forum anymore.
User avatar
leecollings
Posts: 167
Joined: Tuesday 30 June 2015 18:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: United Kingdom
Contact:

Re: Notifications always appear on two lines

Post 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?
User avatar
leecollings
Posts: 167
Joined: Tuesday 30 June 2015 18:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: United Kingdom
Contact:

Re: Notifications always appear on two lines

Post 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?
User avatar
leecollings
Posts: 167
Joined: Tuesday 30 June 2015 18:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: United Kingdom
Contact:

Re: Notifications always appear on two lines

Post by leecollings »

Anyone getting the same behaviour?
User avatar
gizmocuz
Posts: 2712
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Notifications always appear on two lines

Post by gizmocuz »

leecollings wrote:Anyone getting the same behaviour?
it is called "subject" and "Body", both are the same in this case
Quality outlives Quantity!
User avatar
leecollings
Posts: 167
Joined: Tuesday 30 June 2015 18:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: United Kingdom
Contact:

Re: Notifications always appear on two lines

Post 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?
malarcy
Posts: 50
Joined: Sunday 15 November 2015 13:36
Target OS: Linux
Domoticz version:
Contact:

Re: Notifications always appear on two lines

Post 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.
User avatar
leecollings
Posts: 167
Joined: Tuesday 30 June 2015 18:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: United Kingdom
Contact:

Re: Notifications always appear on two lines

Post 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.
User avatar
jvdz
Posts: 2445
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Notifications always appear on two lines

Post 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
JeroenL
Posts: 56
Joined: Sunday 27 December 2015 19:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Netherlands
Contact:

Re: Notifications always appear on two lines

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest