-
Notifications
You must be signed in to change notification settings - Fork 51
Rule Designer: Building Blocks
Chris Jackson edited this page Apr 28, 2014
·
3 revisions
Note that this is preliminary and these definitions could change during the initial development phase. If the blocks change, it may mean that a rule design can not be loaded!
Blocks | Description |
---|---|
Rule Block This is the main block to start a rule. It has two sections - the declaration section where constants can be defined, and a rule section, where the body of the rule is defined. Variables may also be defined in the declaration section if a default value is required - if no default is needed, then the variable can simply be used in the rule and HABmin will automatically define it. |
Blocks | Description |
---|---|
Item Access Blocks These blocks allow you to set, get, command, or get an historic state from a persistence store for an openHAB item. | |
Variable Blocks These blocks allow access to local variables that can be used to store information within the rule. | |
Constant Blocks Constants blocks can only be set in the rule header. After this, the constant can be used within the rule - if you need to update the value, you just change it in one place in the top of the rule. Using constants makes it easier to use a rule template with a different set of values and items. |
- Home
- General Configuration
- Item Configuration
- Sitemap Configuration
- Binding Configuration
- Charting
- Persistence stores and graphing
- Rules and Automation
- Rule Designer: Overview
- Rule Designer: Building Blocks
- Rule Designer: Example 1
- Rule Designer: Example 2
- Rule Text Editor
- Technical
- Language Support
- Binding descriptor files
- Z Wave Product Database
- REST Item Config
- REST Item Icons
- REST Persistence
- REST Sitemap Config
- Rule Item Library
- Item Rule Configuration