Panic() - The Panic Function

This function is used to send an area into panic mode.
Panic mode disables sensors and user interfaces while putting load controllers into their panic preset. (Preset 65534, Defaulted to 100%)
This is the opposite of the UnPanic() command.

Be careful when using this with area 0 as it could turn on things like motors, fountain pumps, etc.
Make sure that a panic/unpanic toggle button/switch has "enable when panel disabled" checked or the unpanic won’t be able to send.

Syntax

Panic(A=x,F=x,J=x)

Parameters
  • "A" is the area number (0-255) - Default of 1

  • "F" is the fade time in seconds (0-1310)- Default is 0.2 seconds

  • "J" is the join level (0x00-0xFF) - Default is 0xFF

Leaving join tick 8 unchecked is a good way to filter things you don’t want to be put into panic mode.
Using a baselink can be a good choice as well.

Examples

{
Panic(A=2,J=1)      //Puts devices in Area 2 with a Join of 1 into Panic mode.

Panic(A=0,J=0x80)   //Puts all devices with the last join bit ticked into panic mode for all areas. Requires Area Zero transmit to be enabled in the device. Uncheck the last join tick for things like motors and blinds.
}