Automate Opto22 PAC Control
HumDay reads Opto22 PAC Control’s own published API description and derives 55 operations from it. Describe the outcome you want in plain words — you get a program that is written, proven on real data, and run for you.
What Opto22 PAC Control is
#### Revised: 6/15/2018 ### Overview This API provides secure access to a SNAP-PAC-R or -S series controller's variable and I/O tags. Confidentiality for API transactions is provided by HTTPS. Authentication uses HTTP Basic Authentication with an API key. An API key ID is submitted in the Basic Authentication userid field and API key value in the password field. **For more information visit:** [de
What HumDay can do in Opto22 PAC Control
17 documented operations change something in Opto22 PAC Control.
- POSTWrite table elements Examples Write the values (1.5, 2.4, 3.5) to 3 consecutive elements in a table named ftable starting with the element at index 10:POST to with body of the POS…
/device/strategy/tables/floats/{tableName} - POST"Write a range of table elements" Examples Write the values (1, 2, 3) to 3 consecutive elements in a table named itable starting with the element at index 10:POST to with body of…
/device/strategy/tables/int32s/{tableName} - POST"Write a range of table elements" Examples Write the values (1, 2, 3) to 3 consecutive elements in a table named i64table starting with the element at index 10:POST to with body o…
/device/strategy/tables/int64s/{tableName} - POST"Write a range of table elements" Examples Write the values (1, 2, 3) to 3 consecutive elements in a table named i64table starting with the element at index 10:POST to with body o…
/device/strategy/tables/int64s/{tableName}/_string - POSTSets the value of a float variable
/device/strategy/vars/floats/{floatName} - POSTSets the value of an integer32 variable
/device/strategy/vars/int32s/{int32Name} - POSTSets the value of an integer64 variable
/device/strategy/vars/int64s/{int64Name} - POSTSets the value of a string variable
/device/strategy/vars/strings/{stringName} - POST"Write a range of table elements" Examples Write the values ("first", "second", "third") to 3 consecutive elements in a table named strTable starting with the element at index 10:…
/device/strategy/tables/strings/{tableName} - POSTSets the value of the specified analog output point
/device/strategy/ios/analogOutputs/{ioName}/eu - POSTSets the value of an integer64 variable as a string
/device/strategy/vars/int64s/{int64Name}/_string - POSTSets the value of the specified digital output point
/device/strategy/ios/digitalOutputs/{ioName}/state - POSTWrite specified table element
/device/strategy/tables/floats/{tableName}/{index} - POSTWrite specified integer32 table element
/device/strategy/tables/int32s/{tableName}/{index} - POSTWrite specified integer64 table element
/device/strategy/tables/int64s/{tableName}/{index} - POSTWrite specified table element
/device/strategy/tables/strings/{tableName}/{index} - POSTWrite specified integer64 table element as string
/device/strategy/tables/int64s/{tableName}/{index}/_string
What HumDay can read from Opto22 PAC Control
These are the operations a schedule or a trigger can watch.
- GETReturns controller's type; firmware version; both mac addresses; and uptime in seconds
/device - GETReturns the name, date, time, and CRC of the strategy currently in the controller, and the number of charts currently running.
/device/strategy - GETReturns the name and value of all (single-precision) float variables in the strategy
/device/strategy/vars/floats - GETReturns the name and value of all integer32 variables in the strategy
/device/strategy/vars/int32s - GETReturns the name and value of all integer64 variables in the strategy
/device/strategy/vars/int64s - GETReturns the name and value of all string variables in the strategy
/device/strategy/vars/strings - GETReturns an array of the name and length of all the float tables in the strategy
/device/strategy/tables/floats - GETReturns an array of the name and length of all the integer32 tables in the strategy
/device/strategy/tables/int32s - GETReturns an array of the name and length of all the integer64 tables in the strategy
/device/strategy/tables/int64s - GETReturns the name and current value of all up timers in the strategy
/device/strategy/vars/upTimers - GETReturns an array of the name and length of all the string tables in the strategy
/device/strategy/tables/strings - GETReturns the name and current value of all down timers in the strategy
/device/strategy/vars/downTimers - GETReturns the name and engineering units (EU) for all analog input points in the strategy
/device/strategy/ios/analogInputs - GETReturns the name and engineering units (EU) for all analog output points in the strategy
/device/strategy/ios/analogOutputs - GETReturns the name and state (true = on, false = off) of all digital input points in the strategy.
/device/strategy/ios/digitalInputs - GETReturns the name and state (true = on, false = off) of all digital output points in the strategy
/device/strategy/ios/digitalOutputs - GETReturns the name and value as a string of all integer64 variables in the strategy
/device/strategy/vars/int64s/_string - GETReturns value of the specified float variable
/device/strategy/vars/floats/{floatName} - GETReturns value of the specified integer32 variable
/device/strategy/vars/int32s/{int32Name} - GETReturns value of the specified integer64 variable
/device/strategy/vars/int64s/{int64Name} - GETRead table elements Examples Read all elements in a table named ftable: Read elements 5 and up in a table named ftable starting with index 5: Read 3 consecutive elements in a tabl…
/device/strategy/tables/floats/{tableName} - GET"Read a range of table elements from the specified integer32 table" Examples Read all elements in a table named itable: Read elements 5 and up in a table named itable starting wit…
/device/strategy/tables/int32s/{tableName} - GET"Read a range of table elements from the specified integer64 table" Examples Read all elements in a table named i64table: Read elements 5 and up in a table named i64table starting…
/device/strategy/tables/int64s/{tableName} - GETReturns value of the specified string
/device/strategy/vars/strings/{stringName} - GET"Read a range of table elements from the specified string table" Examples Read all elements in a table named strTable: Read elements 5 and up in a table named i64table starting wi…
/device/strategy/tables/strings/{tableName} - GETReads the value in engineering units (EU) of the specified analog input
/device/strategy/ios/analogInputs/{ioName}/eu - GETReads the value in engineering units (EU) of the specified analog output
/device/strategy/ios/analogOutputs/{ioName}/eu - GETReturns value of the specified integer64 variable as a string
/device/strategy/vars/int64s/{int64Name}/_string - GETReturns the specified digital input point's state (true = on, false = off)
/device/strategy/ios/digitalInputs/{ioName}/state - GETReturns the specified digital output point's state (true = on, false = off)
/device/strategy/ios/digitalOutputs/{ioName}/state - GET"Read a range of table elements from the specified integer64 table" Examples Read all elements in a table named i64table: Read elements 5 and up in a table named i64table starting…
/device/strategy/tables/int64s/{tableName}/_string - GETReturns current value of the specified up timer
/device/strategy/vars/upTimers/{upTimerName}/value - GETReturns current value of the specified down timer
/device/strategy/vars/downTimers/{downTimerName}/value - GETRead specified table element
/device/strategy/tables/floats/{tableName}/{index} - GETRead specified integer32 table element
/device/strategy/tables/int32s/{tableName}/{index} - GETRead specified integer64 table element
/device/strategy/tables/int64s/{tableName}/{index} - GETRead specified table element
/device/strategy/tables/strings/{tableName}/{index} - GETRead specified integer64 table element as string
/device/strategy/tables/int64s/{tableName}/{index}/_string
How automating Opto22 PAC Control works
- Describe the outcome. Say what you want to happen, in your own words. No node graphs, no field mapping.
- Approve the contract. HumDay writes down exactly what it will do, what it will touch, and what it will never do. You approve it before anything is built.
- See it proven. The program runs and shows you the result before it is allowed near your live Opto22 PAC Control account.
- Grant access, then go live. You approve the specific Opto22 PAC Control operations it may use — and only those.
Automate Opto22 PAC Control with these
- Opto22 groov View Public10 operations
- Gambitcomm MIMIC356 operations
- Meraki Dashboard263 operations
- ClearBlade220 operations
- Influxdata Influx OSS197 operations
- Intellifi Brain77 operations
- Adafruit IO71 operations
- Ijenko IoE² IoT to create end user applications67 operations
- smart me64 operations
- KeyServ24 operations
- Hardware Sentry TrueSight Presentation Server23 operations
- Netatmo19 operations
Categories
Questions about Opto22 PAC Control automation
- Can HumDay connect to Opto22 PAC Control?
- Yes. HumDay reads Opto22 PAC Control's own published API description and derives the operations from it, so there is no hand-built connector to wait for. 55 operations are documented.
- Do I need to write code to automate Opto22 PAC Control?
- No. You describe the outcome you want in plain words. HumDay agrees a contract with you, writes the program, and shows you a test run before anything touches your Opto22 PAC Control account.
- What can HumDay do in Opto22 PAC Control?
- 17 of the 55 documented operations change something in Opto22 PAC Control, and 38 read from it. HumDay only ever uses the specific operations your approved contract needs.
- Is my Opto22 PAC Control account safe?
- Your credentials are stored encrypted and are never shown in chat, code, or logs. Every run is limited to the operations you explicitly approved, and anything that writes to Opto22 PAC Control is held behind that approval.
Where this came from
The operations above are read from a published API description for Opto22 PAC Control at developer.opto22.com/static/generated/pac-rest-api/pac-rest-api.snap-pac.yaml. Descriptions are the provider’s own words, not ours. Last published 2021-06-21.