background image

11

Element 

Tag: 

  <outlet> 

Attribute: 

 

 

id = “bank” 

 

 

“bank” is the affected outlet bank number

Content   

 

 

0 | 1 

 

 

 

0 = outlet bank is OFF

        1 

outlet 

bank 

is 

ON

Example: 

 

 

<outlet id=”1”>0</outlet>   

Outlet bank 1 is OFF

EVENTS

Event messages are sent autonomously from M4000-PRO when some change occurs within the device – they are not replies to a query.

Subscribing to Event Messages

After start-up, M4000-PRO will not send any event messages.  To receive event messages a command to “subscribe” to events must be sent.  

The event subscription command is enclosed within the XML declaration and <device> element and is as follows:

...<commands><eventmgr><subscribe uri=”ctrlsys:

//IPADDR:PORT”/></eventmgr>

</commands>

...

IPADDR

 is the IP address and port number where the event messages should be sent.  It may be a different IP address than the control system which sent the request.   

PORT

 is the UDP port number.

Only one IP address / port event subscription is allowed.

For example, to have event messages sent from a M4000-PRO with MAC address 10-65-A3-03-FF-FF to a control system at IP address 192.168.0.127 listening 
on port 1726:

<?xml version=”1.0” ?><device class=”m4000” id=”1065a303ffff”><eventmgr><subscribe uri=”ctrlsys://192.168.0.127:1726”/></event-
mgr></device>

The unsubscribe command follows the same format

...<commands><eventmgr><unsubscribe uri=”ctrlsys://IPADDR:PORT”/></eventmgr></commands>

...

General Event Element Structure

All event messages are contained within an <event> element, which will contain a timestamp attribute, “time”, and an event ID attribute, “evtid”.  The time attribute is 
a UNIX timestamp, up to 10 decimal digit characters and represents the number of seconds that have passed since January 1st 1970 GMT.  The evtid attribute is the 
numeric ID value of the event message, starting from 0 after each device start-up.  

A sample

 event

 element:  

<event time=”1234567890” evtid=”123” subsid=”1”>…</event>

Event Messages:

Outlet State Change

An Outlet State Change event is posted when any of the outlet banks turn ON->OFF or OFF->ON. 

Element 

Tag: 

  <seq> 

Attribute:   None 
Content   

 

 

0 | 1 | 2   

 

 

0 = sequence done/finished/complete

        1 

turn 

on 

sequence 

initiated

        2 

turn 

off 

sequence 

initiated

Example:   <seq>0</seq> 

  Sequence 

has 

completed

Sequence Status

A Sequence Status event is posted when a power on or power off sequence is initiated or completed.

A subscriber ID, “subsid” is assigned to each event subscription.

A sample event message for outlet bank 2 switching ON:  
…<event time=”1234567890” evtid=”123” subsid=”1”><outlet id=”2”>1</outlet></event></device>

Event messages will be repeated until an acknowledgement message is sent back to M4000-PRO, or after a timeout period of approximately 20 minutes.  The acknowl-
edgement message must contain the same evtid and subsid as the event message.

The acknowledgement message syntax is:…<command><eventmgr><ack evtid=”123” subsid=”1”></eventmgr></command></device>

Summary of Contents for M4000-PRO

Page 1: ...VOLTAGE BlueBOLT M4000 PRO ENABLED Power Management with Control System Interactive Functionality 15 Amp Capacity M4000 PRO 7 Rear Panel Outlets and One Front Panel Convenience Outlet in 3 Controlabl...

Page 2: ...Instructions Front Panel Features Overview pg 2 Rear Panel Features Overview Bubble of Protection pg 3 BlueBOLT Setup Registration Trouble Shooting pg 4 OutletSequencingandM4000 PROSpecifications pg 5...

Page 3: ...oduct circuit break ers The M4000 PRO is designed to eliminate these transients by providing a start up delay for the Bank 3 outlets and a shut down delay for the other Outlet Banks This minimizes inr...

Page 4: ...in or moisture does not operate normally or has been dropped 12 Where the power cord is used as the main disconnect device the discon nect device shall remain readily accessible 13 This device must be...

Page 5: ...at 5e RJ 45 8P8C 10 100 1000BASE T compatible PoE compat ible 8 DC Trigger input 3 5mm mono jack 5 24VDC tip ring When a phone plug is connected to the DC trigger applied voltage on the trigger input...

Page 6: ...one DSL line from the M4000 PRO back to modem router s input Step 4 Connect Ethernet cablefrom router modem to BlueBOLT input on M4000 PRO Step 5 Plug in M4000 PRO SYSTEM SETUP 2 Network Equipment NOT...

Page 7: ...n the DC trigger input going from 0V to 5 24VDC or by the sequence com mand received on the Ethernet port When the M4000 PRO is powered up recovering from an over voltage shutoff or recovering from an...

Page 8: ..._______ __________________________________________ __________________________________________ __________________________________________ __________________________________________ ____________________...

Page 9: ...rnum 12345678 sernum fwver 1 0 1 fwver info device The following sections document the possible message content and it should be assumed that the contents are always enclosed by the envelope and that...

Page 10: ...Core Brands use only Query sendsettings Response settings Time stamp of the data provided in UNIX time time timestamp delay id bank Delay for outlet bank bank act action Action 0 turn off delay 1 turn...

Page 11: ...Outlet Bank Command an outlet bank to turn OFF wait for its power cycle delay time and then turn back ON Command cycleoutlet Power cycle an outlet bank Attribute id bank Which outlet bank to control C...

Page 12: ...Outlet Bank Delays Command set delay Set delay settings for an outlet bank Attribute id bank Set delay settings for an outlet bank act 0 1 2 Action 0 OFF delay 1 ON delay 2 Power cycle delay Content d...

Page 13: ...DDR PORT eventmgr commands General Event Element Structure All event messages are contained within an event element which will contain a timestamp attribute time and an event ID attribute evtid The ti...

Page 14: ...2 delay Outlet bank 1 power cycle delay 12 sec triggerena id 1 triggerena Outlet bank 1 trigger enabled brightness 2 brightness Brightness level 2 out of 5 max set Settings Changed A Settings Changed...

Page 15: ...ction Fired event is posted when the M4000 PRO performs a scheduled operation 13 The day element contains the daysofweek value for the days of the week the action is scheduled to fire This element is...

Page 16: ...nto an outlet on a circuit different from that to which the receiver is connected 4 Consult the dealer or an experienced radio TV technician for help Any special accessories needed for compliance must...

Reviews: