{"action":"created","issue":{"url":"https://api.github.com/repos/nfarina/homebridge/issues/1739","repository_url":"https://api.github.com/repos/nfarina/homebridge","labels_url":"https://api.github.com/repos/nfarina/homebridge/issues/1739/labels{/name}","comments_url":"https://api.github.com/repos/nfarina/homebridge/issues/1739/comments","events_url":"https://api.github.com/repos/nfarina/homebridge/issues/1739/events","html_url":"https://github.com/nfarina/homebridge/issues/1739","id":296433123,"node_id":"MDU6SXNzdWUyOTY0MzMxMjM=","number":1739,"title":"remote access to Homebridge home kit devices worked forever, now failing","user":{"login":"dbl4git","id":36414738,"node_id":"MDQ6VXNlcjM2NDE0NzM4","avatar_url":"https://avatars1.githubusercontent.com/u/36414738?v=4","gravatar_id":"","url":"https://api.github.com/users/dbl4git","html_url":"https://github.com/dbl4git","followers_url":"https://api.github.com/users/dbl4git/followers","following_url":"https://api.github.com/users/dbl4git/following{/other_user}","gists_url":"https://api.github.com/users/dbl4git/gists{/gist_id}","starred_url":"https://api.github.com/users/dbl4git/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbl4git/subscriptions","organizations_url":"https://api.github.com/users/dbl4git/orgs","repos_url":"https://api.github.com/users/dbl4git/repos","events_url":"https://api.github.com/users/dbl4git/events{/privacy}","received_events_url":"https://api.github.com/users/dbl4git/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-02-12T16:15:24Z","updated_at":"2018-08-07T18:39:31Z","closed_at":null,"author_association":"NONE","body":"<!-- If you have an issue with a plugin consider creating an issue in the plugin's github repo instead. -->\r\n\r\n<!-- Provide a general summary in the Title above -->\r\n\r\n### Expected Behavior\r\n<!-- If you're describing a bug, tell us what should happen -->\r\n<!-- If you're suggesting a change/improvement, tell us how it should work -->\r\nBoth remote and local access to my Wemo and Nest devices via Homebridge has worked just fine for a very long time.\r\n### Current Behavior\r\n<!-- If describing a bug, tell us what happens instead of the expected behavior -->\r\n<!-- If suggesting a change/improvement, explain the difference from current behavior -->\r\nRecently, remote access to Homebridge devices started failing on a regular basis, while local access still works just fine.  HomeKit native devices (iHome, Koogeek, Chamberlain) all continue to work fine, both locally and remotely. I had an iPad (latest iOS), and two AppleTVs(4th Gen 64GB, latest tvOS) serving as Homekit hubs, and recently added a HomePod. This problem seems to have been begun around the time the AppleTV's auto-upgraded to the latest tvOS).  Homebridge is running on an iMac (Sierra 10.12.6), and produces no errors.\r\nOver the course of trying to figure this out, I have tried removing various of the hubs from service, removing all the cached files on Homebridge and restarting, removing Homebridge from Home and re-adding, and hundreds of permutations of these changes.\r\nHomebridge devices seemed to work intermittently remotely, but always locally. It appears, however, that in truth it was working (remotely) ONLY when the iPad was the hub and the rest (AppleTVs or HomePod) Standby or off/disabled.  Possibly a red herring given the bugginess of the HomePod, but it never thinks the Homebridge devices are responding (locally, obviously), even when they are working fine in the iOS Home App and the iPad is the primary Homekit Hub.\r\n### Steps to Reproduce (for bugs)\r\n<!-- Please add a series of steps to reproduce the problem. -->\r\nI can reproduce reliably as follows:\r\nHomebridge Wemo and Nest devices all responding (locally and remotely) fine with iPad as Homekit Hub. Turn off iPad and when the HomePod or AppleTV become the hub, remote access fails, while local access continues to work.\r\n### Versions\r\n<!-- Please run commands and include versions below. -->\r\n- **Homebridge**: `homebridge --version`\r\n0.4.38\r\n- **Node**:       `node --version`\r\nv6.9.4\r\n- **OS**:         <!-- The version and architecture of your operating system -->\r\nMac OS Sierra (10.12.6)\r\n### Configuration\r\n<!-- If relevant, include the contents of your config.json file between the two ``` lines below.\r\n  - Remove any sensitive information, passwords, etc.\r\n  - If output is long:\r\n    - Please extract only the relevant portions if possible\r\n    - Consider creating a gist, etc\r\n -->\r\n```json\r\n\r\n```\r\n\r\n### Homebridge Log / Command Output\r\n<!-- Paste relevant output between the two ``` lines below\r\n  - Remove any sensitive information, passwords, etc.\r\n  - If output is long:\r\n    - Please extract only the relevant portions if possible\r\n    - Consider creating a gist, etc\r\n  - However, please include the beginning of the log where the homebridge initialization happens if possible\r\n-->\r\n```\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/nfarina/homebridge/issues/comments/411159035","html_url":"https://github.com/nfarina/homebridge/issues/1739#issuecomment-411159035","issue_url":"https://api.github.com/repos/nfarina/homebridge/issues/1739","id":411159035,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTE1OTAzNQ==","user":{"login":"earlyshen","id":1399753,"node_id":"MDQ6VXNlcjEzOTk3NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/1399753?v=4","gravatar_id":"","url":"https://api.github.com/users/earlyshen","html_url":"https://github.com/earlyshen","followers_url":"https://api.github.com/users/earlyshen/followers","following_url":"https://api.github.com/users/earlyshen/following{/other_user}","gists_url":"https://api.github.com/users/earlyshen/gists{/gist_id}","starred_url":"https://api.github.com/users/earlyshen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/earlyshen/subscriptions","organizations_url":"https://api.github.com/users/earlyshen/orgs","repos_url":"https://api.github.com/users/earlyshen/repos","events_url":"https://api.github.com/users/earlyshen/events{/privacy}","received_events_url":"https://api.github.com/users/earlyshen/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T18:39:31Z","updated_at":"2018-08-07T18:39:31Z","author_association":"NONE","body":"I have the same issue here. \r\n- **HomeKit Hub**: `Apple TV 4K`\r\n- **Homebridge**: `v0.4.32` running on Raspberry Pi 3 connected to router thru LAN\r\n- **Homebridge devices**: TP-Link Switches/Outlets, Nest Thermostats, Cameras\r\n  Work fine locally but don't work remotely (Homebridge no response)\r\n- **Non homebridge devices**: August Lock, Hue\r\n  Work fine both locally & remotely\r\n\r\nI don't have a HomePod so it might not related to HomePod trying to take over."}}
{"actor":{"display_login":"earlyshen"}}