PAC Control REST API Skill
opto22-com-pac
opto22-com-pac
| Method | Path | Description |
|---|---|---|
GET | /device | |
GET | /device/strategy | Returns controller's type; firmware version; both mac addresses; and uptime in seconds |
GET | /device/strategy/ios/analogInputs | Returns the name, date, time, and CRC of the strategy currently in the controller, and the number of charts currently running. Empty strings and a 0 will be returned when there is... |
GET | /device/strategy/ios/analogInputs/{ioName}/eu | Returns the name and engineering units (EU) for all analog input points in the strategy |
GET | /device/strategy/ios/analogOutputs | Reads the value in engineering units (EU) of the specified analog input |
GET | /device/strategy/ios/analogOutputs/{ioName}/eu | Returns the name and engineering units (EU) for all analog output points in the strategy |
POST | /device/strategy/ios/analogOutputs/{ioName}/eu | Reads the value in engineering units (EU) of the specified analog output |
GET | /device/strategy/ios/digitalInputs | Sets the value of the specified analog output point |
GET | /device/strategy/ios/digitalInputs/{ioName}/state | Returns the name and state (true = on, false = off) of all digital input points in the strategy. If there is no strategy in the controller, or the strategy includes no digital inp... |
GET | /device/strategy/ios/digitalOutputs | Returns the specified digital input point's state (true = on, false = off) |
GET | /device/strategy/ios/digitalOutputs/{ioName}/state | Returns the name and state (true = on, false = off) of all digital output points in the strategy |
POST | /device/strategy/ios/digitalOutputs/{ioName}/state | Returns the specified digital output point's state (true = on, false = off) |
GET | /device/strategy/tables/floats | Sets the value of the specified digital output point |
GET | /device/strategy/tables/floats/{tableName} | Returns an array of the name and length of all the float tables in the strategy |
POST | /device/strategy/tables/floats/{tableName} | Read table elements |
GET | /device/strategy/tables/floats/{tableName}/{index} | Write table elements |
POST | /device/strategy/tables/floats/{tableName}/{index} | Read specified table element |
GET | /device/strategy/tables/int32s | Write specified table element |
GET | /device/strategy/tables/int32s/{tableName} | Returns an array of the name and length of all the integer32 tables in the strategy |
POST | /device/strategy/tables/int32s/{tableName} | "Read a range of table elements from the specified integer32 table" |
GET | /device/strategy/tables/int32s/{tableName}/{index} | "Write a range of table elements" |
POST | /device/strategy/tables/int32s/{tableName}/{index} | Read specified integer32 table element |
GET | /device/strategy/tables/int64s | Write specified integer32 table element |
GET | /device/strategy/tables/int64s/{tableName} | Returns an array of the name and length of all the integer64 tables in the strategy |
POST | /device/strategy/tables/int64s/{tableName} | "Read a range of table elements from the specified integer64 table" |
GET | /device/strategy/tables/int64s/{tableName}/_string | "Write a range of table elements" |
POST | /device/strategy/tables/int64s/{tableName}/_string | "Read a range of table elements from the specified integer64 table" |
GET | /device/strategy/tables/int64s/{tableName}/{index} | "Write a range of table elements" |
POST | /device/strategy/tables/int64s/{tableName}/{index} | Read specified integer64 table element |
GET | /device/strategy/tables/int64s/{tableName}/{index}/_string | Write specified integer64 table element |
Use this API as a Claude Code skill for instant agent access.
lapsh skill-install opto22-com-pac
Downloads and installs to ~/.claude/skills/opto22-com-pac/
R1.0a (2026-03-02)