{"action":"created","issue":{"url":"https://api.github.com/repos/tananaev/traccar/issues/1703","repository_url":"https://api.github.com/repos/tananaev/traccar","labels_url":"https://api.github.com/repos/tananaev/traccar/issues/1703/labels{/name}","comments_url":"https://api.github.com/repos/tananaev/traccar/issues/1703/comments","events_url":"https://api.github.com/repos/tananaev/traccar/issues/1703/events","html_url":"https://github.com/tananaev/traccar/issues/1703","id":131879858,"number":1703,"title":"How to send raw message","user":{"login":"hanselsen","id":1150323,"avatar_url":"https://avatars.githubusercontent.com/u/1150323?v=3","gravatar_id":"","url":"https://api.github.com/users/hanselsen","html_url":"https://github.com/hanselsen","followers_url":"https://api.github.com/users/hanselsen/followers","following_url":"https://api.github.com/users/hanselsen/following{/other_user}","gists_url":"https://api.github.com/users/hanselsen/gists{/gist_id}","starred_url":"https://api.github.com/users/hanselsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanselsen/subscriptions","organizations_url":"https://api.github.com/users/hanselsen/orgs","repos_url":"https://api.github.com/users/hanselsen/repos","events_url":"https://api.github.com/users/hanselsen/events{/privacy}","received_events_url":"https://api.github.com/users/hanselsen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-02-06T17:43:27Z","updated_at":"2016-02-07T14:17:02Z","closed_at":null,"body":"I have a minifinder device and I want to push a command to it (let's say LEDs ON)\r\nThe protocol documentation says it should be 123456LED1 where 123456 is your pin.\r\nHow would I send this message using the \"write(Object message)\" method in ActiveDevice?\r\n\r\n I created this method for testing \r\n```\r\npublic void sendCommand(Command command) {\r\n        getChannel().write(command.getType(), remoteAddress);\r\n        //protocol.sendCommand(this, command);\r\n    }\r\n```\r\nAnd then used the API to push a command with this json: `{\"deviceId\": 1, \"type\": \"W1,05S\"}`\r\n\r\nNo results are visible, except that the device becomes \"offline\" and then reconnects after about 10s.\r\n\r\nSomebody any insights?"},"comment":{"url":"https://api.github.com/repos/tananaev/traccar/issues/comments/181021466","html_url":"https://github.com/tananaev/traccar/issues/1703#issuecomment-181021466","issue_url":"https://api.github.com/repos/tananaev/traccar/issues/1703","id":181021466,"user":{"login":"hanselsen","id":1150323,"avatar_url":"https://avatars.githubusercontent.com/u/1150323?v=3","gravatar_id":"","url":"https://api.github.com/users/hanselsen","html_url":"https://github.com/hanselsen","followers_url":"https://api.github.com/users/hanselsen/followers","following_url":"https://api.github.com/users/hanselsen/following{/other_user}","gists_url":"https://api.github.com/users/hanselsen/gists{/gist_id}","starred_url":"https://api.github.com/users/hanselsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanselsen/subscriptions","organizations_url":"https://api.github.com/users/hanselsen/orgs","repos_url":"https://api.github.com/users/hanselsen/repos","events_url":"https://api.github.com/users/hanselsen/events{/privacy}","received_events_url":"https://api.github.com/users/hanselsen/received_events","type":"User","site_admin":false},"created_at":"2016-02-07T14:17:02Z","updated_at":"2016-02-07T14:17:02Z","body":"Sadly. No response either. Good thinking though."}}