Page 1 of 1

NotificationChannelEmail Trigger Details

Posted: 12 Apr 2023 19:27
by topcatsss
The NotificationChannelEmail module is great.

however would it be possible to grab details of the device that triggered the email alert?

Ie i have a rule set up to send an email when any number of sensors is turned on.
it would be nice to know which sensor turned on in the emal?

Re: NotificationChannelEmail Trigger Details

Posted: 13 Apr 2023 01:47
by PoltoS
Please check the custom message field in the notification - you can use the status of each device in the custom message

Re: NotificationChannelEmail Trigger Details

Posted: 13 Apr 2023 11:41
by topcatsss
hmm not quite sure that works ...

email response
email response
Screenshot 2023-04-13 093916.jpg (71.87 KiB) Viewed 14059 times
config
config
Screenshot 2023-04-13 094057.jpg (33.68 KiB) Viewed 14059 times

Re: NotificationChannelEmail Trigger Details

Posted: 19 Apr 2023 04:22
by PoltoS
Sure you have Z-Way version 4.0.2 or upper?

Re: NotificationChannelEmail Trigger Details

Posted: 19 Apr 2023 11:42
by topcatsss
yup

4.0.3
Screenshot 2023-04-19 094202.jpg
Screenshot 2023-04-19 094202.jpg (14.34 KiB) Viewed 13981 times

Re: NotificationChannelEmail Trigger Details

Posted: 22 Apr 2023 02:16
by PoltoS
This works only in device's notifications (go in device settings and set them there), but not in the Automation section and other modules like NotificationChannelEmail.

https://github.com/Z-Wave-Me/home-autom ... d92daff86e

But you can copy&paste the code to other modules (prepareMessage function). If you decide to do it, you can then contribute and make a pull request.

Re: NotificationChannelEmail Trigger Details

Posted: 31 Jul 2023 04:40
by PeggyFletcher
Hi, I think the NotificationChannelEmail module is really cool but unfortunately it doesn't provide specific details about the device that triggered the email alert. Adding this feature can be useful for users like you who have multiple sensors and want to determine which sensor triggered an alert. I recommend contacting the developers or the community behind the module to suggest this improvement for future updates. They may consider implementing it based on user feedback.