Advertisement
Guest User

Onvif_hass

a guest
Feb 13th, 2018
1,221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.24 KB | None | 0 0
  1. 2018-02-13 23:14:13 WARNING (MainThread) [homeassistant.components.recorder] From version 0.64.0 the 'recorder' component will by default purge data older than 10 days. To keep data longer you must configure 'purge_keep_days' or 'purge_interval'.
  2. 2018-02-13 23:14:15 WARNING (SyncWorker_15) [pywemo.ssdp] Error fetching description at https://172.16.80.21:8888
  3. 2018-02-13 23:14:16 ERROR (MainThread) [homeassistant.setup] Error during setup of component wink
  4. Traceback (most recent call last):
  5. File "/usr/lib/python3.6/site-packages/homeassistant/setup.py", line 148, in _async_setup_component
  6. component.setup, hass, processed_config)
  7. File "/usr/lib/python3.6/asyncio/futures.py", line 332, in __iter__
  8. yield self # This tells Task to wait for completion.
  9. File "/usr/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
  10. future.result()
  11. File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
  12. raise self._exception
  13. File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
  14. result = self.fn(*self.args, **self.kwargs)
  15. File "/usr/lib/python3.6/site-packages/homeassistant/components/wink/__init__.py", line 312, in setup
  16. pywink.get_subscription_key())
  17. File "/usr/lib/python3.6/site-packages/pywink/api.py", line 577, in get_subscription_key
  18. response_dict = wink_api_fetch()
  19. File "/usr/lib/python3.6/site-packages/pywink/api.py", line 598, in wink_api_fetch
  20. raise WinkAPIException("401 Response from Wink API. Maybe Bearer token is expired?")
  21. pywink.api.WinkAPIException: 401 Response from Wink API. Maybe Bearer token is expired?
  22. 2018-02-13 23:14:25 ERROR (MainThread) [homeassistant.components.camera] Error while setting up platform onvif
  23. Traceback (most recent call last):
  24. File "/usr/lib/python3.6/site-packages/suds/transport/http.py", line 78, in send
  25. fp = self.u2open(u2request)
  26. File "/usr/lib/python3.6/site-packages/suds/transport/http.py", line 119, in u2open
  27. return url.open(u2request, timeout=tm)
  28. File "/usr/lib/python3.6/urllib/request.py", line 532, in open
  29. response = meth(req, response)
  30. File "/usr/lib/python3.6/urllib/request.py", line 642, in http_response
  31. 'http', request, response, code, msg, hdrs)
  32. File "/usr/lib/python3.6/urllib/request.py", line 570, in error
  33. return self._call_chain(*args)
  34. File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
  35. result = func(*args)
  36. File "/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default
  37. raise HTTPError(req.full_url, code, msg, hdrs, fp)
  38. urllib.error.HTTPError: HTTP Error 400: Bad Request
  39.  
  40. During handling of the above exception, another exception occurred:
  41.  
  42. Traceback (most recent call last):
  43. File "/usr/lib/python3.6/site-packages/suds/client.py", line 652, in send
  44. reply = transport.send(request)
  45. File "/usr/lib/python3.6/site-packages/suds/transport/http.py", line 178, in send
  46. return HttpTransport.send(self, request)
  47. File "/usr/lib/python3.6/site-packages/suds/transport/http.py", line 86, in send
  48. raise TransportError(e.msg, e.code, e.fp)
  49. suds.transport.TransportError: Bad Request
  50.  
  51. During handling of the above exception, another exception occurred:
  52.  
  53. Traceback (most recent call last):
  54. File "/usr/lib/python3.6/site-packages/onvif/client.py", line 34, in wrapped
  55. return func(*args, **kwargs)
  56. File "/usr/lib/python3.6/site-packages/onvif/client.py", line 201, in wrapped
  57. return call(params, callback)
  58. File "/usr/lib/python3.6/site-packages/onvif/client.py", line 191, in call
  59. ret = func(**params)
  60. File "/usr/lib/python3.6/site-packages/suds/client.py", line 559, in __call__
  61. return client.invoke(args, kwargs)
  62. File "/usr/lib/python3.6/site-packages/suds/client.py", line 618, in invoke
  63. result = self.send(soapenv)
  64. File "/usr/lib/python3.6/site-packages/suds/client.py", line 664, in send
  65. result = self.failed(binding, e)
  66. File "/usr/lib/python3.6/site-packages/suds/client.py", line 726, in failed
  67. raise Exception((status, reason))
  68. Exception: (400, 'Bad Request')
  69.  
  70. During handling of the above exception, another exception occurred:
  71.  
  72. Traceback (most recent call last):
  73. File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 84, in async_setup
  74. SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  75. File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
  76. return fut.result()
  77. File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
  78. raise self._exception
  79. File "/usr/lib/python3.6/asyncio/tasks.py", line 180, in _step
  80. result = coro.send(None)
  81. File "/usr/lib/python3.6/asyncio/coroutines.py", line 210, in coro
  82. res = func(*args, **kw)
  83. File "/usr/lib/python3.6/site-packages/homeassistant/components/camera/onvif.py", line 51, in async_setup_platform
  84. async_add_devices([ONVIFCamera(hass, config)])
  85. File "/usr/lib/python3.6/site-packages/homeassistant/components/camera/onvif.py", line 72, in __init__
  86. self._input = media.GetStreamUri().Uri
  87. File "/usr/lib/python3.6/site-packages/onvif/client.py", line 36, in wrapped
  88. raise ONVIFError(err)
  89. onvif.exceptions.ONVIFError: Unknown error: (400, 'Bad Request')
  90. 2018-02-13 23:14:34 WARNING (SyncWorker_4) [netdisco.ssdp] Error fetching description at https://172.16.80.21:8888
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement