OverspeedProcessor
if you want to know how it all works.Thank you very much Anton!
greetings. I am also testing this function. but when trying to deactivate it, delete the url in traccar.xml or setting speedLimit.enable to false. I keep getting the notifications. how do i disable it? What should I delete from the database?
If you're still receiving it, probably you still have the speed limit configured somewhere.
Yeah. the limit is configured in some vehicles. but still depending on the speed of the street. not the one determined in attributes. that is to say. it continues with the overspeed function of the api even though it is not already configured. Is there a way to colver at the beginning so to speak? to completely delete the function so that it only takes the speed that I put in attributes as it was before configuring the api? thank you
Well, if you disable it in the config, it won't use the overspeed anymore.
regards, antom where could my mistake be?
use a variant of this setup,
<entry key='speedLimit.enable'>True</entry>
<entry key='speedLimit.type'>overpass</entry>
<entry key='speedLimit.url'>http://**************</entry>
The notifications arrived perfectly, based on the limits of the streets, 40-30-20 km/h respectively, but when trying to deactivate it by removing the same 3 lines, the notifications with those limits keep coming
No vehicle has them created in its attributes, there is only the notification of all the devices,
I even put the first of that conf but in false only that line and even so they keep coming, delete everything and just copy the database and they keep coming on a new server, based on street limits- 20-30-40 etc kmh ..
I also tried changing the url of the api to an invalid one
they just shrink a bit, like it keep the locations that had them but don't take new ones
Is there somewhere in the database that they are saved?
No, the configuration or the limits from the provider are not saved anywhere in the database. You must be missing something.
Hi Anton. I have got Overpass speed lookups working. I wonder if you would consider adding another variable into the code to allow for a threshold, say for example if we are ok with users 5% over the posted speed limit.
Something like <entry key='speedLimit.threshold'>1.05</entry>
Or is there already someway a way to achieve this?
Good idea. Feel free to create a ticket.
Hello Traccar community! Congratulations on all the achievements with the system.
I'm configuring the Overpass API within the config file. I would like to know what happens when the device has both the Overpass and a custom attribute for maximum speed.
Does the system use both options? In other words, does it consider whichever condition is met first?
Does the "event.overspeed.minimalDuration" work the same way for both overspeed and the device attribute?
I believe that overspeed events are stored in "tc_events," is that correct?
Are they stored in any other place? For example, in specific attributes of "tc_positions" or in "tc_devices" (overspeedstate and overspeedtime)?
In "tc_devices," what information is stored in "overspeedstate" and "overspeedtime"?
Thank you in advance for your assistance.