{"action":"created","issue":{"url":"https://api.github.com/repos/balloob/home-assistant/issues/779","repository_url":"https://api.github.com/repos/balloob/home-assistant","labels_url":"https://api.github.com/repos/balloob/home-assistant/issues/779/labels{/name}","comments_url":"https://api.github.com/repos/balloob/home-assistant/issues/779/comments","events_url":"https://api.github.com/repos/balloob/home-assistant/issues/779/events","html_url":"https://github.com/balloob/home-assistant/pull/779","id":123063537,"number":779,"title":"torque support","user":{"login":"happyleavesaoc","id":11217032,"avatar_url":"https://avatars.githubusercontent.com/u/11217032?v=3","gravatar_id":"","url":"https://api.github.com/users/happyleavesaoc","html_url":"https://github.com/happyleavesaoc","followers_url":"https://api.github.com/users/happyleavesaoc/followers","following_url":"https://api.github.com/users/happyleavesaoc/following{/other_user}","gists_url":"https://api.github.com/users/happyleavesaoc/gists{/gist_id}","starred_url":"https://api.github.com/users/happyleavesaoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/happyleavesaoc/subscriptions","organizations_url":"https://api.github.com/users/happyleavesaoc/orgs","repos_url":"https://api.github.com/users/happyleavesaoc/repos","events_url":"https://api.github.com/users/happyleavesaoc/events{/privacy}","received_events_url":"https://api.github.com/users/happyleavesaoc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-19T05:26:53Z","updated_at":"2016-03-10T14:52:27Z","closed_at":"2015-12-20T23:04:46Z","pull_request":{"url":"https://api.github.com/repos/balloob/home-assistant/pulls/779","html_url":"https://github.com/balloob/home-assistant/pull/779","diff_url":"https://github.com/balloob/home-assistant/pull/779.diff","patch_url":"https://github.com/balloob/home-assistant/pull/779.patch"},"body":"[`Torque`](https://play.google.com/store/apps/details?id=org.prowl.torque&hl=en) is an Android application that communicates with a Bluetooth-enabled [OBD2](https://en.wikipedia.org/wiki/On-board_diagnostics) stick to relay vehicle diagnostics and metrics.\r\n\r\nThis sensor component can receive data from the application. The application must be properly configured to relay data to the endpoint `/api/torque`.\r\n\r\nExample configuration:\r\n```yaml\r\nsensor:\r\n  platform: torque\r\n  name: 'Jeep'\r\n  email: 'xyz@gmail.com'\r\n\r\n```\r\n\r\nHow it looks: http://i.imgur.com/Izxiaql.png\r\n\r\nNote: I notice that every incoming HTTP request handled by the component has an incrementing thread-ID. Not sure if this is normal, or I am not properly handling the HTTP requests. Input needed."},"comment":{"url":"https://api.github.com/repos/balloob/home-assistant/issues/comments/194884710","html_url":"https://github.com/balloob/home-assistant/pull/779#issuecomment-194884710","issue_url":"https://api.github.com/repos/balloob/home-assistant/issues/779","id":194884710,"user":{"login":"brusc","id":10451767,"avatar_url":"https://avatars.githubusercontent.com/u/10451767?v=3","gravatar_id":"","url":"https://api.github.com/users/brusc","html_url":"https://github.com/brusc","followers_url":"https://api.github.com/users/brusc/followers","following_url":"https://api.github.com/users/brusc/following{/other_user}","gists_url":"https://api.github.com/users/brusc/gists{/gist_id}","starred_url":"https://api.github.com/users/brusc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brusc/subscriptions","organizations_url":"https://api.github.com/users/brusc/orgs","repos_url":"https://api.github.com/users/brusc/repos","events_url":"https://api.github.com/users/brusc/events{/privacy}","received_events_url":"https://api.github.com/users/brusc/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T14:52:27Z","updated_at":"2016-03-10T14:52:27Z","body":"Well, after doing some digging, I can't seem to get this one figured out. \r\n\r\nI did learn that Torque supports HTTPS. Here is a link to a test server that works - https://torque.ip.v6.me.uk/. \r\n\r\nThe Torque app does shake hands with HA because any other server conformation times out. When I press \"test settings\" in the Torque app with the following server settings it returns \"no problems found\".\r\n\r\nThe web server URL I'm using is\r\n`https://myhaaddress.duckdns.org:443/api/torque?api_password=mypassword`\r\n\r\nThe Torque component is running in HA:\r\n`16-03-10 08:50:10 homeassistant.loader: Loaded sensor.torque from homeassistant.components.sensor.torque`\r\n\r\nCan't quite figure out what's going on. Anybody have any ideas?\r\n\r\n"}}