listGpi
List all general purpose 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 |
|---|---|---|
| active | boolean | Whether the input is currently active. Present only when known. |
| edgeCount | number | Number of edges (state changes) detected. |
| activeCount | number | Number of times the input became active. v6.0 |
| state | boolean | Deprecated name of active. |