Skip to main content

Sensor events

To use sensors on a device, you need an Enterprise license on your device.

Sensor configuration

After connecting a sensor to a device, you can send a configuration through the Device Overview >> Settings >> Set sensor event.
In this config file, you can set up exactly which values will be sent to your content when an event happens.

For example, you can connect a sensor with two buttons and set their press down values toprev and next.

  • There is a two-way communication between "Contents" and "Sensors". Event handlers can be set for both of them in "Contents".

Edit sensor events

Create and open a Content, add some Pages, then select EDIT SENSOR EVENTS in the Content properties of the right-hand menu.

img.png

Input actions

We call everything an input event, when something happens to a sensor (a button is pressed, someone walks in front of a motion sensor, etc), and sends a value to the content.
Input actions will be executed when their conditions match an input event.

  • Click "Add value" to add a new row. Right now, only a couple of options are visible.
  • As condition, we can specify a Sensor Event

img_3.png

Additional conditions

In Input settings you can enable additional conditions such as:

Sensor Value and Sensor ID

img_1.pngimg_2.png

Regular Expressions

You can enable an option to use regular expression for sensor values.

img_1.png

Trigger Zone

  • When a content receives a Sensor value, it will check the Page wide events from top to bottom, then the Content wide events from top to bottom.

img.png

Final

  • If any of them fulfills the condition, the corresponding action will be executed.
  • If an executed action was Final, any action that comes after this one will be ignored.
  • If it is not Final and more Action's conditions are fulfilled, more Actions can be executed for that event.

Output actions

We call everything an Output event when a Content sends a value towards a Sensor.
Output sensors such as relays and printers can react to these.