{"action":"opened","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/3152","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/3152/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/3152/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/3152/events","html_url":"https://github.com/home-assistant/home-assistant/issues/3152","id":174879901,"number":3152,"title":"RuntimeError in BLE scan","user":{"login":"open-homeautomation","id":20554088,"avatar_url":"https://avatars.githubusercontent.com/u/20554088?v=3","gravatar_id":"","url":"https://api.github.com/users/open-homeautomation","html_url":"https://github.com/open-homeautomation","followers_url":"https://api.github.com/users/open-homeautomation/followers","following_url":"https://api.github.com/users/open-homeautomation/following{/other_user}","gists_url":"https://api.github.com/users/open-homeautomation/gists{/gist_id}","starred_url":"https://api.github.com/users/open-homeautomation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-homeautomation/subscriptions","organizations_url":"https://api.github.com/users/open-homeautomation/orgs","repos_url":"https://api.github.com/users/open-homeautomation/repos","events_url":"https://api.github.com/users/open-homeautomation/events{/privacy}","received_events_url":"https://api.github.com/users/open-homeautomation/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-03T05:19:17Z","updated_at":"2016-09-03T05:19:17Z","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.27.1\r\n\r\n\r\n**Python release (`python3 --version`):** \r\n\r\n\r\n**Component/platform:** Raspberry Pi\r\n\r\n\r\n**Description of problem:** Bluetooth LE device detection aborts with exception\r\n\r\n\r\n**Expected:**\r\n\r\n\r\n**Problem-relevant `configuration.yaml` entries and steps to reproduce:**\r\n```yaml\r\n- platform: bluetooth_le_tracker\r\n  track_new_devices: no\r\n  interval_seconds: 480\r\n  consider_home: 2000\r\n  scan_duration: 15\r\n```\r\n\r\n\r\n**Traceback (if applicable):**\r\n```Sep 02 17:40:45 raspberrypi hass[675]: ERROR:homeassistant.core:BusHandler:Exception doing job\r\nSep 02 17:40:45 raspberrypi hass[675]: Traceback (most recent call last):\r\nSep 02 17:40:45 raspberrypi hass[675]: File \"/usr/local/lib/python3.4/dist-packages/homeassistant/core.py\", line 858, in job_handler\r\nSep 02 17:40:45 raspberrypi hass[675]: func(*args)\r\nSep 02 17:40:45 raspberrypi hass[675]: File \"/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/event.py\", line 87, in point_in_time_listener\r\nSep 02 17:40:45 raspberrypi hass[675]: action(now)\r\nSep 02 17:40:45 raspberrypi hass[675]: File \"/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/bluetooth_le_tracker.py\", line 98, in update_ble\r\nSep 02 17:40:45 raspberrypi hass[675]: devs = discover_ble_devices()\r\nSep 02 17:40:45 raspberrypi hass[675]: File \"/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/bluetooth_le_tracker.py\", line 62, in discover_ble_devices\r\nSep 02 17:40:45 raspberrypi hass[675]: devices = service.discover(duration)\r\nSep 02 17:40:45 raspberrypi hass[675]: RuntimeError: Disable scan failed\r\n```\r\n\r\n**Additional info:**\r\nThis happens rarely and it is not completely understood, why this \"Disable scan failed\" error occurs.\r\n"}}
{"actor":{"display_login":"open-homeautomation"}}