Homeseer Email Integration
Homeseer can send emails but you cannot send emails to Homeseer. Using Jon00‘s Email plugin you can do this. Jon00’s plugin support forum: board.homeseer.com
Functionality: Using email to trigger events and switch devices, integrated web-mail interface, announcements, etc. I use this script for a couple of things of which the Geo-fence GPS tracking integration is one.
For secure connections to your email provider you have to use sTunnel.
1. Instead of configuring Homeseer email to talk to box000.bluehost.com:995 (which Homeseer doesn’t support because port 995 is secure POP3S) you have it talk to localhost:110
2. Stunnel, runs on the localhost, listening on port 110 will pickup the traffic and forward it to box000.bluehost.com:995
(picking up traffic on non-secure port 110 and putting it in an SSL tunnel delivering it on secure port 995 at your email provider)
Jon00_Email —– (localhost:110) —– sTunnel —– (email.com:995) —— EmailProvider
Setup
For the basic setup please check the instructions that you can access after installing the plugin. URL:
https://<homeseer_IP_address:port>/email/Checkpop_readme.htm
If you use Gmail or another email provider that requires a secure connection you have to install sTunnel.
Example configuration for Gmail: here
For my hosting/email provider Bluehost I used the following settings in the stunnel.conf (\Program Files\stunnel)
; Debugging stuff (may useful for troubleshooting)
debug = 4
output = C:\Program Files\Homeseer 2\Debug Logs\0_stunnel.log
; DJ: ADDED: performance tunings
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
; DJ: ADDED: Use it for client mode
client = yes
[pop3s]
accept = 110
connect = box000.bluehost.com:995
NOTE: Check your hostname (‘box000’) in your Bluehost control panel
[imaps]
accept = 993
connect = 143
[ssmtp]
accept = 25
connect = box581.bluehost.com:465
Sending emails using Bluehost
Here’s my HS config to send emails using Bluehost. Configuration:
Sending server (SMTP): localhost:25
Receiving server (POP3): localhost:110
SMTP username: <email-ID>+<domain>.com (yes that’s a plus instead of @)
POP username: <email-ID>@<domain>.com (yes now it’s an @ again)
Use MAPI for email: no
Check email: no
Next
Think about what you want to integrate? Which incoming emails to you want to monitor? Which incoming emails should trigger events/device-actions?
Good luck!
DJ
Note that this config suddenly stopped working for me “sslv3 alert handshake failure”
Can’t figure out why..
DJ