more G-Labs products

Author Topic: E-mail trigger  (Read 1581 times)

December 18, 2014, 06:31:25 AM
Read 1581 times

vladk1011

  • *
  • Information
  • Newbie
  • Posts: 4
 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.
« Last Edit: December 21, 2014, 06:17:25 AM by vladk1011 »

December 21, 2014, 04:04:03 PM
Reply #1

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
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.

December 23, 2014, 04:55:44 PM
Reply #2

vladk1011

  • *
  • Information
  • Newbie
  • Posts: 4
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

December 24, 2014, 05:36:59 AM
Reply #3

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
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.

December 25, 2014, 12:04:52 PM
Reply #4

vladk1011

  • *
  • Information
  • Newbie
  • Posts: 4
I would like to get help, how to do it. Any example please