switch_state_t

Overview:

.   

Details:

Resource Set: Standard 00:00:00:00:00:00:00:00-0
Index: 71
Headerfile: snvt_sw.h
SW_NUL-1Invalid value.
SW_SET_OFF0Set the state to off; ignored for blinds, drapes, shades, and fans.
SW_SET_ON1Set the state to on; ignored for blinds, drapes, shades, and fans.
SW_REPORT_OFF2Report that the state is off; output only; ignored for input.
SW_REPORT_ON3Report that the state is on; output only; ignored for input.
SW_TOGGLE_STATE4 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.
SW_SET_LEVEL5Set the level to the specified value; ignored for blinds, drapes, shades, and fans.
SW_INCREASE_LEVEL6Increase the level by the specified value; ignored for blinds, drapes, shades, and fans.
SW_DECREASE_LEVEL7Decrease the level by the specified amount; ignored for blinds, drapes, shades, and fans.
SW_RECALL_SCENE8Recall the state and level from the specified scene.
SW_STORE_SCENE9Store setting for the specified scene.
SW_LEARN_SCENE10Learn setting for the specified scene.
SW_SET_OCCUPIED11Set the occupancy state.
SW_SET_UNOCCUPIED12Clear the occupancy state.
SW_SET_MULTIPLIER13Set a multiplier for the level for 60 minutes; ignored for blinds, drapes, shades, and fans.
SW_ENABLE_GROUP14Enable a group; all groups are enabled by default.
SW_DISABLE_GROUP15Disable a group.
SW_WINK16Blink state (toggle on-off state; pause; toggle on-off state again.
SW_RESET17Reset scene definitions, multiplier, occupancy state, group enable flags, and settings to factory defaults.
SW_RESET_ENERGY_USAGE18Reset energy usage value to zero.
SW_RESET_RUNTIME19Reset runtime value to zero.
SW_INCREASE_HUE20Increase color hue.
SW_DECREASE_HUE21Decrease color hue.
SW_SET_BUTTON22Trigger the actions for pressing and releasing the button specified in the value field.
SW_SET_GROUP_STATE_LEVEL23Set state and percent of full level (value field) for a group specified in the scene field.
SW_SET_FAN_UP32Set ceiling fan direction to up, with specified level.
SW_SET_FAN_DOWN33Set ceiling fan direction to down, with specified level.
SW_TOGGLE_FAN_DIRECTION34Toggle fan up-down direction.
SW_INCREASE_FAN_LEVEL35Increase fan speed by the setting.
SW_DECREASE_FAN_LEVEL36Decrease fan speed by the setting.
SW_SET_FAN_ON37Set the fan state to on.
SW_SET_FAN_OFF38Set the fan state to off.
SW_TOGGLE_FAN_STATE39Toggle the fan on-off state.
SW_MOVE_OPEN48Move blinds, drapes, or shades open by the setting.
SW_MOVE_CLOSED49Move blinds, drapes, or shades closed by the setting.
SW_SET_ANGLE50Set the rotation angle of blinds to the setting.
SW_ROTATE_OPEN51Rotate blinds open by the setting.
SW_ROTATE_CLOSED52Rotate blinds closed by the setting.
SW_STOP53Stop any motion of blinds, drapes, or shades.
SW_SET_STANDBY54Set Standby mode.
SW_TOGGLE_STANDBY55Toggle the standby state.
SW_SET_POSITION56Set blinds, drapes, or shades to the specified position; 100% is fully open, 0% is fully closed.
SW_REPORT_POSITION57Report the position of blinds, drapes, or shades output only; ignored for input.
SW_REPORT_FAN_LEVEL58Report the fan speed in percent of full level output only; ignored for input.
Used by:

SNVT_switch_2