Relay Settings

555

# Relay Settings

Path:

/api/relay

Method: PUT

Content-type: application/json; charset=utf-8

API Description: This can be used to set the power status, immediate enforcement, and delayed enforcement of 3 relays.

Request

Name Type Example Description
relay int 1 Number of relays, ranging from 1 to 3.
delay int 0 Delayed execution time of the relay. Unit: second.
status int 0 Relay status. 1: On. 0: Off.

Example

[
    {
        "relay":1,
        "delay":2,
        "status":1
    }
]