deviceUnknown

Felipe Parentea month ago

I'm receiving several deviceUnknown logs, even though the device is already registered on the platform.

2025-05-29 11:17:40  INFO: Event id: 862476054300206, time: 2025-05-29 11:17:40, type: deviceUnknown, notifications: 0
2025-05-29 11:17:47  INFO: Event id: 869731056701931, time: 2025-05-29 11:17:47, type: deviceUnknown, notifications: 0
2025-05-29 11:17:59  INFO: Event id: 869731054288683, time: 2025-05-29 11:17:59, type: deviceUnknown, notifications: 0
2025-05-29 11:19:35  INFO: Event id: 868022035606404, time: 2025-05-29 11:19:35, type: deviceUnknown, notifications: 0
2025-05-29 11:19:40  INFO: Event id: 869731056702111, time: 2025-05-29 11:19:40, type: deviceUnknown, notifications: 0
Anton Tananaeva month ago

I think you're confusing two very different logs. This is just an event for when device connection status changes to unknown. It's not the same thing as device unregistered.

Felipe Parentea month ago

Got it.

Because it looks a lot like the log:

2025-05-29 11:43:36 WARN: Unknown device - 868022037010530 (187.32.97.125)

Thanks.

Anton Tananaeva month ago

It looks a bit similar, but not the same.

Sandora month ago

Thanks @Anton for clarifying. I started to notice these as well when I moved to
<entry key='event.forward.type'>mqtt</entry>

Serverlog:

2025-06-15 11:00:06  INFO: Event id: 135, time: 2025-06-15 11:00:06, type: deviceUnknown, notifications: 0

2025-06-15 11:00:08  INFO: [T74912116] connected

2025-06-15 11:00:08  INFO: [T74912116: osmand < 192.168.***.***] GET /?id=135&lat=45.57001266666678&lon=3.4496511222222115&timestamp=1749985222&hdop=0&altitude=0&speed=0 HTTP/1.1\r\nuser-agent: got (https://github.com/sindresorhus/got)\r\nHost: 192.168.***.***:5055\r\nConnection: keep-alive\r\n\r\n
2025-06-15 11:00:08  INFO: [T41d1b09b] connected

They mainly occur just before the item (phone, car e.g.) sends an http request to traccar just before they become deviceOnline

I can easily filter these out, thanks!

mqtt_traccar.jpg

Anton Tananaeva month ago

It just means that your device hasn't reported data for some time. By default the timeout is 10 minutes.