Author Topic: Email server actions  (Read 608 times)

bgardels

  • Newbie
  • *
  • Posts: 2
Email server actions
« on: July 05, 2010, 09:47:23 PM »
I would like to be able to send an email every half hour if 1 or more pulse counts occur and provide the number of pulse counts in the email.  Also, reset the count to 0.  This does not appear possible to me.  Does anybody agree or disagree?

I also attempted to send an email when pulse counts hit a certain count and it doesn't work.  Any thoughts on what I'm doing wrong?  It works fine, however, if I set to send an email on a simple input change.

Thanks.

iobridge

  • Administrator
  • Hero Member
  • *****
  • Posts: 668
    • ioBridge Support
Re: Email server actions
« Reply #1 on: July 06, 2010, 01:35:07 AM »
You can do this...

To send an email based on pulse count is a two step process:

1) Add an Onboard Rule to Push Count every 1800 seconds (30 minutes)

You do this on the Actions tab, and select the Onboard Rules for your module. Add a Rule, select Push Update Rule >> Pulse Count (Push at Interval and Reset Count) >> Select the Channel and the Time Interval of 1800 seconds

2) Now that we are receiving the pulse count every 30 minutes, you need to test it to see if you want an email sent.

You need to create a Message Action under the Actions tab. Click Create Action >> Pulse Count Messaging >> Select your module and channel >> Greater than or equal to 0

That will send an email every 30 minutes. If you want it to only send it when it's over a certain limit adjust the limit "Greater than or equal to XXX"

In the subject or the body of the email you can include the pulse count by using the variable %%input%%

Let's us know if you get it working.
ioBridge Support
Community Team

bgardels

  • Newbie
  • *
  • Posts: 2
Re: Email server actions
« Reply #2 on: July 10, 2010, 10:53:38 AM »
Very cool!  It's working.  This was more or less my first io-204 test to see what I can do with a PIR sensor I had laying around.  I now receive a text message of the number of pulses generated every 15 minutes only if pulses are generated.  Thanks.

mrich01

  • Newbie
  • *
  • Posts: 18
Re: Email server actions
« Reply #3 on: February 11, 2011, 12:47:19 PM »
Any chance this could be added to the wiki when time allows.  I spent a while wondering how to set a channel to push the pule count or if it was even needed for the messaging action before I found this and got it all working.

Many thanks.