Emailing an AMX system
Irvine_Kyle
Posts: 67
Just had a thought and wanted to get some input on it. For all my jobs I setup the AMX system to monitor it's external IP address and then email via SMTP to keep my records straight.
I've been thinking about trying to get it so that I could email an AMX system a msg. Any ideas on how this would work? I kind of envision it as being something like you send an email to AMX@myhouse.com and then AMX parses out the message to do some kinda script. How would I set this up? Could you emulate a POP3 server?? Or could you make a connection with an ISPs POP3?
I've been thinking about trying to get it so that I could email an AMX system a msg. Any ideas on how this would work? I kind of envision it as being something like you send an email to AMX@myhouse.com and then AMX parses out the message to do some kinda script. How would I set this up? Could you emulate a POP3 server?? Or could you make a connection with an ISPs POP3?
0
Comments
Like Dave, I use the i!EquipmentManager for outgoing email from an AMX system but during initial testing, I did use the module to send an email to an AMX system. The email client portion of the module is based on retrieving email from a POP server and I have successfully used it to retrieve email. Check out the i! module for more information and for the code.
Reese
My initial thought would be to just have the master grab email from an existing POP3. Then just parse the subject field for some predetermined key word. If the key word is found, parse the message body and execute accordingly.
Jeff
AMX.run.welcome home.@4:30pm
or
HAI.open.front gate
you get the picture. I'm just starting to look at the Monitor solution, seems straight forward, and their SMTP is a little more robust than my hack.