Complete console command reference for the ESCTL Door Controller firmware.

Console Configuration

All commands should be followed by a carriage return (\r). Commands marked with (r193+) were introduced or updated in revision 193.

General Commands

Command Syntax Description
? ? Returns “About” info: INFO:esctl:door_232:<rev>:<MAC>:<num>:<name>:<serial>.
**** \r simple keepalive. Returns OK:null:.
U (Unlock) U[<sec>] Unlocks for specified seconds (or default if omitted).
UPTIME uptime Returns seconds since last board restart.
FREE free Returns available RAM (Deprecated in r193; use show free).
TEST test [in\|out] Exercises inputs/outputs until a key is pressed.
ERASE erase Clears all EEPROM settings.
P (GPIO) P Returns raw GPIO states: OK:gpio:<inputs>:<outputs>.

Status & Diagnostic Commands (r193+)

Command Syntax Description
SHOW FREE show free Returns available internal RAM in bytes.
SHOW VOLT show voltage Returns approximate board voltage (+/- 0.5V).
SHOW DEBUG show debug Displays the current active debugging bitmask.

Configuration Commands

Used to display or change EEPROM settings or toggle debugging logs.

Command Syntax Description
SET set Displays all current EEPROM settings.
SET NAME set name <str> Sets the board name (cannot contain colons).
SET NUM set num <int> Sets the board ID number.
SET SERIAL set serial <int> Sets the board hardware serial number.
SET MAC set mac <xx...> Sets the MAC address (XX-XX-XX-XX-XX-XX).
SET TIME set unlocktime <sec> Sets the default unlock duration in seconds.
SET INV set lockinvert <0\|1> Inverts the relay logic (0=Normal, 1=Inverted).
SET LOCAL set local<0-6> <prot>:<id> Stores an emergency token (e.g., set local0 WG:12345).
SET PIN set pinmap<0-11> <int> Configures internal pin mapping.
SET DOOR1/2 set door1/2 <0\|1> Enables or disables door logical units.
SET FEAT set enabledFeatures <int> Bitmask for enabling optional firmware features.
DEBUG debug [<level>\|<sub>] Sets debug mask. Subsystems: cmd, keypad, ibutton, wiegand, eeprom, local, cpu.

Examples:
debug 4: Set bitmask to 4.
debug wiegand: Enable Wiegand debugging.