Advanced Programming

Command Interface (Cont.)

Command

Description

 

 

 

?LIGHTSTATE-<index>

Query for the state of a dimmer at the specified index.

 

Responds with LIGHTSTATE-<index>,<state>

 

<index>: 1..n

 

 

Example:

 

 

?LIGHTSTATE-1

 

 

 

PASSTHRU-<buffer>

Send a message directly to the device. The module will not add any

 

characters to this pass thru string. User must be aware of the exact

 

H48 protocol in order to use this command.For more information see

 

Adding Functions to Modules section on page 36.

 

<buffer>: exact H48 command string

 

Example:

 

 

PASSTHRU-FADEDIM, 100, 1, 2, [1:4:1:1:1]

 

 

PROPERTY-<key>,<value>

Sets the IP and Password to be used by the Duet module in order to

 

establish IP communications with the H48. This method does not

 

actually set the IP or Password on the actual device. This command

 

can also set the "friendly name"for the configuration servlet/webpage.

 

<key>: IP_Address

(case sensitive)

 

Password

(case sensitive)

 

FriendlyName

(case sensitive)

 

<value>: value of the key. (case sensitive)

 

Example:

 

 

PROPERTY-IP_Address,10.0.0.5

 

PROPERTY-Password,jetski

 

 

Note: The Duet module uses a default password of "amx01"(without

 

the quotes). Please change the password property according to your

 

needs, but DO NOT use a password that contains a "," (comma) in it

 

or you will not be able to establish an IP connection to the H48.

 

You must issue a REINIT in order for the new properties to take affect.

 

 

?PROPERTY-<key>

Query for the value of a certain key. Replies with PROPERTY-

 

<key>,<value>.

 

 

<key>: IP_Address

 

 

Password

 

 

Example:

 

 

?PROPERTY-IP_Address

 

 

 

REINIT

Reinitialize H48 IP communications. The communication module will

 

then query the H48 for the state of all known (found in the component

 

list. See LIGHTADD- and KEYPADADD- commands.) dimmers and

 

keypads.

 

 

REINIT

 

 

 

*SETADDRESS-<addr>

Sets the address of the triple-tapped dimmer. The H48 must be in

 

programming/addressing mode in order for this command to take

 

affect. Make sure your dimmer is on the correct bus.

 

<addr>: dimmer address to assign

 

Example:

 

 

SETADDRESS-[1:4:1:1:1]

 

 

 

 

 

28

ALD-H48 Lighting Controller

 

 

 

Page 34
Image 34
AMX ALD-H48 instruction manual ?LIGHTSTATE-1, Reinit