{"action":"created","issue":{"url":"https://api.github.com/repos/automicus/PyISY/issues/12","labels_url":"https://api.github.com/repos/automicus/PyISY/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/automicus/PyISY/issues/12/comments","events_url":"https://api.github.com/repos/automicus/PyISY/issues/12/events","html_url":"https://github.com/automicus/PyISY/issues/12","id":104807278,"number":12,"title":"Support controllers and responders.","user":{"login":"jimboca","id":1578044,"avatar_url":"https://avatars.githubusercontent.com/u/1578044?v=3","gravatar_id":"","url":"https://api.github.com/users/jimboca","html_url":"https://github.com/jimboca","followers_url":"https://api.github.com/users/jimboca/followers","following_url":"https://api.github.com/users/jimboca/following{/other_user}","gists_url":"https://api.github.com/users/jimboca/gists{/gist_id}","starred_url":"https://api.github.com/users/jimboca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimboca/subscriptions","organizations_url":"https://api.github.com/users/jimboca/orgs","repos_url":"https://api.github.com/users/jimboca/repos","events_url":"https://api.github.com/users/jimboca/events{/privacy}","received_events_url":"https://api.github.com/users/jimboca/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-04T00:33:11Z","updated_at":"2016-01-05T17:44:55Z","closed_at":null,"body":"Currently only members are stored which are all contollers and responders.  We need a way to identify them.\r\n\r\nThe xml looks like:\r\n```\r\n<group flag=\"132\">\r\n<address>30785</address>\r\n<name>Family Room Table</name>\r\n<parent type=\"3\">52063</parent>\r\n<deviceGroup>23</deviceGroup>\r\n<ELK_ID>C02</ELK_ID>\r\n<members>\r\n<link type=\"16\">21 8F 5B 1</link>\r\n<link type=\"16\">1D FF E9 5</link>\r\n<link type=\"16\">1C 46 CB 1</link>\r\n<link type=\"32\">33 1 49 6</link>\r\n<link type=\"32\">2A E 4D 8</link>\r\n</members>\r\n</group>\r\n```\r\n\r\nWhere 32 is a responder and 16 is a controller.\r\n\r\nRyan requested:\r\n\r\nI would prefer to have the members array only be responders and then a new array called controllers be created. Good catch with that. Looking at that type number, I'd bet dollars to donuts that there is also an 8, 4, 2, and 1. They probably then treat those as 6 bit binary flags. So:\r\n100000 - Responder (32)\r\n010000 - Controller (16)\r\n001000 - Something (8)\r\n000100 - Something (4)\r\n000010 - Something (2)\r\n000001 - Something (1)\r\n000000 - ISY System Level Pairing, Not a true Insteon pairing (this is my best guess)\r\n\r\nMy guess is that they used this design so that nodes could belong to multiple categories. For us, however, I don't think we need to worry about this right now. Let's just make sure that 0, 16, and 32 are handled. I think 0 should be treated like 32 for now.\r\n"},"comment":{"url":"https://api.github.com/repos/automicus/PyISY/issues/comments/169077668","html_url":"https://github.com/automicus/PyISY/issues/12#issuecomment-169077668","issue_url":"https://api.github.com/repos/automicus/PyISY/issues/12","id":169077668,"user":{"login":"rmkraus","id":4956442,"avatar_url":"https://avatars.githubusercontent.com/u/4956442?v=3","gravatar_id":"","url":"https://api.github.com/users/rmkraus","html_url":"https://github.com/rmkraus","followers_url":"https://api.github.com/users/rmkraus/followers","following_url":"https://api.github.com/users/rmkraus/following{/other_user}","gists_url":"https://api.github.com/users/rmkraus/gists{/gist_id}","starred_url":"https://api.github.com/users/rmkraus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmkraus/subscriptions","organizations_url":"https://api.github.com/users/rmkraus/orgs","repos_url":"https://api.github.com/users/rmkraus/repos","events_url":"https://api.github.com/users/rmkraus/events{/privacy}","received_events_url":"https://api.github.com/users/rmkraus/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T17:44:55Z","updated_at":"2016-01-05T17:44:55Z","body":"Can this be closed now?"}}