NotificationChannelEmail Trigger Details

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
topcatsss
Posts: 24
Joined: 24 Nov 2016 22:27
Location: West Sussex, GB

NotificationChannelEmail Trigger Details

Post 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?
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

Re: NotificationChannelEmail Trigger Details

Post by PoltoS »

Please check the custom message field in the notification - you can use the status of each device in the custom message
topcatsss
Posts: 24
Joined: 24 Nov 2016 22:27
Location: West Sussex, GB

Re: NotificationChannelEmail Trigger Details

Post by topcatsss »

hmm not quite sure that works ...

email response
email response
Screenshot 2023-04-13 093916.jpg (71.87 KiB) Viewed 13244 times
config
config
Screenshot 2023-04-13 094057.jpg (33.68 KiB) Viewed 13244 times
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

Re: NotificationChannelEmail Trigger Details

Post by PoltoS »

Sure you have Z-Way version 4.0.2 or upper?
topcatsss
Posts: 24
Joined: 24 Nov 2016 22:27
Location: West Sussex, GB

Re: NotificationChannelEmail Trigger Details

Post by topcatsss »

yup

4.0.3
Screenshot 2023-04-19 094202.jpg
Screenshot 2023-04-19 094202.jpg (14.34 KiB) Viewed 13166 times
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

Re: NotificationChannelEmail Trigger Details

Post 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.
PeggyFletcher
Posts: 1
Joined: 31 Jul 2023 04:36

Re: NotificationChannelEmail Trigger Details

Post 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.
ModToday is an incredibly helpful resource Here for free RPG lovers, offering a rich and varied range of game apps to enhance the playing experience.
Post Reply