Basic Action

From OpenMotics
Revision as of 05:25, 7 May 2014 by Wilbert (talk | contribs)
Jump to navigation Jump to search

The full system is based on Basic Actions. A Basic action consists of 2 bytes:

  • Action Type: The Action Type will define which action that will be executed
  • Action Number: The action number will define on which output for example the action will be executed.

For a full list of available Basic Actions, please consult the Action Types list.

Example of a Basic Action (BA):

  • BA 161 15
  • 161 is the Action Type to switch on an output.
  • 15 is the action number
  • 15 -> Output 15
  • So this Basic Actions will switch on output 15.

Basic actions are used through the whole system. Time based functions or environmental parameters can for example trigger a Basic action, or when a switch is pressed, multiple basic actions can be executed. Simple Actions, Scheduled actions, group actions, simple decisions (IF THEN ELSE), thermostat actions, etc. are all Basic Actions. A Group Action for example is a list of Basic Actions and thus can include other group actions for example. All basic actions can be combined creating huge possibilities and complex functions.

The most used basic actions are created at the input page of a switch. Every switch has its own input page that can contain up to 15 basic actions that can be executed when the switch is pressed. Every input can be linked to 1 output. The valid output numbers are from 0 to 239. When output number 240 is programmed, the system will execute all the basic actions that are defined at input level of that switch.

Basic action.jpg