{"action":"reopened","issue":{"url":"https://api.github.com/repos/hortinstein/node-dash-button/issues/27","repository_url":"https://api.github.com/repos/hortinstein/node-dash-button","labels_url":"https://api.github.com/repos/hortinstein/node-dash-button/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/hortinstein/node-dash-button/issues/27/comments","events_url":"https://api.github.com/repos/hortinstein/node-dash-button/issues/27/events","html_url":"https://github.com/hortinstein/node-dash-button/issues/27","id":150471982,"number":27,"title":"Dash button \"detected\" event is called multiple times for a single press","user":{"login":"nuudles","id":741746,"avatar_url":"https://avatars.githubusercontent.com/u/741746?v=3","gravatar_id":"","url":"https://api.github.com/users/nuudles","html_url":"https://github.com/nuudles","followers_url":"https://api.github.com/users/nuudles/followers","following_url":"https://api.github.com/users/nuudles/following{/other_user}","gists_url":"https://api.github.com/users/nuudles/gists{/gist_id}","starred_url":"https://api.github.com/users/nuudles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuudles/subscriptions","organizations_url":"https://api.github.com/users/nuudles/orgs","repos_url":"https://api.github.com/users/nuudles/repos","events_url":"https://api.github.com/users/nuudles/events{/privacy}","received_events_url":"https://api.github.com/users/nuudles/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-22T21:10:01Z","updated_at":"2016-04-23T00:46:37Z","closed_at":null,"body":"Recently, I've noticed that my \"detected\" callback is being called multiple times for a single press. Our button is hooked up to a script to toggle the lights, so pressing the button to turn off the light inevitably has the light turn on after a minute or so. Has something change with the detection mechanism? Could the button be sending multiple ARP packets?\r\n\r\n```javascript\r\ndash.on(\"detected\", function (){\r\n        toggleLight();\r\n});\r\n```"}}