Decision Types

From OpenMotics
Jump to navigation Jump to search

The decision config byte are used in Basic Decision and define the “IF” statement condition.

Versioning

This document describes the Decision Type Bytes available on the Gateway Module CLI interface.

Gateway Module FW version
3.136

Codes

Decision Byte Description
0
Check output; true if equal with data field
1
Check input; true if equal with data field
4
Check press duration of selected input; true if equal with data field
7
Check validation bit; true if equal with data field
12
Check press duration of selected input; true if shorter than data field
20
Check press duration of selected input; true if longer than data field