{"action":"opened","issue":{"url":"https://api.github.com/repos/mozilla-iot/gateway/issues/1277","repository_url":"https://api.github.com/repos/mozilla-iot/gateway","labels_url":"https://api.github.com/repos/mozilla-iot/gateway/issues/1277/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-iot/gateway/issues/1277/comments","events_url":"https://api.github.com/repos/mozilla-iot/gateway/issues/1277/events","html_url":"https://github.com/mozilla-iot/gateway/issues/1277","id":351717306,"node_id":"MDU6SXNzdWUzNTE3MTczMDY=","number":1277,"title":"MotionSensor Capability","user":{"login":"benfrancis","id":552417,"node_id":"MDQ6VXNlcjU1MjQxNw==","avatar_url":"https://avatars3.githubusercontent.com/u/552417?v=4","gravatar_id":"","url":"https://api.github.com/users/benfrancis","html_url":"https://github.com/benfrancis","followers_url":"https://api.github.com/users/benfrancis/followers","following_url":"https://api.github.com/users/benfrancis/following{/other_user}","gists_url":"https://api.github.com/users/benfrancis/gists{/gist_id}","starred_url":"https://api.github.com/users/benfrancis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benfrancis/subscriptions","organizations_url":"https://api.github.com/users/benfrancis/orgs","repos_url":"https://api.github.com/users/benfrancis/repos","events_url":"https://api.github.com/users/benfrancis/events{/privacy}","received_events_url":"https://api.github.com/users/benfrancis/received_events","type":"User","site_admin":false},"labels":[{"id":955595927,"node_id":"MDU6TGFiZWw5NTU1OTU5Mjc=","url":"https://api.github.com/repos/mozilla-iot/gateway/labels/capabilities","name":"capabilities","color":"de96e8","default":false},{"id":567824439,"node_id":"MDU6TGFiZWw1Njc4MjQ0Mzk=","url":"https://api.github.com/repos/mozilla-iot/gateway/labels/story","name":"story","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-17T19:47:56Z","updated_at":"2018-08-17T19:47:56Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"As a device developer I want to tell the gateway that my device acts as a motion sensor.\r\n\r\nProposed UI design:\r\n![motion_sensor](https://user-images.githubusercontent.com/552417/44285641-105dac00-a25e-11e8-82a9-6c35bb95c299.png)\r\n\r\n![motion_sensor-no_motion](https://user-images.githubusercontent.com/552417/44285673-35eab580-a25e-11e8-93b4-3330c27ce530.png)\r\n\r\n![motion_sensor-motion](https://user-images.githubusercontent.com/552417/44285682-3c792d00-a25e-11e8-8b6a-8b8090998307.png)\r\n\r\nDepends on defining a new MotionSensor capability schema."}}
{"actor":{"display_login":"benfrancis"}}