button_action_t

Overview:

.   

Details:

Resource Set: Standard 00:00:00:00:00:00:00:00-0
Index: 68
Headerfile: snvt_bta.h
BTA_NUL-1Invalid value.
BTA_TOGGLE_STATE0 Toggle on-off state; same action as SW_SET_OFF if the on/off state was on, and SW_SET_ON if the on/off state was off; ignored for blinds, drapes, shades, and fans.
BTA_TOGGLE_SCENE1Toggle on-off state if specified scene is the current scene; recall the state from the specified scene if the scene is new.
BTA_SET_STATE_ON2Set the state to on; ignored for blinds, drapes, shades, and fans.
BTA_RECALL_SCENE3Recall a scene.
BTA_SET_STATE_OFF4Set the state to off; ignored for blinds, drapes, shades, and fans.
BTA_SET_OCCUPIED5Set the occupancy state.
BTA_CLEAR_OCCUPIED6Clear the occupancy state.
BTA_SET_UNOCCUPIED7Set the unoccupied state.
BTA_CLEAR_UNOCCUPIED8Clear the unoccupied state.
BTA_SET_LEVEL9Set the level to the specified value; ignored for blinds, drapes, shades, and fans.
BTA_SET_UP_DIRECTION10Set ceiling fan direction to up, with specified level.
BTA_SET_DOWN_DIRECTION11Set ceiling fan direction to down, with specified level.
BTA_INCREASE12Increase the level by specified amount; ignored for blinds, drapes, shades, and fans.
BTA_DECREASE13Decrease the level by the specified amount; ignored for blinds, drapes, shades, and fans.
BTA_CYCLE14Same as increase until 100% is reached, then same as decrease until 0% is reached, then repeat; ignored for blinds, drapes, shades, and fans;
BTA_ROTATE_OPEN15Rotate blinds open by the setting.
BTA_ROTATE_CLOSED16Rotate blinds closed by the setting.
BTA_SET_ANGLE17Set the rotation angle of blinds to the setting.
BTA_TOGGLE_DIRECTION18Toggle ceiling fan direction, with specified level.
BTA_TOGGLE_OCCUPANCY19Toggle the occupancy state.
BTA_LEARN_SCENE20Learn a scene from current settings.
BTA_SET_STANDBY21Set standby mode.
BTA_CLEAR_STANDBY22Clear standby mode.
BTA_TOGGLE_STANDBY23Toggle standby mode.
BTA_SET_FAN_ON24Set the fan state to on.
BTA_SET_FAN_OFF25Set the fan state to off.
BTA_TOGGLE_FAN_STATE26Toggle the fan on-off state.
BTA_INCREASE_FAN_LEVEL27Increase fan speed by the specified amount.
BTA_DECREASE_FAN_LEVEL28Decrease fan speed by the specified amount.
BTA_CYCLE_FAN_LEVEL29Increase fan speed by the specified amount until the level reaches 100%, then decrease the fan speed by the specified amount.
BTA_MOVE_OPEN30Move blinds, drapes, or shades open by the specified amount.
BTA_MOVE_CLOSED31Move blinds, drapes, or shades open by the specified amount.
BTA_SET_POSITION32Set blinds, drapes, or shades to the specified position; 100% is fully open, 0% is fully closed.
BTA_STOP33Stop any motion of blinds, drapes, or shades.
BTA_TOGGLE_GROUP34Toggle group state.
BTA_ENABLE_GROUP35Enable a group; all groups are enabled by default.
BTA_DISABLE_GROUP36Disable a group.
BTA_INCREASE_HUE37Increase hue.
BTA_DECREASE_HUE38Decrease hue.
BTA_SET_DR_EVENT39Set demand-response mode.
BTA_CLEAR_DR_EVENT40Clear demand-response mode.
BTA_TOGGLE_DR_EVENT41Toggle demand-response mode.
Used by:

SCPTbuttonHoldAction  SCPTbuttonPressAction