No results custom command after sent it to GT06 device

Tohm2 days ago

I have a Traccar server, and after upgrading to 6.10.0 or upgrade my router, the results of my predefined commands stopped displaying in the GUI. When I go to Reports -> Events and select "Command Result," I don't get any results, even though the command was sent. I checked the logs, and it looks like this:

2025-11-06 19:51:14  INFO: [Tae1e50d1] id: 867946050798210, command type: custom sent
2025-11-06 19:51:14  INFO: [Tae1e50d1: gt06 > 192.168.168.1] 787811800b0000000053544154555323000073120d0a
2025-11-06 19:51:16  INFO: [Tae1e50d1: gt06 < 192.168.168.1] 78780a134402030102009661290d0a
2025-11-06 19:51:16  INFO: [Tae1e50d1: gt06 > 192.168.168.1] 78780513009609c70d0a
2025-11-06 19:51:17  INFO: Position filtered by Distance filters from device: 867946050680608
2025-11-06 19:51:17  INFO: [Tae1e50d1: gt06 < 192.168.168.1] 78780a13400203010200971fd60d0a
2025-11-06 19:51:17  INFO: [Tae1e50d1: gt06 > 192.168.168.1] 787805130097184e0d0a
2025-11-06 19:51:18  INFO: [Tae1e50d1: gt06 < 192.168.168.1] 797900b22100000000014f6e6c79206261747465727920737570706c792e426174746572793a332e3537562c3130253b3b475052533a4c696e6b2055703b4753
2025-11-06 19:51:18  INFO: [Tae1e50d1: gt06 < 192.168.168.1] 4d205369676e616c204c6576656c3a6d6964646c653b4750533a46495845442c535653205573656420696e206669783a31322c475053205369676e616c204c6576656c3a31352c31352c32372c31362c302c31372c32342c31332c32382c32362c32352c302c446566656e73653a4f46463b00981f320d0a

I expanded the search date range and found the command results displayed, which in the log look something like this:

2025-05-22 20:33:01  INFO: user: 1, action: command, deviceId: 2, type: custom
2025-05-22 20:33:01  INFO: [T6887994f] id: 867946050808589, command type: custom sent
2025-05-22 20:33:01  INFO: [T6887994f: gt06 > 5.173.168.51] 787811800b0000000053544154555323000073120d0a
2025-05-22 20:33:02  INFO: [T6887994f: gt06 < 5.173.168.51] 797900b22100000000014f6e6c79206261747465727920737570706c792e426174746572793a332e3733562c3535253b3b475052533a4c696e6b2055703b4753
2025-05-22 20:33:02  INFO: [T6887994f: gt06 < 5.173.168.51] 4d205369676e616c204c6576656c3a7374726f6e673b4750533a46495845442c535653205573656420696e206669783a31322c475053205369676e616c204c6576656c3a34342c32392c33352c34362c33362c31392c32352c32372c32312c32302c302c302c446566656e73653a4f46463b038ea9a70d0a
2025-05-22 20:33:02  INFO: Event id: 867946050808589, time: 2025-05-22 20:33:02, type: commandResult, notifications: 0
2025-05-22 20:33:02  INFO: [T6887994f] id: 867946050808589, time: 2025-05-22 20:23:33, lat: 50.57264, lon: 22.06046, course: 155.0, result: Only battery supply.Battery:3.73V,55%;;GPRS:Link Up;GSM Signal Level:strong;GPS:FIXED,SVS Used in fix:12,GPS Signal Level:44,29,35,46,36,19,25,27,21,20,0,0,Defense:OFF;

I see that previously, the device identified itself with the GSM operator's IP address, but now it identifies itself with the gateway IP address on the local network (the router's address). I don't know if this is the only cause, as the log also doesn't show the command result.
Any suggestions on what's wrong?

Tohm2 days ago

Through experimentation, I've determined the cause of the described error. The inability to send commands is caused by the use of a set of filters in my traccar.xml file (removed from the syntax "entry key" and "/entry" so that filter names and the values ​​used display correctly on the forum):

'filter.enable'=true
'filter.distance'=10
'filter.accuracy'=20
'coordinates.filter'=true
'coordinates.minError'=20
'filter.invalid'=true
'filter.zero'=true

When I remove them, sending commands works correctly.
Can anyone, or you, Anton T., advise me on how to configure position filters to the ability send commands from the Traccar GUI?

Tohm2 days ago

Next update:
When I removed just that one line from the configuration file:

'filter.distance'=10

everything started working correctly.

Why does using this filter block the ability to send custom commands from GUI?

Anton Tananaev2 days ago

It is filtered because the location has not changed, so the filter is doing exactly what you configured it to do.

Tohma day ago

"It is filtered because the location has not changed, so the filter is doing exactly what you configured it to do."

So should I understand that running such a filter also filters the results of commands sent to the device, for example, a query for the IMEI number, which actually has nothing to do with the position?

It will apply to any data point. If you don't want to miss command results, the solution is to enable filter.skipAttributes.