{"action":"created","issue":{"url":"https://api.github.com/repos/tananaev/traccar/issues/2055","repository_url":"https://api.github.com/repos/tananaev/traccar","labels_url":"https://api.github.com/repos/tananaev/traccar/issues/2055/labels{/name}","comments_url":"https://api.github.com/repos/tananaev/traccar/issues/2055/comments","events_url":"https://api.github.com/repos/tananaev/traccar/issues/2055/events","html_url":"https://github.com/tananaev/traccar/issues/2055","id":162540661,"number":2055,"title":"Traccar commands with PT502","user":{"login":"tmami","id":20167725,"avatar_url":"https://avatars.githubusercontent.com/u/20167725?v=3","gravatar_id":"","url":"https://api.github.com/users/tmami","html_url":"https://github.com/tmami","followers_url":"https://api.github.com/users/tmami/followers","following_url":"https://api.github.com/users/tmami/following{/other_user}","gists_url":"https://api.github.com/users/tmami/gists{/gist_id}","starred_url":"https://api.github.com/users/tmami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmami/subscriptions","organizations_url":"https://api.github.com/users/tmami/orgs","repos_url":"https://api.github.com/users/tmami/repos","events_url":"https://api.github.com/users/tmami/events{/privacy}","received_events_url":"https://api.github.com/users/tmami/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-27T20:27:07Z","updated_at":"2016-07-05T20:50:01Z","closed_at":null,"body":"Hi Tananaev,\r\n\r\nWe just installed traccar 3.5 and test the PT502, it worked fine for us untill we decide testing the commands (engine stop), we get this error:\r\n```\r\n\"{\\\"reason\\\":\\\"java.lang.RuntimeException: Command engineStop is not supported in protocol pt502\\\",\\\"success\\\":false}\"\r\n```\r\nClose\r\n\r\nI guess that the protocol at the backend is not finish yet? - do you have the list of the protocols that already implement this feature so I can test if I have the device, I have TK103 and PT600. (just in case)\r\n\r\nFinally, is-it easy to help you on developing these commands ? - I am just new in java, but I think the encoder is already there so if I just stick to the device protocol I can make it !\r\n\r\nThanks for your feedback.\r\n\r\ncheers\r\nThomas\r\n"},"comment":{"url":"https://api.github.com/repos/tananaev/traccar/issues/comments/230598855","html_url":"https://github.com/tananaev/traccar/issues/2055#issuecomment-230598855","issue_url":"https://api.github.com/repos/tananaev/traccar/issues/2055","id":230598855,"user":{"login":"drecchia","id":5439830,"avatar_url":"https://avatars.githubusercontent.com/u/5439830?v=3","gravatar_id":"","url":"https://api.github.com/users/drecchia","html_url":"https://github.com/drecchia","followers_url":"https://api.github.com/users/drecchia/followers","following_url":"https://api.github.com/users/drecchia/following{/other_user}","gists_url":"https://api.github.com/users/drecchia/gists{/gist_id}","starred_url":"https://api.github.com/users/drecchia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drecchia/subscriptions","organizations_url":"https://api.github.com/users/drecchia/orgs","repos_url":"https://api.github.com/users/drecchia/repos","events_url":"https://api.github.com/users/drecchia/events{/privacy}","received_events_url":"https://api.github.com/users/drecchia/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T20:50:01Z","updated_at":"2016-07-05T20:50:01Z","body":"Hey everyone! I got this protocol and I will try to help :)\r\n\r\nAnton, the OPC command you implemented at:\r\nhttps://github.com/tananaev/traccar/blob/master/src/org/traccar/protocol/Pt502Protocol.java#L33\r\nhas different format from the documentation ( attached )\r\n![screenshot 2016-07-05 17 33 59](https://cloud.githubusercontent.com/assets/5439830/16599261/e87e9592-42d7-11e6-9293-f62b4d913061.png)\r\n\r\nThe tracking implementation matches the doc.\r\n\r\nCan I fix TYPE_OUTPUT_CONTROL as the document and implement TYPE_ENGINE_STOP and TYPE_ENGINE_RESUME based on OPC ?\r\n\r\nThanks\r\nDanilo Recchia"}}
{"actor":{"display_login":"drecchia"}}