{"action":"created","issue":{"url":"https://api.github.com/repos/brendan-w/python-OBD/issues/66","repository_url":"https://api.github.com/repos/brendan-w/python-OBD","labels_url":"https://api.github.com/repos/brendan-w/python-OBD/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/brendan-w/python-OBD/issues/66/comments","events_url":"https://api.github.com/repos/brendan-w/python-OBD/issues/66/events","html_url":"https://github.com/brendan-w/python-OBD/issues/66","id":194179028,"node_id":"MDU6SXNzdWUxOTQxNzkwMjg=","number":66,"title":"Issue with python OBD running async command Speed","user":{"login":"venki3v","id":8125414,"node_id":"MDQ6VXNlcjgxMjU0MTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/8125414?v=4","gravatar_id":"","url":"https://api.github.com/users/venki3v","html_url":"https://github.com/venki3v","followers_url":"https://api.github.com/users/venki3v/followers","following_url":"https://api.github.com/users/venki3v/following{/other_user}","gists_url":"https://api.github.com/users/venki3v/gists{/gist_id}","starred_url":"https://api.github.com/users/venki3v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/venki3v/subscriptions","organizations_url":"https://api.github.com/users/venki3v/orgs","repos_url":"https://api.github.com/users/venki3v/repos","events_url":"https://api.github.com/users/venki3v/events{/privacy}","received_events_url":"https://api.github.com/users/venki3v/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-07T21:43:40Z","updated_at":"2018-12-22T16:47:45Z","closed_at":"2018-11-09T06:32:33Z","author_association":"NONE","body":"When running  python-obd on async write sends the actual command only during the first update.\r\nobd.obd] Sending command: 010C: Engine RPM\r\n[obd.elm327] write: '010C1\\r\\n'\r\n[obd.elm327] read: b'7E8 04 41 0C 10 1C \\r\\r>'\r\n\r\nDuring the next updates it's not sending the actual command as part of the write statement during next updates\r\n\r\nobd.obd] Sending command: 010C: Engine RPM\r\n[obd.elm327] write: '\\r\\n'\r\n[obd.elm327] Failed to read port\r\n[obd.elm327] read: b''\r\n[obd.obd] No valid OBD Messages returned\r\n\r\n[obd.elm327] Connected Successfully: PORT=/dev/ttyUSB0 BAUD=38400 PROTOCOL=6\r\n[obd.obd] querying for supported commands\r\n[obd.obd] Sending command: 0100: Supported PIDs [01-20]\r\n[obd.elm327] write: '01001\\r\\n'\r\n[obd.elm327] read: b'7E8 06 41 00 FF FF FF FF \\r\\r>'\r\n[obd.obd] Sending command: 0120: Supported PIDs [21-40]\r\n[obd.elm327] write: '01201\\r\\n'\r\n[obd.elm327] read: b'7E8 06 41 20 FF FF FF FF \\r\\r>'\r\n[obd.obd] Sending command: 0140: Supported PIDs [41-60]\r\n[obd.elm327] write: '01401\\r\\n'\r\n[obd.elm327] read: b'7E8 06 41 40 FF FF FF FF \\r\\r>'\r\n[obd.obd] Sending command: 0600: Supported MIDs [01-20]\r\n[obd.elm327] write: '0600\\r\\n'\r\n[obd.elm327] read: b'7E8 07 46 00 84 00 10 00 00 \\r\\r>'\r\n[obd.obd] finished querying with 199 commands supported\r\n[obd.obd] ===================================================================\r\n[obd.async] Watching command: 010C: Engine RPM\r\n[obd.async] subscribing callback for command: 010C: Engine RPM\r\n[obd.async] Starting async thread\r\n[obd.obd] Sending command: 010C: Engine RPM\r\n[obd.elm327] write: '010C1\\r\\n'\r\n[obd.elm327] read: b'7E8 04 41 0C 10 1C \\r\\r>'\r\n1031.0 revolutions_per_minute\r\n[obd.obd] Sending command: 010C: Engine RPM\r\n[obd.elm327] write: '\\r\\n'\r\n[obd.elm327] Failed to read port\r\n[obd.elm327] read: b''\r\n[obd.obd] No valid OBD Messages returned\r\nNone\r\n[obd.obd] Sending command: 010C: Engine RPM\r\n[obd.elm327] write: '\\r\\n'\r\n"},"comment":{"url":"https://api.github.com/repos/brendan-w/python-OBD/issues/comments/449583076","html_url":"https://github.com/brendan-w/python-OBD/issues/66#issuecomment-449583076","issue_url":"https://api.github.com/repos/brendan-w/python-OBD/issues/66","id":449583076,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTU4MzA3Ng==","user":{"login":"alistair23","id":171674,"node_id":"MDQ6VXNlcjE3MTY3NA==","avatar_url":"https://avatars0.githubusercontent.com/u/171674?v=4","gravatar_id":"","url":"https://api.github.com/users/alistair23","html_url":"https://github.com/alistair23","followers_url":"https://api.github.com/users/alistair23/followers","following_url":"https://api.github.com/users/alistair23/following{/other_user}","gists_url":"https://api.github.com/users/alistair23/gists{/gist_id}","starred_url":"https://api.github.com/users/alistair23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alistair23/subscriptions","organizations_url":"https://api.github.com/users/alistair23/orgs","repos_url":"https://api.github.com/users/alistair23/repos","events_url":"https://api.github.com/users/alistair23/events{/privacy}","received_events_url":"https://api.github.com/users/alistair23/received_events","type":"User","site_admin":false},"created_at":"2018-12-22T16:47:45Z","updated_at":"2018-12-22T16:47:45Z","author_association":"COLLABORATOR","body":"No, there doesn't seem to be."}}
{"actor":{"display_login":"alistair23"}}