How to set up a pet GPS tracker in Miloop

Step by step to connect a SIM GPS tracker (TKSTAR, Winnes, SinoTrack), an OsmAnd app, a Bluetooth tag or an AirTag to Miloop, and what to do if it fails.

Miloop Team · Updated · 4 min read

Pick your tracker type. In every case you start the same way: in Miloop, open Locate › Add a tracker, choose the pet and the type. If you don’t have one yet, read which tracker to buy or compare models in the compatible tracker catalogue first.

1. SIM GPS tracker (TKSTAR, Winnes, SinoTrack…)

Prepare the device

  1. Put the SIM in a phone, remove the PIN and check that it has data and receives SMS.
  2. Put the SIM in the tracker and leave it outdoors for a minute or two.

Pair in Miloop

  1. In Miloop choose GPS with a SIM and enter the device identifier. It’s on the device label; you can also text it imei123456 and it replies. On many devices the printed identifier isn’t the full IMEI: use the one on the device.
  2. The app shows the SMS to send, already filled in, with the exact address and port of Miloop’s server. That’s why we don’t publish them here: always copy the ones in the app.

Send the SMS (TKSTAR and Winnes)

Send them to the tracker’s SIM number. The factory password is 123456; if you changed it, replace it.

Step SMS
Your carrier’s data settings (APN) apn123456 <APN>
Connect it to Miloop adminip123456 <address> <port> (the ones in the app)
Send its position every minute upload123456 60
Keep it awake sleep123456 off
Check the setup check123456
See its identifier imei123456

APNs we have on record (confirm with your carrier): Simyo orangeworld, DIGI internet.digimobil.es, Things Mobile TM.

SinoTrack

SinoTrack devices don’t use these commands. Send the one the app shows instead: it looks like 8040000 <address> <port>. They only accept an IP, not a domain, and according to the Traccar forum some models only accept SMS for about 30 seconds after waking up.

When the first position arrives

Miloop shows “First location received!”. If it takes a while, keep the device outdoors and wait a few minutes.

If it doesn’t work

  • Send check123456: the reply should show the address and port you sent. If it doesn’t match, send the adminip123456 SMS again.
  • Check the APN with your carrier, and that the SIM has data and no PIN.
  • Check you typed the right identifier in Miloop (try imei123456).
  • Commands vary by firmware. Some TKSTAR 4G variants use a different protocol and don’t accept adminip123456. If that’s you, write to admin@zuritatech.com with the model.

2. LoRaWAN GPS (no SIM)

These collars send their position by radio to gateways on a LoRaWAN network (The Things Network, Helium) or to your own ChirpStack. They have no SIM or data fee, but they only work where there are gateways nearby, and positions arrive every few minutes, not live.

  1. In Miloop choose LoRaWAN GPS (no SIM) and enter the device’s DevEUI (16 hexadecimal characters).
  2. The app shows the webhook URL. It’s secret: don’t share it.
  3. The Things Network (TTN v3): in the console, open your application › Integrations › Webhooks › Add webhook › Custom webhook. JSON format, paste the URL as «Base URL», enable only Uplink message, leave its path empty and save.
  4. ChirpStack v4: in your application, open Integrations › HTTP. JSON encoding, paste the URL as «Event endpoint URL» and save.
  5. With Helium, use its ChirpStack-compatible console or route to TTN.

Essential: the device needs a payload formatter that outputs latitude and longitude. Most LoRa collars ship one in the TTN device repository; otherwise ask the maker. Without it no coordinates arrive, and Miloop doesn’t make any up. Battery only shows if the formatter sends it.

3. OsmAnd app / Traccar Client on an old phone

Any phone with data and GPS that you can leave on your pet’s collar or in their bag works.

  1. In Miloop choose OsmAnd app or firmware.
  2. The app shows the server address and the identifier. That identifier is your tracker’s key and is only shown once: keep it.
  3. Install Traccar Client on the old phone and enter that address and identifier there.
  4. Turn on position sending. Miloop shows “First location received!”.

The same applies to other devices or firmware that speak the OsmAnd protocol.

4. Bluetooth tag

  1. Keep the tag at hand and choose Search nearby via Bluetooth.
  2. Miloop looks for nearby devices; pick the tag. If none shows up, bring it closer and tap “Search again”.

What a tag gives you:

  • Proximity (“very close”, “close”, “far” or “out of range”), not an exact distance.
  • Ringing it, if the tag allows it.
  • Last detected: on the map you’ll see where your phone last detected it. It’s approximate and doesn’t follow it once it’s away. With Miloop open it always updates; with the app closed, only if you turn it on in the tag’s details and allow location “All the time” (at most every 2 minutes, and it stays on your phone).

There are no safe zones or history with a Bluetooth tag.

5. AirTag, SmartTag, Find Hub, Tile, Tractive…

These trackers don’t let Miloop read their location. Under Another app manages it you can pick your model and link it to your pet; Miloop keeps it at hand and opens its app in one tap (Apple’s Find My, SmartThings, Find Hub, Tile, or the Tractive, Weenect or Kippy apps…). You’ll only see the location in their own app.

If you later want to see your pet on Miloop’s map, you need one of the types above. Everything Locate does is on the feature page.

Sources

  1. Traccar forum — TK911 Pro 4G: SMS commands
  2. Traccar forum — SinoTrack ST-906L: GPRS commands
  3. Things Mobile — APN for a TK-Star GPS tracker

More guides

Your pet, and your peace of mind

Free on Android. Miloop+ for those who want more.

Now available on Google Play

Get it free on Google Play

Free on Android. No card needed to start.