GPS name and identifier to reach localhost:8082

mayrasol3 years ago

I´m able to send mobile gps location (using Traccar Client) updates to my localhost:8082, but cannot find the way to send data from GPS devices.
Im using queclink and teltonika devices: when adding them to traccar server, i use IMEI number as identifier.
Localhost is my pc, with a public IP
I configure port forwarding in my home gateway (5004 and 5027 to 8082)
I checked ports 8081 and 8082 are LISTENING
I checked my firewall rules
In the GPS device, server= my public IP, port=8082

LOG from Traccar, where you can see connections from Android Client:

2022-07-29 09:54:10  INFO: [Ta3a597dc] connected
2022-07-29 09:54:10  INFO: [Ta3a597dc: osmand < 127.0.0.1] 504f5354202f3f69643d3535353930342674696d657374616d703d31363539303939323531266c61743d2d33342e353737333332266c6f6e3d2d35382e343332333631392673706565643d302e303436303830373636343433373734312662656172696e673d3331322e3835373639363533333230333126616c7469747564653d32392e3739393939393233373036303534372661636375726163793d31302e30373139393935343938363537323326626174743d31382e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f69642031323b20534d2d413532354d204275696c642f535031412e3231303831322e303136290d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a5669613a20312e312054303030333432393030380d0a582d466f727761726465642d466f723a203138312e392e3132332e3130380d0a582d466f727761726465642d50726f746f3a20687474700d0a582d466f727761726465642d486f73743a203230302e3131372e3232352e36393a383038320d0a582d466f727761726465642d5365727665723a203139322e3136382e312e360d0a486f73743a206c6f63616c686f73743a353035350d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2022-07-29 09:54:10  INFO: [Ta3a597dc: osmand > 127.0.0.1] 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2022-07-29 09:54:10  INFO: [Ta3a597dc] id: 555904, time: 2022-07-29 09:54:11, lat: -34.57733, lon: -58.43236, speed: 0.0, course: 312.9, accuracy: 10.1
2022-07-29 09:54:40  INFO: [Ta3a597dc] disconnected

Any ideas?
Thanks in advance

Anton Tananaev3 years ago

Port 8082 is only for the web app and you should not use it for any devices. For devices you should use ports 5XXX:

https://www.traccar.org/devices/

RoWebHost3 years ago

Hi
How do you find the ID of the teltonika product?
you can help me please!!!
Thank you in advance

Anton Tananaev3 years ago

Teltonika uses IMEI, afaik.

RoWebHost3 years ago

This means in traccar I can use that imei as an identifier?
Sorry but i am new on this.
thx

Anton Tananaev3 years ago

Yes.

RoWebHost3 years ago

Nop,is not working.

Anton Tananaev3 years ago

What is not working? If it's not working, you should follow the troubleshooting guide.

RoWebHost3 years ago

I have this data

INFO: user: 1, action: link, owner: user, id: 1, property: device, id: 11
INFO: [Ta03ecf08] connected
INFO: [Ta03ecf08: teltonika < 109.166.129.131] 464d42580000004e000a00010001040064000403190e0500c800020212012c000462c95c7201900008000147156017834e01f400010001f50002001701f600040000000100c900040$
INFO: [Ta03ecf08: teltonika < 109.166.129.131] 464d4258000000060001ffff000200050001ea65454e4458
INFO: [Ta03ecf08] disconnected

:)

Anton Tananaev3 years ago

This doesn't look like the standard Teltonika protocol. You should check with them to get protocol documentation.

RoWebHost3 years ago

Ok,
Thank you very much!