Skip to Content

PK Command - Parking Mode (Anti-Tow)

Establishes a virtual geofence from the current vehicle position to detect if it’s being towed or moved without authorization.


What is it for?

  • 🚛 Tow detection — Alert if the vehicle is loaded onto a tow truck
  • 🔒 Parking security — Protect the vehicle while it’s turned off
  • 📍 Position control — Verify that the vehicle remains in place
  • 🚨 Anti-theft system — Complement for vehicle alarms
  • 🏢 Parked fleets — Monitor vehicles in depots or parking lots

Operation

  1. Configure — Define radius and confirmation time with SPKEbbbbcccc. This only saves the values
  2. Enable — Send SPKE with no parameters to activate parking mode
  3. Activate — Execute SPKA to capture current position as geofence center
  4. Monitoring — The device continuously compares GPS position with the center
  5. Detection — If the vehicle exits the radius during the configured time, the PK+ signal is triggered
  6. Reset — Executing SPKA again captures a new position and resets the state. SPKD with no parameters disables the mode

With parameters, SPKE and SPKD do not enable or disable anything. The handler only saves the radius and time; sending digits after the command name never toggles parking mode. To enable or disable it, send SPKE or SPKD with no parameters at all.

The confirmation time prevents false alarms due to GPS fluctuations. The vehicle must remain outside the radius for the entire duration to trigger the alert.


Command Summary

ActionCommandDescription
ConfigureSPKEbbbbccccOnly saves radius and time. Does not enable
EnableSPKEEnables parking mode using the saved values
AcquireSPKACapture current position as center
DisableSPKDDeactivate parking mode
QueryQPKGet current configuration

Parameters

FieldDescriptionValues
bbbbRadius in meters, 4 digits0001-9999 (default 0050)
ccccConfirmation time in seconds, 4 digits0001-9999 (default 0015)

Parking mode is not indexed. There is a single parking configuration in the device: the command takes no index, and neither does QPK. A form such as SPKE00... is read as a radius, not as an instance number.

The confirmation time prevents false alarms: the vehicle must be outside the radius for ccc seconds to activate the signal.


Associated Signals

SignalDescription
PK00The vehicle left the geofence: tow detected
PK01Parking mode is enabled

Only these two exist. PK02 and above always read as 0.


Examples

Basic anti-tow configuration

>SPKE00500015< // 50 meter radius, 15 seconds confirmation — saves only >SPKE< // Now enable parking mode

Activate parking (capture position)

>SPKA< // Takes current position as geofence center

Deactivate parking

>SPKD< // Deactivates mode and resets PK signal

Use in Event Rules

Automatic anti-tow system

// When turning off vehicle: activate parking >SRL00E;TRG=IN07-;ACC={SPKA}{SCXGPS1}< // If tow detected (and vehicle still off): alert >SRL01E;TRG=PK00+;CND=IN07!;ACC={STX PK TRIGGER ;@TRM}{GCQ78H}{SCXGPS0}<

The SCXGPS1 command activates GPS even when the vehicle is turned off, allowing updated position during a potential theft.

For detection to work properly, GPS must have good reception when executing >SPKA<. In areas with poor signal, consider increasing the radius.

Compatibility

💾Firmware v1.12.00
SPLegacy
ULLegacy
MTLegacy
C3Legacy
C5Legacy
💾Firmware v1.00.00
SP-IOT
SM-IOT
ZE-IOT
Last updated