{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2291","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2291/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2291/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2291/events","html_url":"https://github.com/home-assistant/home-assistant/issues/2291","id":160059098,"number":2291,"title":"Locative no longer works","user":{"login":"goyney","id":1015040,"avatar_url":"https://avatars.githubusercontent.com/u/1015040?v=3","gravatar_id":"","url":"https://api.github.com/users/goyney","html_url":"https://github.com/goyney","followers_url":"https://api.github.com/users/goyney/followers","following_url":"https://api.github.com/users/goyney/following{/other_user}","gists_url":"https://api.github.com/users/goyney/gists{/gist_id}","starred_url":"https://api.github.com/users/goyney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goyney/subscriptions","organizations_url":"https://api.github.com/users/goyney/orgs","repos_url":"https://api.github.com/users/goyney/repos","events_url":"https://api.github.com/users/goyney/events{/privacy}","received_events_url":"https://api.github.com/users/goyney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-13T22:28:46Z","updated_at":"2016-06-17T20:56:37Z","closed_at":null,"body":"Make sure you are running the latest version of Home Assistant before reporting an issue.\r\n\r\nYou should only file an issue if you found a bug. Feature and enhancement requests should go in [the Feature Requests section](https://community.home-assistant.io/c/feature-requests) of our community forum:\r\n\r\n**Home Assistant release (`hass --version`):** 0.21.1\r\n\r\n\r\n**Python release (`python3 --version`):** 3.4.2\r\n\r\n\r\n**Component/platform:** Locative\r\n\r\n\r\n**Description of problem:** Locative accepts the GET requests for enter and exit, but no `known_devices.yaml` is generated and no presence is set.\r\n\r\n\r\n**Expected:** After HASS receives a Locative GET request with all the appropriate params (longitude, latitude, device, and trigger), the device should be added to the `known_devices.yaml` and the device should be accessible under States in the HASS front-end.\r\n\r\n\r\n**Problem-relevant `configuration.yaml` entries and steps to reproduce:**\r\n```yaml\r\ndevice_tracker:\r\n    platform: locative\r\n```\r\n\r\n1. Set up locative in the `configuration.yaml`.\r\n2. Restart HASS.\r\n3. Configure the Locative iOS app to hit `http://my.url:8123/api/locative?api_password=*****`.\r\n4. Exit and Enter my \"Home\" zone.\r\n5. Check `home-assistant.log`, see the follow:\r\n```\r\n16-06-12 18:35:04 homeassistant.components.http: 70.193.240.246 - - [12/Jun/2016 18:35:04] \"GET /api/locative?api_password=*******&device=3FAE6313-D97A-48DE-8F52-5DEC6BA64FDB&id=Home&latitude=[REDACTED]&longitude=[REDACTED]&timestamp=1465756502.434871&trigger=exit HTTP/1.1\" 200 9519 0.005941\r\n16-06-12 19:58:45 homeassistant.components.http: 70.193.240.246 - - [12/Jun/2016 19:58:45] \"GET /api/locative?api_password=*******&device=3FAE6313-D97A-48DE-8F52-5DEC6BA64FDB&id=Home&latitude=[REDACTED]&longitude=[REDACTED]&timestamp=1465761525.157922&trigger=enter HTTP/1.1\" 200 9696 0.005834\r\n```\r\n6. No `known_devices.yaml` exists in the `/home/hass` directory. No devices show up in the HASS front-end.\r\n\r\n**Additional info:** Someone else has reported similar behavior on the [forums](https://community.home-assistant.io/t/locative-sends-the-get-but-nothing-happens/1756).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/226879542","html_url":"https://github.com/home-assistant/home-assistant/issues/2291#issuecomment-226879542","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2291","id":226879542,"user":{"login":"acockburn","id":9850788,"avatar_url":"https://avatars.githubusercontent.com/u/9850788?v=3","gravatar_id":"","url":"https://api.github.com/users/acockburn","html_url":"https://github.com/acockburn","followers_url":"https://api.github.com/users/acockburn/followers","following_url":"https://api.github.com/users/acockburn/following{/other_user}","gists_url":"https://api.github.com/users/acockburn/gists{/gist_id}","starred_url":"https://api.github.com/users/acockburn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acockburn/subscriptions","organizations_url":"https://api.github.com/users/acockburn/orgs","repos_url":"https://api.github.com/users/acockburn/repos","events_url":"https://api.github.com/users/acockburn/events{/privacy}","received_events_url":"https://api.github.com/users/acockburn/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T20:56:37Z","updated_at":"2016-06-17T20:56:37Z","body":"Glad to help :)"}}
{"actor":{"display_login":"acockburn"}}