Page 1 of 2

Changing the general notification msg

PostPosted: Mon Sep 02, 2013 1:49 pm
by 2L82TRY
Just wondering if the code could be modified to show the specific sensor triggered. I have multiple sensors and would like to know which one is open instead of the generic open notification. Thanks and love the app.

Re: Changing the general notification msg

PostPosted: Tue Sep 03, 2013 8:06 am
by support
Hi,

You can do this change yourself in the .INO file. If enough people vote for this feature,
we may be adding it as a core product feature in a future release.

Thanks for your input.

Best regards,

Re: Changing the general notification msg

PostPosted: Tue Sep 10, 2013 8:55 pm
by 2L82TRY
Thanks for the reply. I see the generic msg on line 757. Im assuming i can change that to "Garage Door Has Been Opened". How would i go about adding a different msg for each of the pins?

Re: Changing the general notification msg

PostPosted: Wed Sep 11, 2013 11:04 am
by support
Yes. You can change the message to whatever you want. If you want a different message for each
pin, you'd have to implement that additional custom logic in your .INO file. You could have an array
of messages and get the appropriate message from that array, based on the status pin being
triggered.

Again, if you do and it works for you, please be kind and share your code for others to use in
our "Arduino Backend Enhancements" forum.

Best regards,

Re: Changing the general notification msg

PostPosted: Mon May 05, 2014 10:35 pm
by robh
I made a very simple change in order to get the pin# in the prowl message. There are probably better ways to do it, but since I don't see any other examples I thought I would share.

Change line 756
char body[] = "A door or device has just been opened.";

to

char body[100] = "";
sprintf(body, "A door or device has just been opened. PIN %i.", statusPins[i]);

Re: Changing the general notification msg

PostPosted: Sat Jun 21, 2014 11:14 am
by Aadams1278
I'll vote for built in support for different notification messages for different pins. I'm pretty sure I could code that in myself, but built in support for all users is always good for a useful feature which I think this is.

Re: Changing the general notification msg

PostPosted: Wed Jul 16, 2014 7:30 pm
by fireemt538
If anyone is still interested, bheil123 posted what code he wrote to get detailed notifications thru email notifications.... I followed his directions and have it working perfectly set up thru a smtp2go account

Re: Changing the general notification msg

PostPosted: Sat Jul 19, 2014 6:22 pm
by Mikedibble
You got my vote. I think it would be a great feature for all users.

Re: Changing the general notification msg

PostPosted: Thu Aug 21, 2014 11:30 am
by mandalay
Got my vote as well. Please add it in the next update if possible. Thanks.

Re: Changing the general notification msg

PostPosted: Thu Sep 04, 2014 7:27 pm
by ToddG
You got my vote as well!