Hi, is there a way to send email to a specified address when a specific code is used on a Generic Zwave lock?
I have the Yale yrd226 lock and usually have 20-30 codes setup. I would like to have a rule that will send an email to specified email address when 1 specific code is used. Or ideally setup multiple rules like that for multiple codes.
Thanks in advance!
There is - if you setup one of the community email integrations for Hubitat. Here are a couple:
Designed to be used to send email to your Phone carriers email to text gateway to enable you to get text messges from hubitat.
But also can be used for any emailing as well.
It is actually installed as a device not an app,
It does need a server to gateway your email through like your isp, etc.
It will show up as a native notification device.
Create one device for every sendmail (email:to) endpoint that you want as a notification device.
NOTE: does NOT work if the email server your are go…
Not sure if people are interested but just created a very crude driver & Node App that allows you to send emails via a notification driver and a server running Node & sendmail.
The driver just sends a simple REST post call to the Node http://[your ip]:3000/email which parses the text and uses sendmail to send out.
I am using this in place of SMS alerts for now - US Cell providers have an email to txt message email address for each phone #.
Again this is very crude and unsecure. Will be lookin…
WebCoRE can also send e-mails without any additional setup on the Hubitat side. (As a difference from the above, it can't be used as a "device" to do this with any app — but it can do the actual automation you're looking for run this as an action).
Thanks, since the first 2 options do not support TLS, I think WebCore is a better option. That would take care of sending the email. But how do I create a rule/action for the lock?
I looked at Lock Code Manager app, Device settings, Automation rules - nowhere I see the option to do X when a specific code is entered.
Not true. The second supports TLS.
Something like this as the condition should work, where 1 is the lock code position in my case:
That being said, I haven't played around with this much in webCoRE; there may be a more elegant way.
The piston itself is otherwise quite easy, something like:
If you use Gmail this can send emails from your hub:
Google Calendar, Task, and Gmail Search integrates Hubitat Elevation with your Google Calendar, Tasks, Reminders, and Gmail to automate triggers based on items found matching your search criteria:
Optionally toggle a child virtual switch
Send Push, SMS, and TTS Notifications
Run Rule Machine rule actions
Gmail email notification devices can also be created with this application which will allow you to send email notifications directly from your Hubitat Elevation hub using the Google APIs with…