listGpi
List all general purpuse inputs and their state.
Parameter
None.
Return value
An object where the keys are the input names and the values are objects with the following keys:
| Key | Type | Description |
|---|---|---|
| edgeCount | number | Number of edges (state changes) detected. |
| state | boolean | Current input state. Present only when known. |
| active | boolean | Whether the input is currently active. Present only when known. |