The CustomMultistate action allows you to send commands based on event filter expressions to calculate different state or mode outputs. The action can be defined for Analog, Binary, and Multistate object types.
For each state defined in the action, you will supply the following parameters:
• Filter Expression – This will filter the events that are triggering the action based a “where” expression on the list of events. (e.g. “[EventType] = “Womens Game” can be translated as “use all events where [EventType] = “Womens Game” and assign to State 2.)
• State Rank – This is a ranking for when you have overlapping events from other states. If one state has a higher rank (lower value), that event will have priority over lower ranks (higher values) and will be used to calculate the output.
• State Value – The value to send to the underlying BACnet object when the state is active.
• State Priority – The priority to send with the value.
• Release Priority – If you want to send a NULL value at the selected priority when the state is active.
In addition, a default state can be assigned if no events meet any of the state criteria filters.
This action can be used in the following scenarios:
• Triggering a specific state on a multi-state object based on criteria of the events. (e.g. changing fan speed based on EventType of the event. LOW = “Practice”, MED = ”Womens Game”, HIGH = “Mens Game”)
• Commanding an analog mode value based on criteria of the events. (e.g. changing % ventilation required based on expected attendance of the event (attendance >100 = 100%, attendance < 25 = 25%, attendance between 25 and 100 = 50%)
• Create a special command if the Event Name contains “Demand Response” to shut off the equipment in this state.
• Change lighting levels based on event FunctionID.
• Ignore EventType = “Construction”
The fields available to filter on include:
• EventType, EventTypeID
• StatusID, StatusDesc
• EventName
• EventDescription
• TimeBookingStart, TimeBookingEnd
• TimeEventStart, TimeEventEnd
• ExpectedCount, %Occupied
• FunctionID
This action only applies to the following event triggers:
• EventStartStop
• EventSetupTeardown