This command, can be used to manage general purpose input #1.
GPI1 ends on pin 5 of 22 pins main connector.

Synopsis

GPIO GPI1 [<argument>]

Arguments

<none> Used to get actual input status.
Returns actual input status, followed by OK.
NOTIFY Used to be notifyed when input status changes.
Returns only OK.
SILENT Used to unregister notification feature on input status changes.
Returns only OK.

Examples

Getting input status:

GPIO GPI1
ON
OK

Enable notification

GPIO GPI1 NOTIFY
OK

Events

If enabled, unsolicited events will be triggered on input status changes.

EVNT GPI1 ON