WTEC Partition Configuration Sample

Last modified by Mark Kohlmann on 2023/02/12 05:12

Requires showrunner version 3.022 and WTEC Extension 1.2.0 or newer.

Use a virtual OutputSignal to track the Partition sensor and pass the state event to WTEC.  In this example there is a GLS-PART-CN at cresnet ID 15.  The  WTEC SmartEngine has a partition defined with a serial number of "PARTITIONA".  HostGlobalId 1 is the GlobalId of the WTEC Smart Engine (WTECSMARTENGINE) load controller.

"OutputSignals": [
        {
            "ContractorLabel": null,
            "Id": 1,
            "Name": "PartitionSensor Report to WTEC",
            "HostDevice": null,
            "HostPort": 0,
            "DeviceHostId": null,
            "DeviceHostBranch": 0,
            "DeviceConnectionId": null,
            "RemoteDevice": null,
            "DeviceId": {
                "SerialNumber": null,
                "TSID": null
            },
            "Invert": false,
            "UniqueId": "2dbc1653-2fca-4380-973c-c3fa6485629d",
            "OutputType": "Virtual",
            "ActiveActions": {
                "Name": "Report Partition is Combined",
                "Actions": [
                    {
                        "HostGlobalId": 1,
                        "ActionName": "ClearPartitionStatus",
                        "ActionProperties": [
                            {
                                "Name": "SerialNum",
                                "Value": "PARTITIONA"
                            }
                        ]
                    }
                ],
                "FeedbackType": "AND"
            },
            "InactiveActions": {
                "Name": "Report Partition is Divided",
                "Actions": [
                    {
                        "HostGlobalId": 1,
                        "ActionName": "SetPartitionStatus",
                        "ActionProperties": [
                            {
                                "Name": "SerialNum",
                                "Value": "PARTITIONA"
                            }
                        ]
                    }
                ],
                "FeedbackType": "AND"
            },
            "ReferenceActions": {
                "Name": "Partition Sensor",
                "Actions": [
                    {
                        "HostGlobalId": 12,
                        "ActionName": "Combined",
                        "ActionProperties": []
                    }
                ],
                "FeedbackType": "OR"
            },
            "ActivationDelay": "00:00:00",
            "InactivationDelay": "00:00:00",
            "GlobalId": 11
        }
    ],
    "PartitionSensors": [
        {
            "ContractorLabel": "PART-2.4-1",
            "Mode": "Auto",
            "Id": 2401,
            "Name": "PART-2.4-1",
            "Model": "GLS-PART-CN",
            "HostDevice": "GLS-PART-CN",
            "HostPort": 0,
            "DeviceHostId": null,
            "DeviceHostBranch": 0,
            "DeviceConnectionId": "15",
            "DeviceId": {
                "SerialNumber": "",
                "TSID": null
            },
            "HardwareDebounceTime": 5.0,
            "Invert": false,
            "Properties": null,
            "PrimaryAreaId": 51001,
            "SecondaryAreaId": 5101,
            "UniqueId": "0beb8bb4-cbed-4f93-9c0a-f7f23bf182ee",
            "GlobalId": 12,
            "RemoteDevice": null
        }
    ],
    "LightingControllers": {
        "1": {
            "TrackSceneRemap": {},
            "Panel": null,
            "ModuleId": null,
            "Properties": [
                {
                    "Name": "ID",
                    "Value": "1"
                },
                {
                    "Name": "IPAddressOrHostname",
                    "Value": "10.44.5.200"
                },
                {
                    "Name": "Port",
                    "Value": "443"
                },
                {
                    "Name": "Username",
                    "Value": "admin"
                },
                {
                    "Name": "Password",
                    "Value": "smartengine"
                }
            ],
            "TrackAreaScene": false,
            "TrackAreaSceneAreaIds": [],
            "Loads": [],
            "Model": "WTECSMARTENGINE",
            "HostDevice": null,
            "HostPort": 0,
            "DeviceHostId": null,
            "DeviceHostBranch": 0,
            "DeviceConnectionId": "1",
            "RemoteDevice": null,
            "DeviceId": {
                "SerialNumber": "",
                "TSID": null
            },
            "VisualizationsByMap": {},
            "Active": true,
            "ContractorLabel": null,
            "Enabled": true,
            "GlobalId": 1,
            "Id": 1,
            "Name": "SmartEngine Master",
            "UniqueId": "f4cdc2bd-b9c6-4fdc-b981-072e76d7d4e4"
        },