Email notification with rasperry software

Discussions about RaZberry - Z-Wave board for Raspberry computer
Locked
thaui
Posts: 66
Joined: 28 Jan 2015 19:14

Email notification with rasperry software

Post by thaui »

Is there any module available to send an email if the security status is changing? At the moment it seems that only SMS.ru is suppoted. An email notification needs all the input for smpt, user, PW, and port. Any ideas?
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: Email notification with rasperry software

Post by pofs »

You can always run a shell script with system() call. There's currently no dedicated module to send email :(
jstaffon
Posts: 80
Joined: 29 May 2015 04:47

Re: Email notification with rasperry software

Post by jstaffon »

Exactly how and where do I call "system()" from the Z-Way software? I see the module to add a custom script but it appears to be javascripts placed relative to the "automation" directory. I have ssmtp/mail running on my Raspberry Pi B+ and can send email out just fine. I can easily write a bash script to send an email if I can find where you make the connection between linux and the Z-Way software. I want to send out an email based on a condition that occurs in my z-wave network. Thanks in advance!

Jeff.
jstaffon
Posts: 80
Joined: 29 May 2015 04:47

Re: Email notification with rasperry software

Post by jstaffon »

This post can be closed. It was resolved in:

viewtopic.php?f=3422&t=20743

Thanks to all!
Jeff.
Locked