Reply To: ‘Open Relay’ Command 2017-12-21T10:14:18+00:00

HOME Forums Input/Output EZIOxx ‘Open Relay’ Command Reply To: ‘Open Relay’ Command

Anonymous
Post count: 408

The best way to manage the outputs is to use the 0x48 command. This command allows you to set the state of all of the outputs.

The cmd1 is 0x48, cmd2 is a byte configured by you. The least significant bit is the first output, the second bit the second output, etc…

So, for the 4O, just worry about the first four bits, 1 being ON, 0 being off.

So, if you are only using the first output, the following command will turn the bit relay on

cmd1: 0x48 cmd2: 0x01

To turn it off,

cmd1: 0x48 cmd2: 0x00

All other relays will be off given the above commands.

You can also use 0x45 to turn the output on (with cmd2 being the output) and 0x46 to turn the output off.

See the EZIO spec:
http://www.simplehomenet.com/Downloads/EZIOxx%20Advanced.pdf