Skip to content

Instantly share code, notes, and snippets.

@gmarfjan
Created June 1, 2020 11:45
Show Gist options
  • 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

@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 :)

@kaluxxx
Copy link

kaluxxx 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!

@kaluxxx
Copy link

kaluxxx commented Mar 20, 2024

@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.

@orangelizard
Copy link

Hi I have two tk918's I am trying to add them on one email account to use on mytkstar or winnes. When I try to add one of them that works fine. If I then try to add the second one it says "no permission" I've tried RESET123456 on it but to no avail. I can log in to both separately fine using the login by ID. Just not log in by username with my account email. I've tried the winnes app and mytkstar app. Any ideas? Kind regards Jason.

@Sultan1118
Copy link

Hello,
I have a problem with all my devices, specifically with the battery. My battery is 10,000 mAh, but it can't last more than a week! Why?

@Michigan-PI
Copy link

Michigan-PI commented May 23, 2024 via email

@tassosk56
Copy link

I am using the Tk913 GPS tracker. My problem is when the device start to move after long stay, it’s take too long to be showed in applications and that makes it difficult to followed. Also If it’s possible I need to set the device in such way when stops moving to go (OFFLINE). And to wake up by shock’’, and going (ONLINE) when it’s starts to move again’’ to saving battery. Because as default it’s always “ONLINE” and consumes a lot of battery! I send sms command (Sleep123456 shock) thru the mytkstar platform. On the check command section I get the following:

@tassosk56
Copy link

image

@Ducatinus
Copy link

Hi..does the rconf works on the tk915? Just want to see all settings?
And can someone explain the autolocation to me? Hoe do I set it up and what does it do. Thanks

@Michigan-PI
Copy link

Michigan-PI commented Jul 1, 2024 via email

@Ducatinus
Copy link

Use CHECK command not RCONF

On Jul 1, 2024, at 2:02 AM, Ducatinus @.***> wrote: @Ducatinus commented on this gist. Hi..does the rconf works on the tk915? Just want to see all settings? And can someone explain the autolocation to me? Hoe do I set it up and what does it do. Thanks — Reply to this email directly, view it on GitHub https://gist.github.com/gmarfjan/e088d839d996effe71e5d99af93a873b#gistcomment-5107118 or unsubscribe https://github.com/notifications/unsubscribe-auth/ASYK2GIQZDR57D7OCGQ5PFDZKDWHZBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVEYTAMZUGQ4DQNZRU52HE2LHM5SXFJTDOJSWC5DF. You are receiving this email because you commented on the thread. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Thanks. No possibility to get info like this?

Screenshot_20240701_094847_Messages

@Ducatinus
Copy link

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

Can someone explain this to me and what does it do? How should the command look like?

@Ipsamexico
Copy link

I lost my password, can somebody tell me what to do

@carlosbarahona
Copy link

Hi, I have a tk405 4g, and I can't get the adminip command to work. The tkstar website gives me an error and it doesn't respond to me via SMS. When I check with the check****** command, the default configuration appears. Does anyone know what could be happening? Do I need any extra configuration or do I need to disable something for the adminip command to work?
Thanks a lot.

@TheZoker
Copy link

@carlosbarahona Did you try to include your current password in the command?
Something like adminip123456 {your_public_ip} {port}

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