-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GT06 device does not block through notification. #5237
Comments
It's interesting that in the first example you included several lines after as a good practice, but in the second you did not and it's not possible to tell if the command was actually sent. |
Thanks for the quick response. It's because in the second example only these two lines appear in the log, nothing else, the next line is already routine for the GPS, sending the location. |
This "engineStop" message is only present in the src/main/java/org/traccar/model/Command.java file. In other words, theoretically it was supposed to execute the complete command. |
@jeovajireh This here solved my problem, which was the same as yours, J16 protocol GT06 did not block when leaving the fence. Anton advised us to insert this and it resolved it. |
Thank you, I'll do more tests on Monday and get back to you and let you know if it's resolved. |
Hello! Today I managed to finish the tests. Adding this line to the configuration file, the geofence started to work as it should. Thanks |
When sending the engine stop command through the map popup, the engine is turned off. When creating a geofence, placing it on the device, creating a notification to execute the stop command and adding this notification to the device, blocking does not occur. The name of the command appears in the logs, "engineStop sent", but the line responsible for the blocking is not sent.
To Reproduce
1 - Click on the device and create a geofence.
2 - Click on "Commands" and create a command named "Stop" that will execute Turn off engine.
3 - In "Notifications" create a notification, Type: Virtual fence exit. Channel: Command. Saved command: Stop.
4 - In devices, click on the device for which the geofence was created and in the "Connections" section, select "Notifications" Exiting the virtual fence.
Expected behavior
The expected behavior would be the same as sending the command through the map popup, which is:
Command sent by map popup:
But the result in the log is this:
Command sent to the vehicle to leave the geofence:
Application version: 5.8
Server version: 5.9
Thanks
The text was updated successfully, but these errors were encountered: