HomeGenie Forum

Automation Program Plugins and Wizard Scripting => Help => Topic started by: vladk1011 on December 18, 2014, 06:31:25 AM

Title: E-mail trigger
Post by: vladk1011 on December 18, 2014, 06:31:25 AM
 I want to create an event to run when receiving certain emails. I need to create a trigger that reads messages from specific e-mail addresses, and compared with the available sample and the coincidence that, triggers the task.
I have no idea how to implement this task programmatically.
Title: Re: E-mail trigger
Post by: bkenobi on December 21, 2014, 04:04:03 PM
HG doesn't have a mail server built in.  If you have a way to check the mail, then you might have a shot.  I used to do this with my gmail account for use with automation, but google clamped down on things and it is no longer possible.  If there is a way to automate checking email again, I'd be very interested in this too since I currently use a string of text messages to record my energy use (meter reading).  If there were a way to parse such data, I could use HG to plot the energy use.
Title: Re: E-mail trigger
Post by: vladk1011 on December 23, 2014, 04:55:44 PM
My goal is to achieve certain scenarios run on command generated  by smartphone. I use android smartphone with the program Tasker, which can send commands to other devices via e-mail, SMS or HTTP POST
Title: Re: E-mail trigger
Post by: bkenobi on December 24, 2014, 05:36:59 AM
HTML post...  If you can call a web page, you could call the HG page to turn on/off whatever modules you want.  You could also set up a wizard script and call it from a web call.
Title: Re: E-mail trigger
Post by: vladk1011 on December 25, 2014, 12:04:52 PM
I would like to get help, how to do it. Any example please