{"action":"created","issue":{"url":"https://api.github.com/repos/alexa/avs-device-sdk/issues/495","repository_url":"https://api.github.com/repos/alexa/avs-device-sdk","labels_url":"https://api.github.com/repos/alexa/avs-device-sdk/issues/495/labels{/name}","comments_url":"https://api.github.com/repos/alexa/avs-device-sdk/issues/495/comments","events_url":"https://api.github.com/repos/alexa/avs-device-sdk/issues/495/events","html_url":"https://github.com/alexa/avs-device-sdk/issues/495","id":294151817,"number":495,"title":"Hardware push button to wake alexa","user":{"login":"stanklord","id":36116543,"avatar_url":"https://avatars0.githubusercontent.com/u/36116543?v=4","gravatar_id":"","url":"https://api.github.com/users/stanklord","html_url":"https://github.com/stanklord","followers_url":"https://api.github.com/users/stanklord/followers","following_url":"https://api.github.com/users/stanklord/following{/other_user}","gists_url":"https://api.github.com/users/stanklord/gists{/gist_id}","starred_url":"https://api.github.com/users/stanklord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanklord/subscriptions","organizations_url":"https://api.github.com/users/stanklord/orgs","repos_url":"https://api.github.com/users/stanklord/repos","events_url":"https://api.github.com/users/stanklord/events{/privacy}","received_events_url":"https://api.github.com/users/stanklord/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-03T22:46:42Z","updated_at":"2018-02-05T22:40:44Z","closed_at":null,"author_association":"NONE","body":"**IMPORTANT**: Before you create an issue, please take a look at our [Issue Reporting Guide](https://github.com/alexa/avs-device-sdk/wiki/Issue-Reporting-Guide).\r\n\r\n\r\n## Briefly summarize your issue:\r\nIs there a way to attach a hardware momentary button to a raspberry pi's gpio pins to set alexa in a listening state? \r\n\r\n## Tell us about your environment:\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n### What version of the AVS Device SDK are you using?\r\n      <1.4>\r\n\r\n### Tell us what hardware you're using:\r\n- [ ] Desktop / Laptop\r\n- [x] Raspberry Pi\r\n- [ ] Other - tell us more:\r\n\r\n\r\n### Tell us about your OS (Type & version):\r\n- [ ] Linux\r\n- [ ] MacOS \r\n- [x] Raspbian Stretch\r\n- [ ] Raspbian Jessy\r\n- [ ] Other - tell us more:\r\n"},"comment":{"url":"https://api.github.com/repos/alexa/avs-device-sdk/issues/comments/363246112","html_url":"https://github.com/alexa/avs-device-sdk/issues/495#issuecomment-363246112","issue_url":"https://api.github.com/repos/alexa/avs-device-sdk/issues/495","id":363246112,"user":{"login":"mradulan","id":28738524,"avatar_url":"https://avatars3.githubusercontent.com/u/28738524?v=4","gravatar_id":"","url":"https://api.github.com/users/mradulan","html_url":"https://github.com/mradulan","followers_url":"https://api.github.com/users/mradulan/followers","following_url":"https://api.github.com/users/mradulan/following{/other_user}","gists_url":"https://api.github.com/users/mradulan/gists{/gist_id}","starred_url":"https://api.github.com/users/mradulan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mradulan/subscriptions","organizations_url":"https://api.github.com/users/mradulan/orgs","repos_url":"https://api.github.com/users/mradulan/repos","events_url":"https://api.github.com/users/mradulan/events{/privacy}","received_events_url":"https://api.github.com/users/mradulan/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T22:40:44Z","updated_at":"2018-02-05T22:40:44Z","author_association":"COLLABORATOR","body":"There are some links which tell you how to use GPIO for a push button.\r\nhttps://www.hackster.io/hardikrathod/push-button-with-raspberry-pi-6b6928 .\r\nWhen the button is pressed, you can notify the client by `m_interactionManager->tap();` which internally calls notifyOfTapToTalk(). \r\nCheck the implementation in SampleApp code: https://github.com/alexa/avs-device-sdk/blob/master/SampleApp/src/UserInputManager.cpp "}}
{"actor":{"display_login":"mradulan"}}