{"action":"created","issue":{"url":"https://api.github.com/repos/nfarina/homebridge/issues/1232","repository_url":"https://api.github.com/repos/nfarina/homebridge","labels_url":"https://api.github.com/repos/nfarina/homebridge/issues/1232/labels{/name}","comments_url":"https://api.github.com/repos/nfarina/homebridge/issues/1232/comments","events_url":"https://api.github.com/repos/nfarina/homebridge/issues/1232/events","html_url":"https://github.com/nfarina/homebridge/issues/1232","id":217335423,"number":1232,"title":"Indigo Accessory UUIDs don't always persist","user":{"login":"dscottbuch","id":2042033,"avatar_url":"https://avatars1.githubusercontent.com/u/2042033?v=4","gravatar_id":"","url":"https://api.github.com/users/dscottbuch","html_url":"https://github.com/dscottbuch","followers_url":"https://api.github.com/users/dscottbuch/followers","following_url":"https://api.github.com/users/dscottbuch/following{/other_user}","gists_url":"https://api.github.com/users/dscottbuch/gists{/gist_id}","starred_url":"https://api.github.com/users/dscottbuch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dscottbuch/subscriptions","organizations_url":"https://api.github.com/users/dscottbuch/orgs","repos_url":"https://api.github.com/users/dscottbuch/repos","events_url":"https://api.github.com/users/dscottbuch/events{/privacy}","received_events_url":"https://api.github.com/users/dscottbuch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-03-27T18:33:54Z","updated_at":"2017-11-01T15:43:57Z","closed_at":null,"author_association":"NONE","body":"I have Indigo 7 , homebridge and homebridge-indigo up and running.  I have all the startup worked out so the system reliably can re-boot and start everything up but sometimes, not always, the UUIDs for the accessories change so the room, scene and automation assignments in Home no longer connect to the devices in Indigo and they all have to be reconstituted.  Any ideas why?  I see in homebridge-indigo I could implement my own persistence function and store the UUID's first generated by the hap.uuid but it seems this is already built into homebridge but I can't find where to try and debug.  Any help appreciated.\r\n\r\nScott"},"comment":{"url":"https://api.github.com/repos/nfarina/homebridge/issues/comments/341145541","html_url":"https://github.com/nfarina/homebridge/issues/1232#issuecomment-341145541","issue_url":"https://api.github.com/repos/nfarina/homebridge/issues/1232","id":341145541,"user":{"login":"pdlove","id":4213327,"avatar_url":"https://avatars2.githubusercontent.com/u/4213327?v=4","gravatar_id":"","url":"https://api.github.com/users/pdlove","html_url":"https://github.com/pdlove","followers_url":"https://api.github.com/users/pdlove/followers","following_url":"https://api.github.com/users/pdlove/following{/other_user}","gists_url":"https://api.github.com/users/pdlove/gists{/gist_id}","starred_url":"https://api.github.com/users/pdlove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdlove/subscriptions","organizations_url":"https://api.github.com/users/pdlove/orgs","repos_url":"https://api.github.com/users/pdlove/repos","events_url":"https://api.github.com/users/pdlove/events{/privacy}","received_events_url":"https://api.github.com/users/pdlove/received_events","type":"User","site_admin":false},"created_at":"2017-11-01T15:43:57Z","updated_at":"2017-11-01T15:43:57Z","author_association":"CONTRIBUTOR","body":"I recommend you pester the developer to convert it to homebridge's version 2 API which caches accessories.\r\nI've got a similar issue with my smartthings plugin. What happens is that when it first comes up the order of the devices sometimes changes so the AID that is generated by HAP-NodeJS moves. In testing that doesn't happen when it's using the cached accessories.\r\nThis is primarily an issue when there are multiple plugins or the accessories don't always get added in the exact same order."}}
{"actor":{"display_login":"pdlove"}}