Speed limit is in km/h as far as I know, but the actual speed value is in knots. I know it's a bit confusing and we plan to fix the issue at some point.
Good to know. Looking forward to the fix. Any time on when this will be fixed. I have a bit of programming experience so you reckon I may be able to push this fix for Traccar on my Traccar server.
Feel free to send my a pull request if you can fix it.
Does anyone may help me how enable this function speedLimit by device?
Just set "speedLimit" attribute for device. What exactly is the difficulty?
Hi Anton,
I did save speedLimit in attributes of a device, what unit it actually saves in? I mean when I set something in attributes lets say for speedLimit does it get stored as knots, km/h or depends upon speed unit setting of the traccar server?
It's in knots.
In the config file the entry key event.globalSpeedLimit is where to define the speed limit right?? I set to 60 and in traccar i set server speed to kmph. Does this mean that the speed limit set in config will be 60kmph??
Reason why im asking is because I got a exceed speed notification via mail and speed was just 41. There was no units for the speed. It just says Exeeds the speed: 41.13. Would be nice to have the unit in the mail notification. And have I done it right in config.