analog-input-messaging

Analog Input Messaging

Analog Input Messaging allows you to send an email when an analog input reaches a specified trigger or reset point. The IO-204 module requires channel messaging enabled in order for this action to work as expected.


Project Ideas

Using analog input messaging allows to get email alerts from sensor input levels. When a temperature sensor hits a specified analog value, an email is sent. You can also stack another Action to send the email plus kick on a fan.

ioBridge Temperature Sensor – Measure temperature and send a message when temperature gets high

ioBridge Ambient Light Sensor – Measure light level and send a TXT when your light turns on in your room

IR Range Sensor – Measure distance with an Adafruit IR range sensor and send a message when an object gets close to the sensor

Humidity Sensor – HIH-4000-001 – Measure humidity and get an email when it’s time to fill your cigar humidor with water


Creating an Analog Input Messaging Action

  1. Figure out the raw value of the analog input trigger. You can do this by choosing the appropriate analog scale and entering your trigger value. Then change the scale to Raw. Write down this raw value, you’ll need it later
  2. Change the Analog Scale back to the option you want
  3. Set a reasonable Analog Reset value
  4. Set the channel’s messaging mode to Send Message on Analog Trigger

At this point the module is configured to push out a message when the analog value is reached. Now we have to tell the server to watch for it and do something in response.

  1. Go to Actions, Create Action. Hopefully, you’ve already set up an email account
  2. Choose the Analog Input Messaging, then the module and channel
  3. Choose the message account and the type of trigger you want, < = or > =
  4. Enter the raw value you wrote down in step 1 in the Analog Trigger Value box
  5. Enter the message you want emailed and click Create Action


Substitutions

In your message, you can include expressions that will be substituted with data.

%%input%%

This expression will be replaced with the scaled analog value that caused the message to be sent. The scaling is determined by whatever the module channel is set to.

%%condition%%

This expression will be replaced with the logic condition that caused the message to be sent.

%%datetime%%

This expression will be replaced with the date and time when the action is triggered. The time zone used is the same time zone that the module is set to.


Message Limitations

Your user account allows 60 email messages over a 24-hour period. When abuse is detected, account messaging will be temporarily disabled.


Text Messaging

You can also receive notifications to an event as a text message by entering your cell phone’s email address. Your cell phone number can be converted to an email address based on your service provider.

  • AT&T: yournumber@txt.att.net
  • Verizon: yournumber@vtext.com
  • T-Mobile: yournumber@tmomail.net
  • Sprint PCS – yournumber@messaging.sprintpcs.com
  • Virgin Mobile – yournumber@vmobl.com
  • US Cellular – yournumber@email.uscc.net
  • Nextel – yournumber@messaging.nextel.com
  • Boost – yournumber@myboostmobile.com
  • Alltel – yournumber@message.alltel.com

Note: ioBridge Corporation is not responsible for charges incurred by text messaging. Your standard text messaging rates apply with your mobile carrier.


Twitter via Ping.fm

Ping.fm allows you to update multiple social networks via email. Ping.fm is recommended to update your Twitter, Facebook, and GTalk status. Once you sign up at Ping.fm, you will have an email address that is linked to your social networks. Add that email account to your ioBridge.com account and now your ioBridge actions can tweet, update Facebook, etc.

Ping.fm


UberNote

UberNote is free note taking service that is a replacement for Google Notes. UberNote allows email access to post new notes. Once you setup and account, an email that is linked to your account is created and listed under your settings page. If your action sends a message to the UberMail address, it will be automatically posted to your account. UberNote also supports tagging and public RSS feeds of notes.

UberNote

click to chat