Multiple Pushover Devices

I’m having trouble separating my push notifications to 2 devices. When I add {Device=Tom} to the message prefix, both devices, Tom and Karen, receive a message that begins with “{Device=Tom}” rather than just sending the push to Tom.

I’m following this:
[i]Create a separate profile for each Mobile device you would like to send notifications to. You will only need one account on at http://Pushover.net. In each profile you will set the MessagePrefix as follows to identify which device to send the message to:

{device=YourDeviceNameAsListedOnThePushOverWebSite}[/i]

But I’m getting this:
Most profiles support a Parameter called MessagePrefix. The contents of this field will be inserted at the beginning of each Notification Message for the particular profile. Anything that is legal in a Message … is also legal in the MessagePrefix field. If you have multiple Vera’s this is useful for tagging which Vera is initiating the Notification, or for global message options like {timestamp}.

Everything else is working perfectly - thank you very much Richard for this great app!!

Please forgive me if I sound patronizing, it’s sounds like you know what you’re doing (and you’re post looks correct). It really should work as advertised.

But, are you sure “Tom” and “Karen” are your device names, & not your application names?

See attached sample

Chris

Thanks for your help Chris

Attached is my Pushover setup (of course Karen’s phone was enabled when I tried to get this working).

We each have a profile set up with the same UserPushoverID and AppPushover ID. My Profile (Pushover_Tom) has {device=Tom}, Karen has {device=Karen} in the messageprefix.
My username of TP refers to my Pushover_Tom Profile (KP username to Pushover_Karen Profile)

As for my PLEG Action:
If I set the recipient as TP, we BOTH get Pushover_Tom
If I set the recipient as KP, we BOTH get Pushover_Karen

Oh and I have no other vera notifications (email, sms) or PLEG notifications set up. The only notifications I get are set via PLEG Action.

BTW I tried setting up a separate app in Pushover for each device - it looks like you did that Chris??? But that didn’t work either.

So I just set up a separate Pushover account for Karen and that works fine. I’m curious to know if I missed something though :-[

Yeah, that works fine, until (if) you add a second device to Karen’s pushover account, (or yours) then I suspect you’ll have the same problem again. Since you didn’t really fix the problem, only added a fresh account with only 1 device associated with it. I bet the alerts are still being sent to all devices (in this case, all devices is the same as one device)

Everything you post looks correct, I suspect turning debug on & posting you log will be the only way for someone smarter than I to figure it out.

Sorry,

Chris

@ChrisThec
I looked over the code … I have a bug in putting the {device=XXX} in the MessagePrefix … I will fix.

Groovy. :wink: Happy New Year!