Skip to content

Instantly share code, notes, and snippets.

@gmarfjan
Created June 1, 2020 11:45
Show Gist options
  • Star 16 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save gmarfjan/e088d839d996effe71e5d99af93a873b to your computer and use it in GitHub Desktop.
Save gmarfjan/e088d839d996effe71e5d99af93a873b to your computer and use it in GitHub Desktop.
Commands for managing a tk-start tk915 GPS tracker

TKSTAR-TK915 SMS Commands

Nota

  • <space> means space character

  • <phone number> like 00330612345678 (prefer international format)

Table 1. Admin commands
Description Command Response Comment

Change password

password<current password><space><new password>

password ok

Enable admin phone number

admin<password><space><phone number>

admin ok

Up to 5 phone numbers.

Disable admin phone number admin

noadmin<password><space><phone number>

noadmin ok

Table 2. Configuration commands
Description Command Response Comment

Reset hardware

begin<password>

begin ok

Check the device

check<password>

device informations

Timezone setting

timezone<password><space><timezone>

time ok

ex: timezone123456 +2

Table 3. Network commands
Description Command Response Comment

Enable GPRS

gprs<password>

gprs ok

Disable GPRS

nogprs<password>

nogprs ok

Set APN

apn<password><space><APN name>

apn ok

Set APN user

apnuser<password> <APN username>

apnuser ok

Set APN password

apnpassword<password> <APN password>

apnpassword ok

Table 4. Alarm commands
Get position g<password># location informations

Enable shock detection

shock<password>

shock ok

Disable shock detection

noshock<password>

noshock ok

Sleep after 10min

sleep<password><space><time>

sleep time ok

Sleep by shock after 5min

sleep<password><space>shock

sleep shock ok

Disable sleep mode

sleep<password><space>off

sleep off ok

Enable alarm when move

move<password><space><distance in meter>

move ok

ex: move123456 500 (over 500m)

Disable alam when move

nomove<password>

nomove ok

Enable over-speed alarm

speed<password><space>080

speed ok

ex: speed123456 080 (over 80km/h)

Disable over-speed alarm

nospeed<password>

nospeed ok

Enable Auto location

t<time w/ 3 digits><time unit s/m/h><occurs w/ 3 digits>n<password>

location informations

ex:

* t030s005n123456 send location every 30s, 5 times.

* t001h001n123456 send location every hour, 1 time.

* t005m**n123456 send position every 5min

*time: from 20sec / cycle between 000 and 255.

Disable Auto location

notn<password>

notn ok

@florinbufanu
Copy link

I left the sim inside tracker, I top up with 5£ but still nothing, I mean, I send sms to it but I don't get sms back,not sure what's wrong

@gterzolo
Copy link

gterzolo commented Sep 4, 2022

If you remove the sim from the tracker and insert it in a phone, are you able to send sms?

@florinbufanu
Copy link

Yes, I can send sms and call, I tried both.
I rang and answered on my phone

@gterzolo
Copy link

gterzolo commented Sep 4, 2022

The tracker could be broken.

@florinbufanu
Copy link

Could be, I don't know, I bought it from carboot new in a box

@Michigan-PI
Copy link

Michigan-PI commented Sep 5, 2022 via email

@florinbufanu
Copy link

I have a sim from 3 network, I am based in Luton

@florinbufanu
Copy link

All sorted,you are right, the sim was the problem, wasn't 2G ,I replaced it and now it's working.
Thank you very much for your help 🙏

@Michigan-PI
Copy link

Michigan-PI commented Oct 11, 2022 via email

@Dadodejo
Copy link

hello, we have a problem with the gps tracker tk star915, it always sends me the wrong location of LAC, what is the problem? and it receives the settings properly and I get OK on the settings?

@Mermoz06000
Copy link

Mermoz06000 commented Jun 16, 2023

Hi
I have a TK913 and I'd like to know how to reset it to factory default
Many thanks

@florinbufanu
Copy link

florinbufanu commented Jun 16, 2023 via email

