Manage Actions

This tutorial will show you how to set up and manage Actions in Things.

Actions define operations that a Thing can perform. Unlike properties, actions are not instantaneous state representations but rather tasks or commands that the Thing can execute. For instance, a smart light bulb might have actions like turnOn, turnOff, or setBrightness. Actions are invoked using POST requests, and their execution may take time, often returning a result upon completion.

In this example, you will define an Action to simulate the status of a lamp between ON/OFF. When this Action is completed, the lamp status Property will also be updated to ON/OFF.

To learn more about Actions, check the documentation here.

Steps in this Tutorial