{"action":"created","issue":{"url":"https://api.github.com/repos/ebaauw/homebridge-hue/issues/393","repository_url":"https://api.github.com/repos/ebaauw/homebridge-hue","labels_url":"https://api.github.com/repos/ebaauw/homebridge-hue/issues/393/labels{/name}","comments_url":"https://api.github.com/repos/ebaauw/homebridge-hue/issues/393/comments","events_url":"https://api.github.com/repos/ebaauw/homebridge-hue/issues/393/events","html_url":"https://github.com/ebaauw/homebridge-hue/issues/393","id":376303331,"node_id":"MDU6SXNzdWUzNzYzMDMzMzE=","number":393,"title":"Deconz gateway not visible in homekit anymore","user":{"login":"QHose","id":12411165,"node_id":"MDQ6VXNlcjEyNDExMTY1","avatar_url":"https://avatars0.githubusercontent.com/u/12411165?v=4","gravatar_id":"","url":"https://api.github.com/users/QHose","html_url":"https://github.com/QHose","followers_url":"https://api.github.com/users/QHose/followers","following_url":"https://api.github.com/users/QHose/following{/other_user}","gists_url":"https://api.github.com/users/QHose/gists{/gist_id}","starred_url":"https://api.github.com/users/QHose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QHose/subscriptions","organizations_url":"https://api.github.com/users/QHose/orgs","repos_url":"https://api.github.com/users/QHose/repos","events_url":"https://api.github.com/users/QHose/events{/privacy}","received_events_url":"https://api.github.com/users/QHose/received_events","type":"User","site_admin":false},"labels":[{"id":464123736,"node_id":"MDU6TGFiZWw0NjQxMjM3MzY=","url":"https://api.github.com/repos/ebaauw/homebridge-hue/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-11-01T08:45:52Z","updated_at":"2018-11-09T11:04:00Z","closed_at":null,"author_association":"NONE","body":"hi,\r\n\r\nthanks for this great plugin, it worked brilliantly till yesterday. I installed a new plugin and removed it already. But somehow my deconz accessories are visible in deconz, but not in homekit anymore. I do see the philips hue bridge but not the raspbee from my pi. \r\n\r\nso somehow the link is lost between deconz and homebridge. how can I reset this? I already tried to remove the `users` in the config.json, restarting and putting them back etc.\r\n\r\nThank you so much!\r\n\r\n```\r\n[2018-11-1 09:39:37] [Hue] Philips hue: Philips BSB002 bridge v1809121051, api v1.27.0\r\n[2018-11-1 09:39:38] [Hue] Philips hue: 14 accessories\r\n[2018-11-1 09:39:38] [Hue] masked debug info dumped to /homebridge/homebridge-hue.json.gz\r\n[2018-11-1 09:39:38] [Hue] Initializing platform accessory 'Philips hue'...\r\n[2018-11-1 09:39:38] [Hue] Philips hue: 3 services\r\n[2018-11-1 09:39:38] [Hue] Initializing platform accessory 'Bijkeuken light 1'...\r\n[2018-11-1 09:39:38] [Hue] Initializing platform accessory 'Bijkeuken light 2'...\r\n[2018-11-1 09:39:38] [Hue] Initializing platform accessory 'Bijkeuken light 3'...\r\n[2018-11-1 09:39:38] [Hue] Initializing platform accessory 'Hal light 1'...\r\n[2018-11-1 09:39:38] [Hue] Initializing platform accessory 'Hal light 2'...\r\n[2018-11-1 09:39:38] [Hue] Initializing platform accessory 'Hal light 3'...\r\n[2018-11-1 09:39:38] [Hue] Initializing platform accessory 'Gang light 1'...\r\n[2018-11-1 09:39:38] [Hue] Initializing platform accessory 'Gang light 2'...\r\n[2018-11-1 09:39:38] [Hue] Initializing platform accessory 'Gang light 3'...\r\n[2018-11-1 09:39:38] [Hue] Initializing platform accessory 'Laptop'...\r\n[2018-11-1 09:39:38] [Hue] Initializing platform accessory 'Terras draad'...\r\n[2018-11-1 09:39:38] [Hue] Initializing platform accessory 'Annika bol lamp'...\r\n[2018-11-1 09:39:38] [Hue] Initializing platform accessory 'Verwarming badkamer'...\r\nSetup Payload:\r\n```\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ebaauw/homebridge-hue/issues/comments/437326989","html_url":"https://github.com/ebaauw/homebridge-hue/issues/393#issuecomment-437326989","issue_url":"https://api.github.com/repos/ebaauw/homebridge-hue/issues/393","id":437326989,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzMyNjk4OQ==","user":{"login":"QHose","id":12411165,"node_id":"MDQ6VXNlcjEyNDExMTY1","avatar_url":"https://avatars0.githubusercontent.com/u/12411165?v=4","gravatar_id":"","url":"https://api.github.com/users/QHose","html_url":"https://github.com/QHose","followers_url":"https://api.github.com/users/QHose/followers","following_url":"https://api.github.com/users/QHose/following{/other_user}","gists_url":"https://api.github.com/users/QHose/gists{/gist_id}","starred_url":"https://api.github.com/users/QHose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QHose/subscriptions","organizations_url":"https://api.github.com/users/QHose/orgs","repos_url":"https://api.github.com/users/QHose/repos","events_url":"https://api.github.com/users/QHose/events{/privacy}","received_events_url":"https://api.github.com/users/QHose/received_events","type":"User","site_admin":false},"created_at":"2018-11-09T11:04:00Z","updated_at":"2018-11-09T11:04:00Z","author_association":"NONE","body":"hi,\r\n\r\nIf I run those statements I get an error:\r\n![image](https://user-images.githubusercontent.com/12411165/48259003-e8be5000-e416-11e8-86ee-5a7db5d18cd8.png)\r\n\r\nafter I installed homebridge-hue-utils v1.1.0\r\n\r\nI get\r\n\r\n```\r\n+ homebridge-hue-utils@1.1.0\r\nadded 77 packages in 10.069s\r\n/homebridge # DEBUG=* ph discover\r\n  OptionParser0 constructor({\"chalk\":false,\"debug\":false,\"program\":true,\"timestamp\":false}, false) +0ms\r\n  OptionParser0 boolKey(\"chalk\") +6ms\r\n  OptionParser0 boolKey(\"debug\") +1ms\r\n  OptionParser0 boolKey(\"program\") +0ms\r\n  OptionParser0 boolKey(\"timestamp\") +0ms\r\n  OptionParser0 enumKey(\"mode\") +1ms\r\n  OptionParser0 enumKeyValue(\"mode\", \"command\") +0ms\r\n  OptionParser0 enumKeyValue(\"mode\", \"daemon\") +0ms\r\n  OptionParser0 enumKeyValue(\"mode\", \"service\") +1ms\r\n  OptionParser0 parse({\"mode\":\"command\",\"debug\":false}) +0ms\r\n  OptionParser0 parse() => {\"chalk\":false,\"debug\":false,\"program\":true,\"timestamp\":false} +1ms\r\n  CommandLineParser0 constructor() +0ms\r\n  CommandLineParser0 flag(\"h\", \"help\") +1ms\r\n  CommandLineParser0 flag(\"V\", \"version\") +1ms\r\n  CommandLineParser0 option(\"H\", \"host\") +0ms\r\n  CommandLineParser0 flag(\"p\", \"phoscon\") +0ms\r\n  CommandLineParser0 flag(\"s\", \"ssl\") +1ms\r\n  CommandLineParser0 option(\"t\", \"timeout\") +0ms\r\n  CommandLineParser0 option(\"u\", \"username\") +0ms\r\n  CommandLineParser0 parameter(\"command\") +0ms\r\n  CommandLineParser0 remaining() +0ms\r\n  CommandLineParser0 parse([\"discover\"]) +2ms\r\n  CommandLineParser0 parse() => parameter command: discover +0ms\r\n  CommandLineParser0 parse() => remaining: [] +0ms\r\n  HueClient1 constructor({\"host\":\"localhost\"}) +0ms\r\n  OptionParser1 constructor({\"hostname\":\"localhost\",\"port\":80,\"username\":\"unknown\",\"timeout\":15}, false) +0ms\r\n  OptionParser1 hostKey(\"host\", \"hostname\", \"port\") +0ms\r\n  OptionParser1 boolKey(\"phoscon\") +1ms\r\n  OptionParser1 boolKey(\"ssl\") +0ms\r\n  OptionParser1 stringKey(\"username\", true) +0ms\r\n  OptionParser1 intKey(\"timeout\", 1, 60) +1ms\r\n  OptionParser1 parse({\"host\":\"localhost\"}) +0ms\r\n  OptionParser1 parse() => {\"hostname\":\"localhost\",\"port\":80,\"username\":\"unknown\",\"timeout\":15} +0ms\r\n  HueClient1 constructor() => {\"hostname\":\"localhost\",\"port\":80,\"username\":\"unknown\",\"timeout\":15,\"url\":\"http://localhost\"} +3ms\r\n  CommandLineParser1 constructor() +0ms\r\n  CommandLineParser1 flag(\"h\", \"help\") +1ms\r\n  CommandLineParser1 option(\"t\", \"timeout\") +0ms\r\n  CommandLineParser1 flag(\"v\", \"verbose\") +0ms\r\n  CommandLineParser1 parse([]) +0ms\r\n  HueDiscovery1 constructor({}) +0ms\r\n  OptionParser2 constructor({\"timeout\":5}, false) +0ms\r\n  OptionParser2 boolKey(\"verbose\") +0ms\r\n  OptionParser2 intKey(\"timeout\", 1, 60) +0ms\r\n  OptionParser2 parse({}) +0ms\r\n  OptionParser2 parse() => {\"timeout\":5} +0ms\r\n  HueDiscovery1 constructor({}) => {\"timeout\":5} +1ms\r\n  OptionParser3 constructor({}, false) +0ms\r\n  OptionParser3 boolKey(\"sortKeys\") +0ms\r\n  OptionParser3 boolKey(\"noWhiteSpace\") +0ms\r\n  OptionParser3 boolKey(\"jsonArray\") +1ms\r\n  OptionParser3 boolKey(\"joinKeys\") +0ms\r\n  OptionParser3 boolKey(\"ascii\") +0ms\r\n  OptionParser3 boolKey(\"topOnly\") +0ms\r\n  OptionParser3 intKey(\"maxDepth\", 0, undefined) +0ms\r\n  OptionParser3 pathKey(\"fromPath\", false) +0ms\r\n  OptionParser3 boolKey(\"leavesOnly\") +1ms\r\n  OptionParser3 boolKey(\"keysOnly\") +0ms\r\n  OptionParser3 boolKey(\"valuesOnly\") +0ms\r\n  OptionParser3 parse({\"sortKeys\":true}) +0ms\r\n  OptionParser3 parse() => {\"sortKeys\":true} +0ms\r\n  UpnpMonitor1 constructor({\"timeout\":5}) +0ms\r\n  OptionParser4 constructor({\"hostname\":\"239.255.255.250\",\"port\":1900,\"timeout\":5,\"class\":\"upnp:rootdevice\"}, false) +0ms\r\n  OptionParser4 hostKey(\"host\", \"hostname\", \"port\") +0ms\r\n  OptionParser4 stringKey(\"class\", true) +0ms\r\n  OptionParser4 intKey(\"timeout\", 1, 60) +0ms\r\n  OptionParser4 parse({\"timeout\":5}) +0ms\r\n  OptionParser4 parse() => {\"hostname\":\"239.255.255.250\",\"port\":1900,\"timeout\":5,\"class\":\"upnp:rootdevice\"} +1ms\r\n  UpnpMonitor1 constructor() => {\"hostname\":\"239.255.255.250\",\"port\":1900,\"timeout\":5,\"class\":\"upnp:rootdevice\"} +2ms\r\n  UpnpMonitor1 sending search to 239.255.255.250:1900 +2ms\r\n  RestClient1 constructor({\"host\":\"www.meethue.com\",\"name\":\"meethue\",\"path\":\"api/nupnp\",\"timeout\":5}) +0ms\r\n  OptionParser5 constructor({\"https\":true,\"hostname\":\"localhost\",\"ipv6\":false,\"keepalive\":false,\"port\":80,\"path\":\"\",\"timeout\":5}, false) +0ms\r\n  OptionParser5 hostKey(\"host\", \"hostname\", \"port\") +0ms\r\n  OptionParser5 boolKey(\"https\") +1ms\r\n  OptionParser5 boolKey(\"ipv6\") +0ms\r\n  OptionParser5 boolKey(\"keepalive\") +0ms\r\n  OptionParser5 stringKey(\"name\", true) +0ms\r\n  OptionParser5 stringKey(\"path\", true) +0ms\r\n  OptionParser5 intKey(\"timeout\", 1, 60) +0ms\r\n  OptionParser5 parse({\"host\":\"www.meethue.com\",\"name\":\"meethue\",\"path\":\"api/nupnp\",\"timeout\":5}) +0ms\r\n  OptionParser5 parse() => {\"https\":true,\"hostname\":\"www.meethue.com\",\"ipv6\":false,\"keepalive\":false,\"port\":80,\"path\":\"api/nupnp\",\"timeout\":5,\"name\":\"meethue\"} +1ms\r\n  RestClient1 constructor() => {\"https\":true,\"hostname\":\"www.meethue.com\",\"ipv6\":false,\"keepalive\":false,\"port\":80,\"path\":\"api/nupnp\",\"timeout\":5,\"name\":\"meethue\",\"url\":\"https://www.meethue.com/api/nupnp\"} +2ms\r\n  RestClient1 request({\"family\":4,\"json\":true,\"method\":\"GET\",\"url\":\"https://www.meethue.com/api/nupnp\",\"timeout\":5000}) +1ms\r\n  RestClient2 constructor({\"host\":\"dresden-light.appspot.com\",\"name\":\"deconz4\",\"path\":\"discover\",\"timeout\":5}) +0ms\r\n  OptionParser6 constructor({\"https\":true,\"hostname\":\"localhost\",\"ipv6\":false,\"keepalive\":false,\"port\":80,\"path\":\"\",\"timeout\":5}, false) +0ms\r\n  OptionParser6 hostKey(\"host\", \"hostname\", \"port\") +0ms\r\n  OptionParser6 boolKey(\"https\") +0ms\r\n  OptionParser6 boolKey(\"ipv6\") +0ms\r\n  OptionParser6 boolKey(\"keepalive\") +1ms\r\n  OptionParser6 stringKey(\"name\", true) +0ms\r\n  OptionParser6 stringKey(\"path\", true) +0ms\r\n  OptionParser6 intKey(\"timeout\", 1, 60) +0ms\r\n  OptionParser6 parse({\"host\":\"dresden-light.appspot.com\",\"name\":\"deconz4\",\"path\":\"discover\",\"timeout\":5}) +0ms\r\n  OptionParser6 parse() => {\"https\":true,\"hostname\":\"dresden-light.appspot.com\",\"ipv6\":false,\"keepalive\":false,\"port\":80,\"path\":\"discover\",\"timeout\":5,\"name\":\"deconz4\"} +0ms\r\n  RestClient2 constructor() => {\"https\":true,\"hostname\":\"dresden-light.appspot.com\",\"ipv6\":false,\"keepalive\":false,\"port\":80,\"path\":\"discover\",\"timeout\":5,\"name\":\"deconz4\",\"url\":\"https://dresden-light.appspot.com/discover\"} +1ms\r\n  RestClient2 request({\"family\":4,\"json\":true,\"method\":\"GET\",\"url\":\"https://dresden-light.appspot.com/discover\",\"timeout\":5000}) +1ms\r\n  RestClient3 constructor({\"host\":\"dresden-light.appspot.com\",\"ipv6\":true,\"name\":\"deconz6\",\"path\":\"discover\",\"timeout\":5}) +0ms\r\n  OptionParser7 constructor({\"https\":true,\"hostname\":\"localhost\",\"ipv6\":false,\"keepalive\":false,\"port\":80,\"path\":\"\",\"timeout\":5}, false) +0ms\r\n  OptionParser7 hostKey(\"host\", \"hostname\", \"port\") +0ms\r\n  OptionParser7 boolKey(\"https\") +0ms\r\n  OptionParser7 boolKey(\"ipv6\") +0ms\r\n  OptionParser7 boolKey(\"keepalive\") +0ms\r\n  OptionParser7 stringKey(\"name\", true) +0ms\r\n  OptionParser7 stringKey(\"path\", true) +0ms\r\n  OptionParser7 intKey(\"timeout\", 1, 60) +0ms\r\n  OptionParser7 parse({\"host\":\"dresden-light.appspot.com\",\"ipv6\":true,\"name\":\"deconz6\",\"path\":\"discover\",\"timeout\":5}) +1ms\r\n  OptionParser7 parse() => {\"https\":true,\"hostname\":\"dresden-light.appspot.com\",\"ipv6\":true,\"keepalive\":false,\"port\":80,\"path\":\"discover\",\"timeout\":5,\"name\":\"deconz6\"} +0ms\r\n  RestClient3 constructor() => {\"https\":true,\"hostname\":\"dresden-light.appspot.com\",\"ipv6\":true,\"keepalive\":false,\"port\":80,\"path\":\"discover\",\"timeout\":5,\"name\":\"deconz6\",\"url\":\"https://dresden-light.appspot.com/discover\"} +2ms\r\n  RestClient3 request({\"family\":6,\"json\":true,\"method\":\"GET\",\"url\":\"https://dresden-light.appspot.com/discover\",\"timeout\":5000}) +0ms\r\n  UpnpMonitor1 listening to 0.0.0.0:48697 +51ms\r\n  HueDiscovery1 upnp searching +59ms\r\n  UpnpMonitor1 message from 192.168.1.100 +4ms\r\n  UpnpMonitor1 message from 192.168.1.1 +79ms\r\n  RestClient3 request({\"family\":6,\"json\":true,\"method\":\"GET\",\"url\":\"https://dresden-light.appspot.com/discover\",\"timeout\":5000}) => undefined +115ms\r\n  HueDiscovery1 deconz6: connect ENETUNREACH 2a00:1450:400e:802::2014:443 - Local (:::0) +95ms\r\n  RestClient1 request({\"family\":4,\"json\":true,\"method\":\"GET\",\"url\":\"https://www.meethue.com/api/nupnp\",\"timeout\":5000}) => {\"statusCode\":200,\"body\":[{\"id\":\"001788fffe7aa048\",\"internalipaddress\":\"192.168.1.122\"}],\"headers\":{\"access-control-allow-credentials\":\"true\",\"access-control-allow-headers\":\"Origin, X-Requested-With, Content-Type, Accept, X-Token, X-Bridge\",\"access-control-allow-methods\":\"GET, OPTIONS\",\"access-control-allow-origin\":\"*\",\"cache-control\":\"no-cache\",\"content-type\":\"application/json; charset=utf-8\",\"date\":\"Fri, 09 Nov 2018 11:01:18 GMT\",\"content-length\":\"64\",\"via\":\"1.1 google\",\"alt-svc\":\"clear\",\"connection\":\"close\"},\"request\":{\"uri\":{\"protocol\":\"https:\",\"slashes\":true,\"auth\":null,\"host\":\"www.meethue.com\",\"port\":443,\"hostname\":\"www.meethue.com\",\"hash\":null,\"search\":null,\"query\":null,\"pathname\":\"/api/nupnp\",\"path\":\"/api/nupnp\",\"href\":\"https://www.meethue.com/api/nupnp\"},\"method\":\"GET\",\"headers\":{\"accept\":\"application/json\"}}} +230ms\r\n  HueDiscovery1 meethue: found 001788FFFE7AA048 at 192.168.1.122 +92ms\r\n  RestClient2 request({\"family\":4,\"json\":true,\"method\":\"GET\",\"url\":\"https://dresden-light.appspot.com/discover\",\"timeout\":5000}) => {\"statusCode\":200,\"body\":[],\"headers\":{\"cache-control\":\"no-cache\",\"content-type\":\"application/json\",\"access-control-allow-origin\":\"*\",\"x-appengine-country\":\"NL\",\"x-appengine-city\":\"utrecht\",\"x-appengine-citylatlong\":\"52.090737,5.121420\",\"x-appengine-timezone\":\"UTC\",\"x-cloud-trace-context\":\"473e4dfc66b6759fc682486c8244abe4\",\"date\":\"Fri, 09 Nov 2018 11:01:18 GMT\",\"server\":\"Google Frontend\",\"content-length\":\"2\",\"alt-svc\":\"quic=\\\":443\\\"; ma=2592000; v=\\\"44,43,39,35\\\"\",\"connection\":\"close\"},\"request\":{\"uri\":{\"protocol\":\"https:\",\"slashes\":true,\"auth\":null,\"host\":\"dresden-light.appspot.com\",\"port\":443,\"hostname\":\"dresden-light.appspot.com\",\"hash\":null,\"search\":null,\"query\":null,\"pathname\":\"/discover\",\"path\":\"/discover\",\"href\":\"https://dresden-light.appspot.com/discover\"},\"method\":\"GET\",\"headers\":{\"accept\":\"application/json\"}}} +323ms\r\n  UpnpMonitor1 message from 192.168.1.122 +5s\r\n  HueDiscovery1 upnp: found 001788FFFE7AA048 at 192.168.1.122 +5s\r\n  UpnpMonitor1 message from 192.168.1.122 +50ms\r\n  UpnpMonitor1 message from 192.168.1.122 +50ms\r\n  UpnpMonitor1 timeout +119ms\r\n{\r\n  \"192.168.1.122\": \"MASKED\"\r\n}\r\n```\r\n\r\nHUE BRIDGE=  192.168.1.122\r\nDECONZ = 192.168.1.115 "}}
{"actor":{"display_login":"QHose"}}