home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.8k stars 30.9k forks source link

dlna dmr media player errors #15985

Closed Bergasha closed 6 years ago

Bergasha commented 6 years ago

Home Assistant release with the issue:

0.76.0b1 last working Home Assistant release (if known): 0.75.3

Operating environment (Hass.io/Docker/Windows/etc.):

Hassio .76.0b1, running on HassOS 1.9 and supervisor 125 on a rpi3B+. No WiFi in use, pi is ethernet attached. Component/platform: dlna_dmr media_player

Description of problem: repeated errors in log: Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10

Additional info: Not sure which Media player this is referring to I only have (Chrome cast, Kodi on HTPC, and Spotify)

@StevenLooman

StevenLooman commented 6 years ago

Can you enable more verbose logging and paste it here?

If you add this to your configuration, home assistant will mostly be silent, except for the relevant components + libraries:

logger:
  default: warning
  logs:
    homeassistant.components.discovery: debug
    homeassistant.components.media_player.dlna_dmr: debug
    async_upnp_client: debug
    async_upnp_client.dlna: debug
    async_upnp_client.traffic: info

Update: Checked it, and fixed the async_upnp_client entries in the listing above.

You can dump UPnP traffic by setting the last entry to debug, although I doubt the problem lies there.

Bergasha commented 6 years ago

Let me know if you need it run for longer.

