Changing the general notification msg

New feature and product enhancement ideas and discussions.

Changing the general notification msg

Postby 2L82TRY » Mon Sep 02, 2013 1:49 pm

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.
2L82TRY
 
Posts: 3
Joined: Mon Sep 02, 2013 12:50 pm

Re: Changing the general notification msg

Postby support » Tue Sep 03, 2013 8:06 am

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,
support
Site Admin
 
Posts: 384
Joined: Thu Aug 22, 2013 7:30 pm

Re: Changing the general notification msg

Postby 2L82TRY » Tue Sep 10, 2013 8:55 pm

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?
2L82TRY
 
Posts: 3
Joined: Mon Sep 02, 2013 12:50 pm

Re: Changing the general notification msg

Postby support » Wed Sep 11, 2013 11:04 am

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,
support
Site Admin
 
Posts: 384
Joined: Thu Aug 22, 2013 7:30 pm

Re: Changing the general notification msg

Postby robh » Mon May 05, 2014 10:35 pm

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]);
robh
 
Posts: 1
Joined: Mon May 05, 2014 10:23 pm

Re: Changing the general notification msg

Postby Aadams1278 » Sat Jun 21, 2014 11:14 am

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.
Aadams1278
 
Posts: 6
Joined: Mon Sep 16, 2013 4:26 pm

Re: Changing the general notification msg

Postby fireemt538 » Wed Jul 16, 2014 7:30 pm

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
fireemt538
 
Posts: 7
Joined: Thu Sep 05, 2013 9:08 pm

Re: Changing the general notification msg

Postby Mikedibble » Sat Jul 19, 2014 6:22 pm

You got my vote. I think it would be a great feature for all users.
Mikedibble
 
Posts: 6
Joined: Thu Dec 12, 2013 4:43 pm

Re: Changing the general notification msg

Postby mandalay » Thu Aug 21, 2014 11:30 am

Got my vote as well. Please add it in the next update if possible. Thanks.
mandalay
 
Posts: 16
Joined: Wed Aug 20, 2014 1:45 am

Re: Changing the general notification msg

Postby ToddG » Thu Sep 04, 2014 7:27 pm

You got my vote as well!
ToddG
 
Posts: 6
Joined: Sun Aug 25, 2013 4:34 pm

Next

Return to New Feature Requests



cron