Check in traccar Log.
If the devices communicates (online status). And what you see in the log when you sent the command from the web custom command.
Settings
So whats in the log when you sent the command ?
I can not see.
Check in the Logfile in traccar/logs directory you have the file tracker-server.log
2023-03-04 14:26:53 INFO: [Tb8fb65b3] id: 356307046652458, command type: custom sent
2023-03-04 14:26:53 INFO: [Tb8fb65b3: teltonika > 5.173.198.189] 00000000000000130c01050000000b6765747374617475730d0a010000745e
You can see that it actually sends something to the device.. since ">" is outgoing data.
2023-03-04 14:26:53 INFO: [Tb8fb65b3: teltonika > 5.173.198.189] 00000000000000130c01050000000b6765747374617475730d0a010000745e
So what do you see the in log when you sent the same command to a similar device on the server where it is actually working ?
On this server, commands to any device do not work.
It works on another server. I don't know where to look for the cause.
2023-03-04 13:41:42 INFO: [T89ef70fb] id: 354012112146411, command type: custom sent
2023-03-04 13:41:42 INFO: [T89ef70fb: teltonika > 31.30.141.246] 00000000000000110c010500000009676574696e666f0d0a010000da7e
2023-03-04 13:41:45 INFO: [T89ef70fb: teltonika < 31.30.141.246] 000000000000009f0c0106000000975254433a323032332f332f342031333a343120496e69743a323032332f322f32312031343a3320557054696d653a393437
2023-03-04 13:41:45 INFO: [T89ef70fb: teltonika < 31.30.141.246] 34313273205057523a536f66745265736574205253543a31204750533a33205341543a3520545446463a31302054544c463a3134204e4f4750533a303a302053523a353030312046473a3020464c3a3520534d533a30205245433a30204d443a342044423a3001000084ae
2023-03-04 13:41:47 INFO: [T89ef70fb] id: 354012112146411, time: 2023-03-04 13:35:51, lat: 34.91234, lon: 33.63660, course: 0.0, result: RTC:2023/3/4 13:41 Init:2023/2/21 14:3 UpTime:947412s PWR:SoftReset RST:1 GPS:3 SAT:5 TTFF:10 TTLF:14 NOGPS:0:0 SR:5001 FG:0 FL:5 SMS:0 REC:0 MD:4 DB:0
You can see the sent data is not the same:
Server 1 NOT working
00000000000000130c01050000000b6765747374617475730d0a010000745e
Server 2 working
00000000000000110c010500000009676574696e666f0d0a010000da7e
Recreate the custom command on server 1, make sure the text has no spaces. Then try again.
Or meaby you use a different port or protocol for that device.
Because they are two different devices. I showed that on one server it works for me, on the other it doesn't.
As a few days ago I switched devices from server 1 to server 2, the devices within the notifications worked properly.
They do not use the same port and protocol either ?
they use
But these are two different installations.
I tested by moving the device with the sms command to the second server.
So you think when the server uses the same port and protocol that the same sent command data could be different ?
You can see the sent data for the same command: is not the same:
Server 1 NOT working
00000000000000130c01050000000b6765747374617475730d0a010000745e
Server 2 working
00000000000000110c010500000009676574696e666f0d0a010000da7e
Meaby you can explain me why the data sent to the device is different while you use exactly the same command ? I dont think that is possible.
You can see when you translate the HEX data from the log that the command is not the same.
1st server: getstatus
2nd server: getinfo
But anyway, it might also be possible that a firewall blocks outgoing data from server 1.
I am unable to send commands to Teltonika devices. For example, I am not receiving any feedback when sending the command "getstatus". Everything works fine on another installed server. Where should I look for the problem?