Automations

Table Name: GXT_AUTOMATION_TBL

List

Request a list of automations.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=List&SubType=GXT_AUTOMATION_TBL
  • Response:

    Copy
    1=Automation 1&2=Automation 2

Detail

Request the details of a specific automation.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=Detail&SubType=GXT_AUTOMATION_TBL&RecId=<RecId>
  • Response:

    Copy
    AutomationId=1&Name=Automation 1&AutomationPGMTime=0&AutomationPGM=2147483647&DisplayInvertedStatus=false&EnableCBusAutomationFunctions=false&CBusAutomationOutput=false&UsePGMStatusinCBusFunction=false&CBusOperatesonRisingEdge=false&CBusOperatesonFallingEdge=false&CBusApplicationCode=0&CBusGroupCode=0&KeypadControlGroup=2147483647&AutomationPGMGroup=2147483647

Update

Update a specific automation.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_AUTOMATION_TBL&AutomationId=1&Name=Lights
  • Response:

    Copy
    OK

Create

Create an automation.

To create an automation, use the same parameters as update but leave the AutomationId empty.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_AUTOMATIONS_TBL&AutomationId=&Name=Automation 1&AutomationPGMTime=0&AutomationPGM=2147483647&DisplayInvertedStatus=false&EnableCBusAutomationFunctions=false&CBusAutomationOutput=false&UsePGMStatusinCBusFunction=false&CBusOperatesonRisingEdge=false&CBusOperatesonFallingEdge=false&CBusApplicationCode=0&CBusGroupCode=0&KeypadControlGroup=2147483647&AutomationPGMGroup=2147483647
  • Response:

    Copy
    OK

Delete

Delete a specific automation.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Delete&SubType=GXT_AUTOMATION_TBL&RecId=<RecId>
  • Response:

    Copy
    OK

Parameters

Parameter

Display Name

Default Value

Notes

AutomationId

Database ID

1

The Detail, Control and Delete APIs use this value as the RecId.

Name

Name

Automation 1

 

AutomationPGMTime

Automation Output Time (seconds)

0

 

AutomationPGM

Automation Output

2147483647

 

DisplayInvertedStatus

Display Inverted Status

false

 

EnableCBusAutomationFunctions

Enable C-Bus Automation Functions

false

 

CBusAutomationOutput

C-Bus Automation Output

false

 

UsePGMStatusinCBusFunction

Use Output Status In C-Bus Function

false

 

CBusOperatesonRisingEdge

C-Bus Operates On Rising Edge

false

 

CBusOperatesonFallingEdge

C-Bus Operates On Falling Edge

false

 

CBusApplicationCode

C-Bus Application Code

0

 

CBusGroupCode

C-Bus Group Code

0

 

KeypadControlGroup

 

2147483647

This is a legacy option that has no effect.

AutomationPGMGroup

Automation Output Group

2147483647