2018-08-16 08:24:31 WARNING (MainThread) [homeassistant.components.http] Experimental auth api enabled. Please use access_token instead api_password.
2018-08-16 08:24:57 WARNING (MainThread) [homeassistant.setup] Setup of config is taking over 10 seconds.
2018-08-16 08:25:18 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of platform ring is taking over 10 seconds.
2018-08-16 08:25:18 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform ring is taking over 10 seconds.
2018-08-16 08:25:18 WARNING (MainThread) [homeassistant.components.camera] Setup of platform ring is taking over 10 seconds.
2018-08-16 08:26:36 INFO (MainThread) [homeassistant.components.discovery] Found new service: hassio {}
2018-08-16 08:26:36 ERROR (SyncWorker_17) [homeassistant.components.media_player.spotify] media id must be spotify uri
2018-08-16 08:26:37 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.0.8
2018-08-16 08:26:37 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.0.6
2018-08-16 08:26:42 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-08-16 08:26:56 INFO (MainThread) [homeassistant.components.discovery] Found new service: xiaomi_gw {'host': '192.168.0.19', 'port': 54321, 'hostname': 'lumi-gateway-v3_miio80769754.local.', 'properties': {'epoch': '1', 'mac': '7811dcdec559'}, 'mac_address': '7811dcdec559'}
2018-08-16 08:26:56 INFO (MainThread) [homeassistant.components.discovery] Unknown service discovered: dlna_dms {'host': '192.168.0.2', 'port': 32469, 'ssdp_description': 'http://192.168.0.2:32469/DeviceDescription.xml', 'name': 'Plex Media Server: Shayno-HTPC', 'model_name': 'Plex Media Server', 'model_number': '1.13.5.5291', 'serial': None, 'manufacturer': 'Plex, Inc.', 'udn': 'uuid:19200fd9-c134-7b7c-e305-073a83d76d0e', 'upnp_device_type': 'urn:schemas-upnp-org:device:MediaServer:1'}
2018-08-16 08:26:56 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 08:32:12 INFO (MainThread) [homeassistant.components.discovery] Found new service: dlna_dmr {'host': '192.168.0.2', 'port': 1566, 'ssdp_description': 'http://192.168.0.2:1566/', 'name': 'Kodi (Shayno-HTPC)', 'model_name': 'Kodi', 'model_number': '17.6 Git:20171114-a9a7a20', 'serial': None, 'manufacturer': 'XBMC Foundation', 'udn': 'uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc', 'upnp_device_type': 'urn:schemas-upnp-org:device:MediaRenderer:1'}
2018-08-16 08:32:12 INFO (MainThread) [homeassistant.components.discovery] Unknown service discovered: dlna_dms {'host': '192.168.0.2', 'port': 1350, 'ssdp_description': 'http://192.168.0.2:1350/DeviceDescription.xml', 'name': 'Kodi (Shayno-HTPC)', 'model_name': 'Kodi', 'model_number': '17.6 Git:20171114-a9a7a20', 'serial': None, 'manufacturer': 'XBMC Foundation', 'udn': 'uuid:a0c21fe9-2942-a006-6dc5-ad19b874d3eb', 'upnp_device_type': 'urn:schemas-upnp-org:device:MediaServer:1'}
2018-08-16 08:32:12 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 08:32:15 INFO (MainThread) [homeassistant.components.media_player.dlna_dmr] UPNP/DLNA event handler listening on: http://192.168.0.27:8301/notify
2018-08-16 08:32:15 DEBUG (MainThread) [homeassistant.components.media_player.dlna_dmr] Adding device: <Entity Kodi (Shayno-HTPC): off>
2018-08-16 08:32:15 DEBUG (MainThread) [async_upnp_client.dlna] Subscribing to service: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 08:32:15 DEBUG (MainThread) [async_upnp_client] Subscribing to: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>, callback URL: http://192.168.0.27:8301/notify
2018-08-16 08:32:15 DEBUG (MainThread) [async_upnp_client] Got SID: uuid:fc8bb4d6-97e8-b085-f0b1-a1962ad1a2fd, renewal_time: 2018-08-16 09:02:15.691769
2018-08-16 08:32:15 DEBUG (MainThread) [async_upnp_client.dlna] Subscribing to service: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 08:32:15 DEBUG (MainThread) [async_upnp_client] Subscribing to: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>, callback URL: http://192.168.0.27:8301/notify
2018-08-16 08:32:15 DEBUG (MainThread) [async_upnp_client.aiohttp] Received request: <BaseRequest NOTIFY /notify >
2018-08-16 08:32:15 DEBUG (MainThread) [async_upnp_client.aiohttp] NOTIFY response status: 200
2018-08-16 08:32:15 DEBUG (MainThread) [async_upnp_client.aiohttp] Received request: <BaseRequest NOTIFY /notify >
2018-08-16 08:32:15 DEBUG (MainThread) [async_upnp_client] Got SID: uuid:485522b4-d46f-a455-ac96-0f7290c37f0e, renewal_time: 2018-08-16 09:02:15.752377
2018-08-16 08:32:15 DEBUG (MainThread) [async_upnp_client.dlna] Got no value for volume_level
2018-08-16 08:32:15 DEBUG (MainThread) [async_upnp_client.dlna] Got no value for volume_mute
2018-08-16 08:32:15 DEBUG (MainThread) [async_upnp_client.aiohttp] NOTIFY response status: 200
2018-08-16 08:36:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.kodi_shaynohtpc is taking over 10 seconds
2018-08-16 08:36:15 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 08:37:28 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 08:41:46 ERROR (SyncWorker_0) [locationsharinglib.Service] Unable to parse response :<!DOCTYPE html>
<html lang=en>
  <meta charset=utf-8>
  <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
  <title>Error 500 (Server Error)!!1</title>
  <style>
    *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
  </style>
  <a href=//www.google.com/><span id=logo aria-label=Google></span></a>
  <p><b>500.</b> <ins>That’s an error.</ins>
  <p>The server encountered an error and could not complete your request.<p>If the problem persists, please <A HREF="http://www.google.com/support/">report</A> your problem and mention this error message and the query that caused it.  <ins>That’s all we know.</ins>
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/locationsharinglib/locationsharinglib.py", line 389, in _get_data
    data = json.loads(response.text.split("'", 1)[1])
IndexError: list index out of range
2018-08-16 08:42:41 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 08:47:24 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 08:47:24 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 08:47:24 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 08:47:24 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 08:47:24 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 08:47:24 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 08:47:54 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 08:51:04 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.30.32.2
2018-08-16 08:53:08 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 08:58:21 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 09:02:33 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 09:02:33 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 09:02:33 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 09:02:33 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 09:02:33 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 09:02:33 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 09:03:34 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 09:08:48 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 09:14:03 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 09:17:43 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 09:17:43 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 09:17:43 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 09:17:43 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 09:17:43 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 09:17:43 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 09:19:16 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 09:24:06 ERROR (SyncWorker_0) [locationsharinglib.Service] Unable to parse response :<!DOCTYPE html>
<html lang=en>
  <meta charset=utf-8>
  <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
  <title>Error 500 (Server Error)!!1</title>
  <style>
    *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
  </style>
  <a href=//www.google.com/><span id=logo aria-label=Google></span></a>
  <p><b>500.</b> <ins>That’s an error.</ins>
  <p>The server encountered an error and could not complete your request.<p>If the problem persists, please <A HREF="http://www.google.com/support/">report</A> your problem and mention this error message and the query that caused it.  <ins>That’s all we know.</ins>
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/locationsharinglib/locationsharinglib.py", line 389, in _get_data
    data = json.loads(response.text.split("'", 1)[1])
