Blocked attribute received on one server but is missing on other

hamzakaleem12 days ago

Hi, Thank you for the help in advance.
I am using gt06 protocol devices and are set up with dual IP of traccar. On one side, the "blocked" attribute is received in all devices. But, in my server, it's received on some devices but not on all devices. Even when I block or unblock device with command "Relay,1#", the attribute is never received on those particular device. I have also enabled copyattributes, but haven't found anything yet.
Can I add something in the configuration to get the attributes? the position I am getting is

[
    {
        "id": 173431881,
        "attributes": {
            "distance": 0.0,
            "totalDistance": 614.775802640035,
            "motion": false,
            "ignition": true,
            "hours": 29921000
        },
        "deviceId": 1164,
        "protocol": "gt06",
        "serverTime": "2025-05-21T17:17:59.000+00:00",
        "deviceTime": "2025-05-21T17:17:50.000+00:00",
        "fixTime": "2025-05-21T17:15:39.000+00:00",
        "outdated": false,
        "valid": true,
        "latitude": {lat},
        "longitude": {long},
        "altitude": 0.0,
        "speed": 0.0,
        "course": 336.0,
        "address": {address},
        "accuracy": 0.0,
        "network": {
            "radioType": "gsm",
            "considerIp": false,
            "cellTowers": [
                {
                    "cellId": 14216,
                    "locationAreaCode": 29108,
                    "mobileCountryCode": 404,
                    "mobileNetworkCode": 20,
                    "signalStrength": -34
                },
                {
                    "cellId": 13322,
                    "locationAreaCode": 29108,
                    "mobileCountryCode": 404,
                    "mobileNetworkCode": 20,
                    "signalStrength": -24
                },
                {
                    "cellId": 17252,
                    "locationAreaCode": 29108,
                    "mobileCountryCode": 404,
                    "mobileNetworkCode": 20,
                    "signalStrength": -23
                },
                {
                    "cellId": 29841,
                    "locationAreaCode": 29108,
                    "mobileCountryCode": 404,
                    "mobileNetworkCode": 20,
                    "signalStrength": -23
                }
            ]
        },
        "geofenceIds": null
    }
]
hamzakaleem12 days ago

same device is sending the attribute correctly to the other server. I don't have access to that server's configurations unfortunately.

Anton Tananaev12 days ago

You need to check logs to see what types of messages your device is actually sending. Then check it against the protocol documentation to see if those messages include this attribute. And if the answer is yes, but you don't see them, then there might be some decoding issue on the server.