Server-based Actions

If your gateway is set to a messaging mode, the ioBridge Server can cause actions and events to happen in the background.

Actions are your link to messaging, web services, events, and other channels and gateways. Actions open up so many possibilities for Internet enabled projects such as micro-processor collaboration via the web, third-party API integration, data logging, and automation – both free and premium services in the future.

There are two types of actions. Actions that are server-based and actions that reside onboard the gateway. Onboard actions allow the gateway to process it’s own logic without having to have a connection back to a server. Server based actions are created under the Actions Tab of your ioBridge account.

Creating Server Side Actions

  • Sign in and select the Actions tab
  • Click the Create Action button
  • Select your action from the below options:

Input to Output Actions

Serial Actions

HTTP Actions

Stacking Actions

You have the ability to use multiple actions creating a stack. One switch on a digital input can cause a servo to move to a fixed position, turn on an X10 light, and send an email or post a Twitter message all at the same time.

Action-based Projects

There is so much to explore in the actions area of development and we look forward to seeing the projects that result.

The most simple project is digital input messaging. You can cause a Twitter to be sent when a digital input is set high or low. More intriguing scenarios are inter-gateway communication with serial smart boards. It’s possible to link two gateways together using the Serial Link action. The two gateways can be anywhere on the Internet forming a virtual connection between them, making it possible to relay messages back and forth and having the ability to access the resources of ioBridge.

Channel Messaging

All ioBridge actions are based on channel messaging. By default the IO-204 does not relay input data to ioBridge. Set the channel messaging mode to cause the related action to execute.

Under the Module Configuration section, you can select the following channel messaging options:

  • Send Message on Digital State Change
  • Send Message on Analog Trigger
  • Auto Message Digital Input
  • Auto Message Analog Input

Data received by the Serial Smart Board is automatically messaged.