IndexError: list index out of range
2018-08-16 09:24:29 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 09:26:04 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.30.32.2
2018-08-16 09:29:45 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 09:32:53 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 09:32:53 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 09:32:53 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 09:32:53 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 09:32:53 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 09:32:53 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 09:34:58 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 09:40:11 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 09:45:28 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 09:48:03 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 09:48:03 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 09:48:03 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 09:48:03 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 09:48:03 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 09:48:03 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 09:50:41 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 09:55:54 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 10:01:04 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.30.32.2
2018-08-16 10:01:08 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 10:03:13 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 10:03:13 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 10:03:13 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 10:03:13 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 10:03:13 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 10:03:13 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 10:06:21 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 10:10:30 ERROR (SyncWorker_5) [locationsharinglib.Service] Unable to parse response :<!DOCTYPE html>
<html lang=en>
  <meta charset=utf-8>
  <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
  <title>Error 500 (Server Error)!!1</title>
  <style>
    *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
  </style>
  <a href=//www.google.com/><span id=logo aria-label=Google></span></a>
  <p><b>500.</b> <ins>That’s an error.</ins>
  <p>The server encountered an error and could not complete your request.<p>If the problem persists, please <A HREF="http://www.google.com/support/">report</A> your problem and mention this error message and the query that caused it.  <ins>That’s all we know.</ins>
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/locationsharinglib/locationsharinglib.py", line 389, in _get_data
    data = json.loads(response.text.split("'", 1)[1])
IndexError: list index out of range
2018-08-16 10:11:34 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 10:16:48 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 10:18:22 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 10:18:22 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 10:18:22 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 10:18:22 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 10:18:22 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 10:18:22 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 10:22:01 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 10:24:56 ERROR (SyncWorker_11) [locationsharinglib.Service] Unable to parse response :<!DOCTYPE html>
<html lang=en>
  <meta charset=utf-8>
  <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
  <title>Error 500 (Server Error)!!1</title>
  <style>
    *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
  </style>
  <a href=//www.google.com/><span id=logo aria-label=Google></span></a>
  <p><b>500.</b> <ins>That’s an error.</ins>
  <p>The server encountered an error and could not complete your request.<p>If the problem persists, please <A HREF="http://www.google.com/support/">report</A> your problem and mention this error message and the query that caused it.  <ins>That’s all we know.</ins>
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/locationsharinglib/locationsharinglib.py", line 389, in _get_data
    data = json.loads(response.text.split("'", 1)[1])