@Michigan-PI
Copy link

Michigan-PI commented Jun 16, 2023 via email

@ELDiablO59152
Copy link

ELDiablO59152 commented Jun 17, 2023

Hi,
You can add the command "monitor" to enable the microphone.
After that, the tracker will answer the call. To disable it, send "tracker".
Also the sensitivity of the shock sensor can be configured with "sensitivity n" (n in range of 1 to 3).
"loosing" to send an alert if the alimentation is unplugged.
Geo-fence configuration with "stockade 3.049529E,50.639796N;3.051589E,50.638745N" (long et latitute reversed).
All sos commands are working but without the button, it's quite worthless to configure it.

We can also define another IP address to send regularly the data to a private server for exemple with "adminip IP PORT"
And configure the time between each upload "upload 10"

Can you think about escaping asterisks in the markdown please ? With a backslash before each one.
Thanks a lot.

Coucou de Lille aussi !

@19leva89
Copy link

Good day, how can I turn off SMS notifications about the accelerometer triggering and leave only Push notifications?

@Michigan-PI
Copy link

Michigan-PI commented Jun 23, 2023 via email

@19leva89
Copy link

Michigan

I don't want to turn off shock alerts. I want to turn off SMS notifications about shock alerts ;)

@Michigan-PI
Copy link

Michigan-PI commented Jun 23, 2023 via email

@gmarfjan
Copy link
Author

Hi @ELDiablO59152, can you confirm that these commands work with TK915 ? I can't check because mine is out of service.

@ELDiablO59152
Copy link

Hi @gmarfjan, yes it's working with mine.

@benawa37
Copy link

Bonjour, pourquoi l application met: t915-30011 not enabled ?

@ELDiablO59152
Copy link

Bonjour, pourquoi l application met: t915-30011 not enabled ?

Quelle application @benawa37 ?

@lehgithub
Copy link

meu tkstar915 não funciona mais. iniciei com um chip da tim, ele funcionou normalmente nos primeiros dias e agora não envia mais os comandos solicitados. não retorna o SMS. O led de rede não pisca, fica ligado direto.

@5p0ng3b0b
Copy link

How do you add more than 1 admin number?

@Michigan-PI
Copy link

Michigan-PI commented Jan 8, 2024 via email

@5p0ng3b0b
Copy link

5p0ng3b0b commented Jan 9, 2024

Only 1 admin number can be used at a time. You must delete the current admin number to add another.

yeah thought so, comment in table says up to 5 numbers though. i also found that during calling in monitor mode, the online tracking and sms do not function until hanging up. (TK915-4G)

@berpark99
Copy link

Hi, I am just setting up my 24th tracker, my 2nd 4G one (in the UK), when sending "gprs123456 I get the response "The non-privileged number cannot be set", any advice would be appreciated as this response is new to me. Thanks :)

@Lucas-allard
Copy link

Lucas-allard commented Mar 19, 2024

Hello, has anyone already configured a server to receive tkstar frames? I have a nodejs/express app that should retrieve the frames and save them in a file, but it is impossible to retrieve the frames correctly.

To do this, I sent the following sms: adminip123456 {your_public_ip} {port}, and received an adminip ok reply.

When I start my server I receive an incoming communication but the frames don't have the desired format.

If anyone has experienced this problem, I'd like to thank them in advance for their help.

@5p0ng3b0b
Copy link

@Lucas-allard
I don't have this device anymore but I had it working on a traccar server I set up using port 5093. AFAIK, the device uses 'watch' protocol.
https://www.traccar.org/devices/
https://www.traccar.org/protocols/
Some java decode/encode/test stuff here.
https://github.com/traccar/traccar/tree/master/src/test/java/org/traccar/protocol
Hope it is of some help!

@Lucas-allard
Copy link

@5p0ng3b0b
Thanks for your reply! After searching a bit (thanks to the leads you provided) I have the impression that my tk-905 uses another protocol, the Huabao protocol.

Thanks again for your reply, which has given me some ideas for further research.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment