Originally posted by antoon
View Post
I have another problem.
When I move from home to work geofence is working but the map and adress stays from home.
On the traccar server everything is OK
In the log I saw a error so restart the traccar plugin.
After that the map and adres are OK
When I move from home to work geofence is working but the map and adress stays from home.
On the traccar server everything is OK
In the log I saw a error so restart the traccar plugin.
After that the map and adres are OK
Code:
[FONT=B612 Mono][COLOR=#000000]AK Traccar[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000]Info[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000][7685] Opel Corsa: ExecuteAsync[[URL="http://192.168.0.190:8082/api/positions?id=132145%5D:"]http://192.168.0.190:8082/api/positions?id=132145]:[/URL][/COLOR] De externe server heeft een fout geretourneerd: (400) Ongeldige opdracht.[/FONT] [LEFT][FONT=B612 Mono][COLOR=#000000][FONT=Roboto][SIZE=16px]4-01-2021 06:13:23[/SIZE][/FONT][/COLOR][/FONT][/LEFT] [FONT=B612 Mono][COLOR=#000000]AK Traccar[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000]Info[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000][7680] Antoon Telefoon: ExecuteAsync[[URL="http://192.168.0.190:8082/api/positions?id=132138%5D:"]http://192.168.0.190:8082/api/positions?id=132138]:[/URL] De externe server heeft een fout geretourneerd: (400) Ongeldige opdracht.[/COLOR][/FONT] [LEFT][FONT=B612 Mono][COLOR=#000000][FONT=Roboto][SIZE=16px]4-01-2021 06:13:23[/SIZE][/FONT][/COLOR][/FONT][/LEFT] [FONT=B612 Mono][COLOR=#000000]AK Traccar[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000]Info[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000][7685] Opel Corsa: ExecuteAsync[[URL="http://192.168.0.190:8082/api/positions?id=132145%5D"]http://192.168.0.190:8082/api/positions?id=132145][/URL][/COLOR][/FONT] [LEFT][FONT=B612 Mono][COLOR=#000000][FONT=Roboto][SIZE=16px]4-01-2021 06:13:23[/SIZE][/FONT][/COLOR][/FONT][/LEFT] [FONT=B612 Mono][COLOR=#000000]AK Traccar[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000]Info[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000][7680] Antoon Telefoon: ExecuteAsync[[URL="http://192.168.0.190:8082/api/positions?id=132138%5D"]http://192.168.0.190:8082/api/positions?id=132138][/URL][/COLOR][/FONT] [LEFT][FONT=B612 Mono][COLOR=#000000][FONT=Roboto][SIZE=16px]4-01-2021 06:13:16[/SIZE][/FONT][/COLOR][/FONT][/LEFT] [FONT=B612 Mono][COLOR=#000000]AK Traccar[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000]Info[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000][7680] Antoon Telefoon: ExecuteAsync[[URL="http://192.168.0.190:8082/api/geofences?refresh=False&deviceId=2%5D"]http://192.168.0.190:8082/api/geofen...se&deviceId=2][/URL][/COLOR][/FONT] [LEFT][FONT=B612 Mono][COLOR=#000000][FONT=Roboto][SIZE=16px]4-01-2021 06:13:07[/SIZE][/FONT][/COLOR][/FONT][/LEFT] [FONT=B612 Mono][COLOR=#000000]AK Traccar[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000]Info[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000][7685] Opel Corsa: ExecuteAsync[[URL="http://192.168.0.190:8082/api/geofences?refresh=False&deviceId=3%5D"]http://192.168.0.190:8082/api/geofen...se&deviceId=3][/URL][/COLOR][/FONT] [LEFT][FONT=B612 Mono][COLOR=#000000][FONT=Roboto][SIZE=16px]4-01-2021 06:13:07[/SIZE][/FONT][/COLOR][/FONT][/LEFT] [FONT=B612 Mono][COLOR=#000000]AK Traccar[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000]Info[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000][7685] Opel Corsa: Position(id 132145): 51,81837, 5,75564333333333 (6 Einsteinstraat, Wijchen, GE, NL)[/COLOR][/FONT] [LEFT][FONT=B612 Mono][COLOR=#000000][FONT=Roboto][SIZE=16px]4-01-2021 06:13:07[/SIZE][/FONT][/COLOR][/FONT][/LEFT] [FONT=B612 Mono][COLOR=#000000]AK Traccar[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000]Info[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000][7685] Opel Corsa: ExecuteAsync[[URL="http://192.168.0.190:8082/api/positions?id=132145%5D"]http://192.168.0.190:8082/api/positions?id=132145][/URL][/COLOR][/FONT] [LEFT][FONT=B612 Mono][COLOR=#000000][FONT=Roboto][SIZE=16px]4-01-2021 06:13:07[/SIZE][/FONT][/COLOR][/FONT][/LEFT] [FONT=B612 Mono][COLOR=#000000]AK Traccar[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000]Info[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000][7680] Antoon Telefoon: Position(id 132138): 51,8186575, 5,7558353 (6 Einsteinstraat, Wijchen, GE, NL)[/COLOR][/FONT] [LEFT][FONT=B612 Mono][COLOR=#000000][FONT=Roboto][SIZE=16px]4-01-2021 06:13:07[/SIZE][/FONT][/COLOR][/FONT][/LEFT] [FONT=B612 Mono][COLOR=#000000]AK Traccar[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000]Info[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000][7680] Antoon Telefoon: ExecuteAsync[[URL="http://192.168.0.190:8082/api/positions?id=132138%5D"]http://192.168.0.190:8082/api/positions?id=132138][/URL][/COLOR][/FONT] [LEFT][FONT=B612 Mono][COLOR=#000000][FONT=Roboto][SIZE=16px]4-01-2021 06:13:07[/SIZE][/FONT][/COLOR][/FONT][/LEFT] [FONT=B612 Mono][COLOR=#000000]AK Traccar[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000]Info[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000][7678] 192.168.0.190: Execute(sync)[[URL="http://192.168.0.190:8082/api/devices%5D"]http://192.168.0.190:8082/api/devices][/URL][/COLOR][/FONT] [LEFT][FONT=B612 Mono][COLOR=#000000][FONT=Roboto][SIZE=16px]4-01-2021 06:13:07[/SIZE][/FONT][/COLOR][/FONT][/LEFT] [FONT=B612 Mono][COLOR=#000000]AK Traccar[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000]Info[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000][7685] Opel Corsa: ExecuteAsync[[URL="http://192.168.0.190:8082/api/geofences?refresh=False&deviceId=3%5D"]http://192.168.0.190:8082/api/geofen...se&deviceId=3][/URL][/COLOR][/FONT] [LEFT][FONT=B612 Mono][COLOR=#000000][FONT=Roboto][SIZE=16px]4-01-2021 06:12:33[/SIZE][/FONT][/COLOR][/FONT][/LEFT] [FONT=B612 Mono][COLOR=#000000]AK Traccar[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000]Info[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000][7680] Antoon Telefoon: ExecuteAsync[[URL="http://192.168.0.190:8082/api/geofences?refresh=False&deviceId=2%5D"]http://192.168.0.190:8082/api/geofen...se&deviceId=2][/URL][/COLOR][/FONT] [LEFT][FONT=B612 Mono][COLOR=#000000][FONT=Roboto][SIZE=16px]4-01-2021 06:12:33[/SIZE][/FONT][/COLOR][/FONT][/LEFT] [FONT=B612 Mono][COLOR=#000000]AK Traccar[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000]Info[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000][7685] Opel Corsa: ExecuteAsync[[URL="http://192.168.0.190:8082/api/positions?id=132144%5D:"]http://192.168.0.190:8082/api/positions?id=132144]:[/URL] De externe server heeft een fout geretourneerd: (400) Ongeldige opdracht.[/COLOR][/FONT] [LEFT][FONT=B612 Mono][COLOR=#000000][FONT=Roboto][SIZE=16px]4-01-2021 06:12:33[/SIZE][/FONT][/COLOR][/FONT][/LEFT] [FONT=B612 Mono][COLOR=#000000]AK Traccar[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000]Info[/COLOR][/FONT] [FONT=B612 Mono][COLOR=#000000][7680] Antoon Telefoon: ExecuteAsync[[URL="http://192.168.0.190:8082/api/positions?id=132138%5D:"]http://192.168.0.190:8082/api/positions?id=132138]:[/URL] De externe server heeft een fout geretourneerd: (400) Ongeldige opdracht.[/COLOR][/FONT] [LEFT][FONT=B612 Mono][COLOR=#000000][FONT=Roboto][SIZE=16px]4-01-2021 06:12:33[/SIZE][/FONT][/COLOR][/FONT][/LEFT]
Code:
[FONT=B612 Mono][COLOR=#000000][[URL="http://192.168.0.190:8082/api/positions?id=132138%5D:"]http://192.168.0.190:8082/api/positions?id=132138][/URL][/COLOR][/FONT] The remote server returned an error: (400) Invalid command.
Do you know if there's log in the Traccar server?
Also, I check if location is changed (to 3 decimal places by default) before requesting map/address - to reduce number of calls which may cost.
You may try changing "Location change precision" to, say, 4.
Comment