The SIB Integration API is the API used in device integrations on the sensemetrics Thread to access convenient methods useful for performing device and sensor integrations. These methods execute on the Thread and provide high-level access to various operations such as the following:
- Powering the device with a voltage
- Sending a modbus command
- Setting a device property or sensor property
- Sending an ascii or byte array command to a device
- Setting a local device or local sensor property for stateful use-cases
- Converting between binary/hex/float/int
- Posting observations
When inside the SIB IDE editor, you can quickly access a listing of all available Integration API methods using the IDE autocompletion feature. You can access this by using the Option-Spacebar keyboard shortcut when your cursor is in the IDE.
See the attached reference manual below for a PDF of all the available methods.