{"action":"opened","issue":{"url":"https://api.github.com/repos/tikismoke/domogik-plugin-rpigpio/issues/3","repository_url":"https://api.github.com/repos/tikismoke/domogik-plugin-rpigpio","labels_url":"https://api.github.com/repos/tikismoke/domogik-plugin-rpigpio/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/tikismoke/domogik-plugin-rpigpio/issues/3/comments","events_url":"https://api.github.com/repos/tikismoke/domogik-plugin-rpigpio/issues/3/events","html_url":"https://github.com/tikismoke/domogik-plugin-rpigpio/issues/3","id":157756737,"number":3,"title":"Add debounce option","user":{"login":"tikismoke","id":2229691,"avatar_url":"https://avatars.githubusercontent.com/u/2229691?v=3","gravatar_id":"","url":"https://api.github.com/users/tikismoke","html_url":"https://github.com/tikismoke","followers_url":"https://api.github.com/users/tikismoke/followers","following_url":"https://api.github.com/users/tikismoke/following{/other_user}","gists_url":"https://api.github.com/users/tikismoke/gists{/gist_id}","starred_url":"https://api.github.com/users/tikismoke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tikismoke/subscriptions","organizations_url":"https://api.github.com/users/tikismoke/orgs","repos_url":"https://api.github.com/users/tikismoke/repos","events_url":"https://api.github.com/users/tikismoke/events{/privacy}","received_events_url":"https://api.github.com/users/tikismoke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tikismoke/domogik-plugin-rpigpio/labels/Todo","name":"Todo","color":"1d76db"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/tikismoke/domogik-plugin-rpigpio/milestones/1","html_url":"https://github.com/tikismoke/domogik-plugin-rpigpio/milestones/Version%200.2","labels_url":"https://api.github.com/repos/tikismoke/domogik-plugin-rpigpio/milestones/1/labels","id":1799643,"number":1,"title":"Version 0.2","description":null,"creator":{"login":"tikismoke","id":2229691,"avatar_url":"https://avatars.githubusercontent.com/u/2229691?v=3","gravatar_id":"","url":"https://api.github.com/users/tikismoke","html_url":"https://github.com/tikismoke","followers_url":"https://api.github.com/users/tikismoke/followers","following_url":"https://api.github.com/users/tikismoke/following{/other_user}","gists_url":"https://api.github.com/users/tikismoke/gists{/gist_id}","starred_url":"https://api.github.com/users/tikismoke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tikismoke/subscriptions","organizations_url":"https://api.github.com/users/tikismoke/orgs","repos_url":"https://api.github.com/users/tikismoke/repos","events_url":"https://api.github.com/users/tikismoke/events{/privacy}","received_events_url":"https://api.github.com/users/tikismoke/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-05-31T19:49:32Z","updated_at":"2016-05-31T19:59:22Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-05-31T19:59:22Z","updated_at":"2016-05-31T19:59:22Z","closed_at":null,"body":"Avoid user to add a 0.1uF on switch:\r\n\r\nTo debounce using software, add the bouncetime= parameter to a function where you specify a callback function. Bouncetime should be specified in milliseconds. For example:\r\n\r\n# add rising edge detection on a channel, ignoring further edges for 200ms for switch bounce handling\r\nGPIO.add_event_detect(channel, GPIO.RISING, callback=my_callback, bouncetime=200)\r\n"}}
{"actor":{"display_login":"tikismoke"}}