KO Command – Low Power Mode / Sleep
Configure the system’s power saving mode to optimize battery life.
What is it for?
| Use | Description |
|---|---|
| 🔋 Battery saving | Reduces consumption when vehicle is off |
| 😴 Sleep mode | Turns off GPS/GSM after inactivity period |
| ⚡ Ultra low consumption | Extreme mode that even turns off CPU |
| ⏰ Scheduled wake-up | Configure periodic wake-up cycles |
| 🚗 Auto wake-up | Activates by movement or input changes |
How it works
KO defines four power states. The device steps down only while IGN is disconnected, and returns to FULL ON as soon as ignition is connected or there is activity on the digital inputs.
| State | What stays on | How it is entered | How it is exited |
|---|---|---|---|
| FULL ON | Everything: CPU, modem and GPS | IGN connected, with KO mode enabled | — |
| REST | CPU and modem; GPS already turned off by its own counter (cccc) | dddd seconds after IGN OFF | IGN ON or input change |
| TOTAL SLEEP | CPU only: modem and GPS off | bbbb minutes after entering rest, or immediately with SKO+ | IGN ON or input change |
| KO++ (ultra low consumption) | Nothing: even the CPU turns off and rules are frozen | By command only: SKO++ | Movement, inputs or scheduled time |
cccc and dddd run in parallel from IGN OFF; bbbb only starts counting once the device
has entered REST. With default values (SKOE072002400240) the GPS turns off and the device
goes to rest after 4 minutes, and sleeps completely 12 hours later.
In TOTAL SLEEP and in KO++ the modem is off: the device is not online and receives no commands until something wakes it up. Anything that has to happen on wake-up must be configured beforehand, in a rule.
Syntax
| Action | Command | Response |
|---|---|---|
| Configure | SKOabbbbccccdddd | RKO... |
| Query | QKO | RKOabbbbccccddddeeeeffffgggg |
Parameters
| Parameter | Description | Default |
|---|---|---|
a | E = enabled, D = disabled | D |
bbbb | Minutes for TOTAL SLEEP from REST | 0720 |
cccc | Seconds to turn off GPS from IGN OFF | 0240 |
dddd | Seconds for REST from IGN OFF | 0240 |
eeee | Counter minutes for TOTAL SLEEP (read only) | - |
ffff | Counter seconds to turn off GPS (read only) | - |
gggg | Counter seconds for REST (read only) | - |
Direct Actions
| Command | Action |
|---|---|
SKO+ | 😴 Force TOTAL SLEEP (if IGN is disconnected) |
SKO- | 🔄 Restart service, turn on GPS and GSM |
SKO++ | ⚡ Force ULTRA LOW CONSUMPTION (includes CPU) |
⚠️ Ultra Low Consumption Mode (SKO++): the CPU turns off, so the device goes offline and
the rule engine is frozen. With a bare SKO++ it wakes up on movement detection (impact
sensor / G-force) or on digital input activity; the extended variant also allows scheduling
wake-up by time. On its way back it fires KO04+.
Associated Triggers
The KO module exposes five signals (KO00 to KO04) that can be used as a rule trigger
(TRG=) or as a condition (CND=). As with any signal, + is the rising edge (the signal
becomes 1) and - the falling edge.
| Signal | Is 1 when… | Type | Typical use |
|---|---|---|---|
KO00 | The device is in TOTAL SLEEP: the bbbb rest minutes expired and modem and GPS were turned off | Level | KO00+ = it just fell asleep |
KO01 | The device is at REST: the dddd seconds since IGN OFF expired, but not yet the bbbb minutes toward total sleep | Level | Intermediate stage; drops to 0 when it moves to TOTAL SLEEP |
KO02 | The device is FULL ON: IGN connected with KO mode enabled | Level | KO02+ = the vehicle started |
KO03 | KO mode is enabled (SKOE...) | Level | As CND=KO03, to gate rules on low power mode |
KO04 | The device just woke up from KO++ (ultra low consumption) | Pulse | This is the wake-up trigger: TRG=KO04+ |
The wake-up one is KO04+. States KO00-KO03 describe where the device sits inside
the classic KO cycle, which never turns the CPU off. KO04 is different: it is the only one
that reports the device came out of KO++, where the CPU was off and rules were frozen.
It is the hook to turn back on whatever ultra low consumption left off, or to open a working
window on wake-up.
States and triggers
Three things the diagram does not show:
- The GPS turns off on its own
ccccseconds after IGN OFF, without changing the state. SKO+forces the jump to TOTAL SLEEP immediately, without waiting for the counters.- KO++ is entered with the
SKO++command from any state, not only from FULL ON.
Any activity on the digital inputs while IGN is disconnected reloads the three counters and
turns the modules back on, same as SKO-.
Examples with KO04+
>SRLD4E;TRG=KO04+;ACC={STD10R00300}< // on KO++ wake-up: 5 min awake window
>SRLE1E;TRG=KO04+;ACC={SSSBTHPWR11}< // on wake-up: turn BLE back onKO04+ is a pulse: it fires once per wake-up. If you need several actions when leaving
KO++, put them all in the same rule — ACC accepts several chained { } blocks —
instead of splitting KO04+ across two rules: the second one may miss the pulse.
Extended Ultra Low Consumption Mode
Variant of ultra low consumption mode that allows configuring periodic wake-up.
Extended Syntax
| Action | Command | Response |
|---|---|---|
| Configure | SKO++aaaabcdefg | RKO++... |
| Query | QKO++ | RKO++aaaabcdefg |
Extended Parameters
| Param | Description | Values |
|---|---|---|
aaaa | Time to wake up | Seconds (0000 = never). Prefixes: m = min, h = hours |
b | Wake up by movement | 1 = yes, 0 = no |
c | Wake up by inputs | 1 = yes, 0 = no |
d | Cellular modem | 1 = on, 0 = off |
e | GPS module | 1 = on, 0 = off |
f | Internal source | 1 = on, 0 = off |
g | External source 3.3V | 1 = on, 0 = off |
Examples
Enable basic low power mode
>SKOE072002400240< // Enable KO: 720min sleep, 240sec for GPS off and rest
>RKOE072002400240;ID=037883;*5A<Force total sleep
>SKO+< // Force sleep mode (requires IGN=0)
>RKOK;ID=037883;*5A<Low consumption cycle with periodic reports
>SRL01E;TRG=GPS+;ACC={GBR00L}< // On GPS acquisition, generate report
>SRL02E;TRG=BU-;ACC={SKO++0060001000}< // On buffer empty, enter KO++ modeIn this example:
- When GPS position is obtained → generates BR type 00 report
- Once buffer is downloaded → enters ultra low consumption mode
- After 60 seconds → automatically wakes up and repeats the cycle