IndexError: list index out of range
2018-08-16 10:27:14 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 10:32:28 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 10:33:32 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 10:33:32 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 10:33:32 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 10:33:32 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 10:33:32 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 10:33:32 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 10:36:04 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.30.32.2
2018-08-16 10:37:41 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 10:42:54 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 10:48:08 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 10:48:34 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 10:48:34 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 10:48:34 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 10:48:34 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 10:48:34 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 10:48:34 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 10:53:21 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 10:58:34 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 11:03:34 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 11:03:34 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:AVTransport, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 11:03:34 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 11:03:35 DEBUG (MainThread) [async_upnp_client.dlna] Resubscribing to service: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 11:03:35 DEBUG (MainThread) [async_upnp_client] Resubscribing to: <UpnpService(urn:upnp-org:serviceId:RenderingControl, uuid:a8d87618-f9c2-03e2-9e38-a53cb061f6bc)>
2018-08-16 11:03:35 ERROR (MainThread) [async_upnp_client] Did not receive 200, but 412
2018-08-16 11:03:48 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 11:09:01 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 11:11:04 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.30.32.2
2018-08-16 11:14:14 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 11:16:32 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.kodi_shaynohtpc is taking over 10 seconds
2018-08-16 11:16:33 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:16:44 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:16:55 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:17:06 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:17:17 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:17:28 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:17:39 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:17:50 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:18:01 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:18:12 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:18:23 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:18:34 DEBUG (MainThread) [homeassistant.components.media_player.dlna_dmr] Device unavailable
2018-08-16 11:18:44 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.kodi_shaynohtpc is taking over 10 seconds
2018-08-16 11:18:45 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:18:56 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:19:07 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:19:18 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:19:28 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 11:19:29 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:19:40 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:19:51 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:20:02 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:20:13 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:20:24 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:20:35 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:20:45 DEBUG (MainThread) [homeassistant.components.media_player.dlna_dmr] Device unavailable
2018-08-16 11:20:56 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.kodi_shaynohtpc is taking over 10 seconds
2018-08-16 11:20:57 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:21:08 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:21:19 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:21:30 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:21:40 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:21:51 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:22:02 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:22:13 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:22:24 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:22:35 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:22:46 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:22:56 DEBUG (MainThread) [homeassistant.components.media_player.dlna_dmr] Device unavailable
2018-08-16 11:23:07 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.kodi_shaynohtpc is taking over 10 seconds
2018-08-16 11:23:08 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:23:19 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:23:30 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:23:41 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:23:52 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:24:03 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:24:14 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:24:25 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:24:36 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:24:41 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 11:24:47 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:24:58 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:25:07 DEBUG (MainThread) [homeassistant.components.media_player.dlna_dmr] Device unavailable
2018-08-16 11:25:19 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.kodi_shaynohtpc is taking over 10 seconds
2018-08-16 11:25:20 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:25:31 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:25:42 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:25:53 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:26:04 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:26:15 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:26:26 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:26:37 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:26:48 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:26:59 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:27:10 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:27:18 DEBUG (MainThread) [homeassistant.components.media_player.dlna_dmr] Device unavailable
2018-08-16 11:27:31 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.kodi_shaynohtpc is taking over 10 seconds
2018-08-16 11:27:32 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:27:43 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:27:53 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:28:04 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:28:15 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:28:25 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:28:36 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:28:47 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:28:58 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:29:09 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:29:20 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:29:31 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:29:33 DEBUG (MainThread) [homeassistant.components.media_player.dlna_dmr] Device unavailable
2018-08-16 11:29:52 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.kodi_shaynohtpc is taking over 10 seconds
2018-08-16 11:29:53 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:29:57 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 11:30:04 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:30:15 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:30:26 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:30:37 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:30:48 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:30:58 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:31:09 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:31:20 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:31:30 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:31:41 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:31:52 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:31:52 DEBUG (MainThread) [homeassistant.components.media_player.dlna_dmr] Device unavailable
2018-08-16 11:32:13 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.kodi_shaynohtpc is taking over 10 seconds
2018-08-16 11:32:14 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:32:25 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:32:36 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:32:47 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:32:58 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:33:09 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:33:20 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:33:31 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:33:42 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:33:53 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:34:04 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:34:12 DEBUG (MainThread) [homeassistant.components.media_player.dlna_dmr] Device unavailable
2018-08-16 11:34:25 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.kodi_shaynohtpc is taking over 10 seconds
2018-08-16 11:34:26 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:34:37 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:34:48 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:34:59 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:35:10 INFO (MainThread) [homeassistant.components.discovery] Ignoring service: plex_mediaserver {'name': 'Shayno-HTPC', 'host': '192.168.0.2', 'port': '32400', 'urlbase': 'https://192.168.0.2:32400'}
2018-08-16 11:35:10 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:35:21 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:35:32 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:35:43 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:35:54 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:36:04 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:36:15 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:36:26 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2018-08-16 11:36:27 DEBUG (MainThread) [homeassistant.components.media_player.dlna_dmr] Device unavailable
2018-08-16 11:36:47 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.kodi_shaynohtpc is taking over 10 seconds
2018-08-16 11:36:48 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
StevenLooman commented 6 years ago

The library (async_upnp_client) was trying too long to reach the device. I've added a 5 second timeout (default, configurable) when trying to reach the device.

Please do test.