Skip to main content
Skip table of contents

ExpansionBoardController

Last updated: 2025/3/7 11:37:55

Path To

Name

Description/Function

/api/expansionboard

/porttype

Gets expansion port types.

/api/expansionboard

/off/{port}

Turns off the specified breaker.

/api/expansionboard

/on/{port}

Turns on the specified breaker.

/api/expansionboard

/off

Turns off all breakers.

/api/expansionboard

/ison/{port}

Forces a refresh of the state of the expansion board.

/api/expansionboard

/isfaulted/{port}

Requests the current fault state of the breaker.

/porttype

Function

Gets expansion port types.

Method

Get

Response

Expansion board port type.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/expansionboard/porttype

/off/{port}

Function

Turns off the specified breaker.

Method

Get

Response

The index of the breaker to turn off.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/expansionboard/off/{port}

/on/{port}

Function

Turns on the specified breaker.

Method

Get

Response

The index of the breaker to turn on.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/expansionboard/on/{port}

/off

Function

Turns off all breakers.

Method

Get

Response

Status code 200, for an completed operation being preformed.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/expansionboard/off

/ison/{port}

Function

Forces a refresh of the state of the expansion board.

Method

Get

Response

State of port.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/expansionboard/ison/{port}

/isfaulted/{port}

Function

Requests the current fault state of the breaker.

Method

Get

Response

If port is faulted.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/expansionboard/isfaulted/{port}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.