{"action":"created","issue":{"url":"https://api.github.com/repos/tananaev/traccar/issues/2233","repository_url":"https://api.github.com/repos/tananaev/traccar","labels_url":"https://api.github.com/repos/tananaev/traccar/issues/2233/labels{/name}","comments_url":"https://api.github.com/repos/tananaev/traccar/issues/2233/comments","events_url":"https://api.github.com/repos/tananaev/traccar/issues/2233/events","html_url":"https://github.com/tananaev/traccar/issues/2233","id":172306272,"number":2233,"title":"Odometer units","user":{"login":"Abyss777","id":5688080,"avatar_url":"https://avatars.githubusercontent.com/u/5688080?v=3","gravatar_id":"","url":"https://api.github.com/users/Abyss777","html_url":"https://github.com/Abyss777","followers_url":"https://api.github.com/users/Abyss777/followers","following_url":"https://api.github.com/users/Abyss777/following{/other_user}","gists_url":"https://api.github.com/users/Abyss777/gists{/gist_id}","starred_url":"https://api.github.com/users/Abyss777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abyss777/subscriptions","organizations_url":"https://api.github.com/users/Abyss777/orgs","repos_url":"https://api.github.com/users/Abyss777/repos","events_url":"https://api.github.com/users/Abyss777/events{/privacy}","received_events_url":"https://api.github.com/users/Abyss777/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-08-21T05:53:28Z","updated_at":"2016-08-24T17:18:14Z","closed_at":null,"body":"I'll try to collect here an information about odometer (`KEY_ODOMETER`) units\r\n\r\n- [x] Mta6 - kilometers\r\n- [x] Xirgo - \"Miles driven since last reset or power-cycle\"\r\n- Gps103 - **?**\r\n- [x] Intellitrac - get from OBD\r\n- [x] GL200 - miliage  0.0 – 4294967.0 km\r\n- [x] Tytan - Distance travelled from switching ignition on and switching it off, calculated from GPS position (0-16777215m)\r\n- [x] T800x - Mileage (Meter) 0~4294967295\r\n- GT06 - **?** mileage statistics (hexadecimal)\r\n- [x] Megastek - Mileage, unit: Km\r\n- [x] Tzone - GPS  mileage(3bytes)：Unit：m\r\n- [x] Meitrack - In unit of meter. Decimal. The total accumulated mileage and maximum of 4294967295 meters.\r\n- [x] Ulbotech - Mileage data Range: 0‐4294967295 unit: meter\r\n- Fox - **no documentation**\r\n- Stl060 - **?**\r\n- [ ] Visiontek - km\r\n- [x] Totem - Km in format that has documentation, **?** integer in `PATTERN3` and `PATTERN4` that **does not have documenatation** but 7 digits looks like km\r\n- [x] Tk103 - Mile data. Unit: Meter. The total mileage. The max is 0xFFFFFFFF\r\n- Progress - **?** mileage INT32U\r\n- [x] Navis - float mileage in km, also next parameter should be renamed to `KEY_DISTANCE`\r\n````\r\nПробег, рассчитанный между данным\r\nсобытием и предыдущим. (между\r\nдвумя точками трека)\r\nВ км.\r\n````\r\n- Noran - **no documentation for protocol version that has odometer**\r\n- [x] Meiligao - no direct information in documentation, but indirect it is in meters.\r\n- Mxt - **no documentation**\r\n- [x] Jt600 - Current mileage, in the unit of kilometer\r\n- [ ] Castel - Total mileage, unit: meter\r\n- [x] CarTrack - meters\r\n- [x] Wondex - kilometers\r\n- [ ] Taip - meters\r\n- Supermate - **no documentation**\r\n- [x] Skypatrol - meters\r\n- [x] Pt502 - **no documentation** but looks like meters\r\n- [x] Riti - \"Total Mileage(4 bytes, LSB - MSB) Total moving distance, refreshes the calculations when ACC is ON at each time. Unit: meter\"\r\nAlso need to use `KEY_DISTANCE` for previous parameter: \"Moving distance, calculates the distance between current data, and latest previous data. Unit: meter\"\r\n- Mtx - \"Distancia recorrida (en kilómetros)\"\r\n- L100 - **no documentation** \r\n- [x] Khd - meters, max 16777215\r\n- HuaSheng - weird km/h\r\n- [ ] GoSafe - meters\r\n- [x] Gator - Quote from both documents: \"The current mileage of the vehicle.unit:m/s\"\r\nMy knowledge of physics tells me that it should be meters\r\n- [x] Galileo - meters\r\n- Flextrack - **no documentation**\r\n- [x] EasyTrack - km, need correction to 0,1\r\n- [x] Disha - **?**  **no documentation** looks like floating-point kilometers\r\n- [x] Carscop - meters\r\n- [x] Box - does not fits by default \"By default this contains the distance travelled since the start of the journey (travel). This can be configured to return the odometer reading if required. Distance is returned as a floating point number in Kilometers.\"\r\n- Bce - **?**  **no information in documentation**\r\n- [x] Atrack - **no documentation** looks like 0,1 kilometers\r\n- [ ] Astra - \"The odometerKM field in the EventData table is populated with data from the device for ignition on and ignition off records. For all other records it is reported as zero.\"\r\nI'll convert it to meters, but it is useless.\r\n- Aquila - **no documentation**\r\n- [x] Apel - meters\r\n- [ ] Adm - meters\r\n\r\nI think protocols that get odometer from OBD leave it as is, and it will be kilometers or miles depend on country.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tananaev/traccar/issues/comments/242142299","html_url":"https://github.com/tananaev/traccar/issues/2233#issuecomment-242142299","issue_url":"https://api.github.com/repos/tananaev/traccar/issues/2233","id":242142299,"user":{"login":"Abyss777","id":5688080,"avatar_url":"https://avatars.githubusercontent.com/u/5688080?v=3","gravatar_id":"","url":"https://api.github.com/users/Abyss777","html_url":"https://github.com/Abyss777","followers_url":"https://api.github.com/users/Abyss777/followers","following_url":"https://api.github.com/users/Abyss777/following{/other_user}","gists_url":"https://api.github.com/users/Abyss777/gists{/gist_id}","starred_url":"https://api.github.com/users/Abyss777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abyss777/subscriptions","organizations_url":"https://api.github.com/users/Abyss777/orgs","repos_url":"https://api.github.com/users/Abyss777/repos","events_url":"https://api.github.com/users/Abyss777/events{/privacy}","received_events_url":"https://api.github.com/users/Abyss777/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T17:18:14Z","updated_at":"2016-08-24T17:18:14Z","body":"@nefertiti007 for now traccar do not convert GT06 odometer value, and it looks like meters."}}
{"actor":{"display_login":"Abyss777"}}