{"action":"created","issue":{"url":"https://api.github.com/repos/sumnerboy12/mqtt-gpio-monitor/issues/7","repository_url":"https://api.github.com/repos/sumnerboy12/mqtt-gpio-monitor","labels_url":"https://api.github.com/repos/sumnerboy12/mqtt-gpio-monitor/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/sumnerboy12/mqtt-gpio-monitor/issues/7/comments","events_url":"https://api.github.com/repos/sumnerboy12/mqtt-gpio-monitor/issues/7/events","html_url":"https://github.com/sumnerboy12/mqtt-gpio-monitor/issues/7","id":124356007,"number":7,"title":"Add pin aliases as alternative to physical numbers","user":{"login":"cosmocracy","id":10222432,"avatar_url":"https://avatars.githubusercontent.com/u/10222432?v=3","gravatar_id":"","url":"https://api.github.com/users/cosmocracy","html_url":"https://github.com/cosmocracy","followers_url":"https://api.github.com/users/cosmocracy/followers","following_url":"https://api.github.com/users/cosmocracy/following{/other_user}","gists_url":"https://api.github.com/users/cosmocracy/gists{/gist_id}","starred_url":"https://api.github.com/users/cosmocracy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosmocracy/subscriptions","organizations_url":"https://api.github.com/users/cosmocracy/orgs","repos_url":"https://api.github.com/users/cosmocracy/repos","events_url":"https://api.github.com/users/cosmocracy/events{/privacy}","received_events_url":"https://api.github.com/users/cosmocracy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2015-12-30T14:36:24Z","updated_at":"2016-08-11T00:44:25Z","closed_at":null,"body":"Consider creating an optional configuration section that allows for the specification of \"aliases\" for pins that are being monitored (or commanded).  This would allow queue clients could speak in term of logical aliases (e.g., \"led_red\") instead of GPIO pin numbers and wouldn't preclude still having the original numeric scheme function.\r\n\r\nUsing meaningful pin aliases is consistent with the best practice of separating concerns and reduces the proliferation of magic pin #s throughout your queue publishers/subscribers.  This also allows the node running the script to reassign/adjust pins as needed with less impact.\r\n"},"comment":{"url":"https://api.github.com/repos/sumnerboy12/mqtt-gpio-monitor/issues/comments/239047163","html_url":"https://github.com/sumnerboy12/mqtt-gpio-monitor/issues/7#issuecomment-239047163","issue_url":"https://api.github.com/repos/sumnerboy12/mqtt-gpio-monitor/issues/7","id":239047163,"user":{"login":"cosmocracy","id":10222432,"avatar_url":"https://avatars.githubusercontent.com/u/10222432?v=3","gravatar_id":"","url":"https://api.github.com/users/cosmocracy","html_url":"https://github.com/cosmocracy","followers_url":"https://api.github.com/users/cosmocracy/followers","following_url":"https://api.github.com/users/cosmocracy/following{/other_user}","gists_url":"https://api.github.com/users/cosmocracy/gists{/gist_id}","starred_url":"https://api.github.com/users/cosmocracy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosmocracy/subscriptions","organizations_url":"https://api.github.com/users/cosmocracy/orgs","repos_url":"https://api.github.com/users/cosmocracy/repos","events_url":"https://api.github.com/users/cosmocracy/events{/privacy}","received_events_url":"https://api.github.com/users/cosmocracy/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T00:44:25Z","updated_at":"2016-08-11T00:44:25Z","body":"I was just pondering this the other day and stopped by look at the source again and contemplate the issue.  Ideally there would also be any easy way to provide different payloads for open/closed (on/off) etc.  Let me incubate this for the evening and then plan some source mods."}}
{"actor":{"display_login":"cosmocracy"}}