10
www.panamax.com
VT1512-IP
Instruction Manual - English
Details –
Element Description
"eventmgr" required container.
Subscribe "subscribe" to device events. “uri” attribute is formatted as “ctrlsys://IPADDR:PORT”, where IPADDR:PORT is the Internet Protocol address
and UDP port number where event messages should be sent. It may be a different IP address than the control system which sent the request.
NOTE: Only one IP address / port event subscription is allowed.
Unsubscribe Action
The
Subscribe
action is used to unsubscribe to device events.
Sample Action –
<eventmgr>
<unsubscribe uri=”ctrlsys://127.0.0.1:12345”/>
</eventmgr>
Details –
Element Description
"eventmgr" required container.
Unsubscribe "unsubscribe" to device events. “uri” attribute is formatted as “ctrlsys://IPADDR:PORT”, where IPADDR:PORT is the Internet Protocol address and UDP port number where event
messages have been sent. It may be a different IP address than the control system which sent the request.
Events
By default, the VT1512-IP will not send any event messages. To receive event messages a Subscribe Action must be sent after each device reset, reboot or power up.
See
Subscribe Action
section for details.
Event messages will be repeated by the device until an acknowledgement message is sent back to the VT1512-IP, or after a timeout period of approximately 20 minutes. The
acknowledgement message must contain the same “evtid” and “subsid” attribute values as the event message.
Sample Acknowledgement Message –
<eventmgr>
<ack evtid=”123” subsid=”1”>
</eventmgr>
Details –
Element Description
"eventmgr" required container.
Acknowledgement "ack" of device event. “evtid” attribute represents device event number, “subsid” attribute represents subscriber number.
Both attributes must contain the same values as the event message.
Outlet State Event
The
Outlet State
event is posted when an outlet changes from ON to OFF, or vice versa.
Sample Event –
<outlet id=”1”>1</outlet>
Details –
Element Description
Outlet "outlet" state: 0 = outlet now OFF; 1 = outlet now ON. The “id” attribute indicates which outlet changed state, decimal value 1-12.
L'événement de séquence
The
Sequence
event is posted when a power on or power off sequence is initiated or completed.
Sample Event –
<seq>2</seq>
Details –
Element Description
"seq" power sequence state: 0 = sequence completed; 1 = sequence ON initiated; 2 = sequence OFF initiated
Power Condition Event
The
Power Condition
event is posted when device enters or recovers from over-voltage or under-voltage shutdown mode.
Sample Event
–
<powercond>3</powercond>