6.2.25 Sensor
Command: Sensor,on/off
Alias: SE
Parameters: on/off - optional - Sets sensor reporting on or off
Description: Turns sensor reporting on or off for the user.
Related Cmds: none
Security: Friend
Message Format: Command Response
Notes:
1. The T22 must be connected to an external sensor circuit to detect when the sensor is
turned on or off.
2. Sensor can report when activated, deactivated, or both
a. SET,SensorOn,1 – sensor report when activated or turned on
b. SET;SensorOff,1 – sensor report when deactivated or turned off
2. When using a the sensor input set the following parameters:
a. SET,SensorInputGPIO,1
Errors:
1. Parameter Error
Examples:
Sensor,on
Tramigo: Sensor, reporting turned on, 09:25 Jan 14
Sensor,off
Tramigo: Sensor, reporting turned off, 09:25 Jan 14
When Sensor is turned on:
Tramigo: Sensor on detected, parked, 0.15 km NE of Kemaman Hospital, Chukai,
Terengganu, MY, 09:25 Jan 14
When Sensor is turned off:
Tramigo: Sensor off detected, parked, 0.30 km S of Kelab Darul Ehsan, Setapak,
KL, MY, 09:25 Jan 14