Expansion Commands
Last updated: 2026/1/7 23:0:38 | ||
Path To | Name | Description/Function |
/api/expansion | /isfaulted/{port} | Requests the current fault state of the breaker. |
/api/expansion | /ison/{port} | Requests the current state of the breaker. |
/api/expansion | /off | Turns off all breakers. |
/api/expansion | /off/{port} | Turns off the specified breaker. |
/api/expansion | /on/{port} | Turns on the specified breaker. |
/api/expansion | /porttype | Gets the expansion port type. |
/isfaulted/{port}
Description | Requests the current fault state of the breaker. True = is faulted False = is not faulted |
Method | Get |
Example |
CODE
|
Parameter(s): | ֍ Port: Values between 0 to 3 |
Response | If breaker on port is faulted. |
Response Type | Boolean |
Response Example |
CODE
|
/ison/{port}
Description | Requests the current state of the breaker. True = On False = Off |
Method | Get |
Example |
CODE
|
Parameter(s): | ֍ Port: Values between 0 to 3 |
Response | State of port. |
Response Type | Boolean |
Response Example |
CODE
|
/off
Description | Turns off all breakers. |
Method | Get |
Example |
CODE
|
Response | None |
/off/{port}
Description | Turns off the specified breaker. |
Method | Get |
Example |
CODE
|
Parameter(s): | ֍ Port: Values between 0 to 3 |
Response | None |
/on/{port}
Description | Turns on the specified breaker. |
Method | Get |
Example |
CODE
|
Parameter(s): | ֍ Port: Values between 0 to 3 |
Response | None |
/porttype
Description | Gets the expansion port type. |
Method | Get |
Example |
CODE
|
Response | Expansion board port type. |
Response Type | Text |
Response Example | None = 0 No current port configuration (no expansion board connected) Input = 2 Input port configuration LongLineDriver = 7 Long line driver port configuration Output = 8 Breaker port configuration Hibernate = 9 Hibernate configuration |