Introduction
This page deals with the ICD-001 System Profile Command.
Contents
...
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
...
System Profile Change Example
Code Block | ||
---|---|---|
| ||
<!--MsgId is the unique id of the message being sent --> <!--ProfileId is the unique id of the system profile which will become activated --> <?xml version="1.0" encoding="utf-8"?> <SystemProfileCommand MsgTimeStamp="2019-02-01T12:14:01+00:00" MsgId="1" ProfileId="1" xmlns="ICDNAV001-SystemProfileCommand"> <Sender SenderId="SenderId1" NetworkAddress="NetworkAddress1" NetworkPort="1" /> </SystemProfileCommand> |
System Profile Command Element
The external trigger system profile command instruction provides the ability to trigger an action change the active system profile in Witness, based on the provided trigger profile Id and Enable state. Different actions can be associated with different Ids. In addition the command includes a timeout option allowing the state of the trigger to be automatically reversed after the specified timeout. This means profiles can be changed in response to external events, for example, weather sensors can be used to dynamically change the sensitivity of the system as the weather conditions change.
System Profile Command Attributes
Attributes | Description | Type | Notes |
MsgId | Unique message Id | Long | This must be globally unique across all message types |
MsgTimeStamp | Date and time that the message was sent | DateTime | |
ProfileId | Id of the profile which is required to become active | Integer | This is the Id of the system profile that will become the active system profile. It is the UserId of the profile as configured in Witness |
Network Sender Element
Each incoming message can include an optional Sender element. This must include the IP address and port that the client is using to send instructions.
...
Info |
---|
If a message contains the profile Id of the currently active profile then the profile change message will be ignored and no action taken and the message response will indicate a failure. |
...
Related
...
Information
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|
...