Set up Reactive Actions

 

After setting up the board and sensor component, click on the Action link on the top Nav bar.

On the Action page, select the +New Action button to add a new reactive action. 

Define reaction settings

If: The first section will list the board and sensor.

Is: Readings greater or equal to 1000ppm 

Then: publish a message to

Feed: Servo from choose board

With: 2200 Position (down)

Limit: read every 10 secs

To bring the Bird back to life (rotate up) follow the settings below:

If: The first section will list the board and sensor.

Is: Readings less or equal to 1000ppm 

Then: publish a message to

Feed: Servo from choose board

With: 500 Position (up)

Limit: read every 10 secs

Test Position 


Click on your board on the device page.

The slider for the Servo component will allow you to test the settings for rotating the bird.

This guide was first published on Sep 20, 2022. It was last updated on May 13, 2024.

This page (WipperSnapper Reactive Actions) was last updated on Mar 08, 2024.

Text editor powered by tinymce.