04-19 15:28:53 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform mikrotik
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/__init__.py", line 181, in async_setup_platform
platform.get_scanner, hass, {DOMAIN: p_config})
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik.py", line 37, in get_scanner
scanner = MikrotikDeviceScanner(config[DOMAIN])
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik.py", line 58, in __init__
from routeros_api import RouterOsApiPool
ImportError: No module named 'routeros_api'
-04-19 22:58:47 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/__init__.py", line 744, in async_device_tracker_scan
host_name = yield from scanner.async_get_device_name(mac)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 110, in get_device_name
str(self._name_from_leases(mac)))
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in _name_from_leases
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in <genexpr>
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
KeyError: 'mac-address'
2018-04-19 22:58:58 ERROR (Thread-14) [homeassistant.components.device_tracker.mikrotik_netwatch] Can't define 192.168.1.208 IP mac address, neither ip-scan, nor DHCP Server - Leases has this info.
2018-04-19 22:58:58 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/__init__.py", line 744, in async_device_tracker_scan
host_name = yield from scanner.async_get_device_name(mac)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 110, in get_device_name
str(self._name_from_leases(mac)))
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in _name_from_leases
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in <genexpr>
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
KeyError: 'mac-address'
2018-04-19 22:59:00 ERROR (Thread-21) [homeassistant.components.light.yeelight] Failed to connect to bulb 192.168.0.190, yeelight_rgb_34ce0084e2ce: A socket error occurred when sending the command.
2018-04-19 22:59:09 ERROR (Thread-20) [homeassistant.components.device_tracker.mikrotik_netwatch] Can't define 192.168.1.208 IP mac address, neither ip-scan, nor DHCP Server - Leases has this info.
2018-04-19 22:59:09 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/__init__.py", line 744, in async_device_tracker_scan
host_name = yield from scanner.async_get_device_name(mac)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 110, in get_device_name
str(self._name_from_leases(mac)))
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in _name_from_leases
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in <genexpr>
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
KeyError: 'mac-address'
2018-04-19 22:59:20 ERROR (Thread-8) [homeassistant.components.device_tracker.mikrotik_netwatch] Can't define 192.168.1.208 IP mac address, neither ip-scan, nor DHCP Server - Leases has this info.
2018-04-19 22:59:20 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/__init__.py", line 744, in async_device_tracker_scan
host_name = yield from scanner.async_get_device_name(mac)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 110, in get_device_name
str(self._name_from_leases(mac)))
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in _name_from_leases
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in <genexpr>
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
KeyError: 'mac-address'
2018-04-19 22:59:31 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/__init__.py", line 744, in async_device_tracker_scan
host_name = yield from scanner.async_get_device_name(mac)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 110, in get_device_name
str(self._name_from_leases(mac)))
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in _name_from_leases
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in <genexpr>
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
KeyError: 'mac-address'
2018-04-19 22:59:42 ERROR (Thread-18) [homeassistant.components.device_tracker.mikrotik_netwatch] Can't define 192.168.1.208 IP mac address, neither ip-scan, nor DHCP Server - Leases has this info.
2018-04-19 22:59:42 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/__init__.py", line 744, in async_device_tracker_scan
host_name = yield from scanner.async_get_device_name(mac)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 110, in get_device_name
str(self._name_from_leases(mac)))
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in _name_from_leases
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in <genexpr>
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
KeyError: 'mac-address'
2018-04-19 22:59:53 ERROR (Thread-9) [homeassistant.components.device_tracker.mikrotik_netwatch] Can't define 192.168.1.208 IP mac address, neither ip-scan, nor DHCP Server - Leases has this info.
2018-04-19 22:59:53 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/__init__.py", line 744, in async_device_tracker_scan
host_name = yield from scanner.async_get_device_name(mac)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 110, in get_device_name
str(self._name_from_leases(mac)))
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in _name_from_leases
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in <genexpr>
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
KeyError: 'mac-address'
2018-04-19 23:00:04 ERROR (Thread-20) [homeassistant.components.device_tracker.mikrotik_netwatch] Can't define 192.168.1.208 IP mac address, neither ip-scan, nor DHCP Server - Leases has this info.
2018-04-19 23:00:04 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/__init__.py", line 744, in async_device_tracker_scan
host_name = yield from scanner.async_get_device_name(mac)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 110, in get_device_name
str(self._name_from_leases(mac)))
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in _name_from_leases
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in <genexpr>
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
KeyError: 'mac-address'
2018-04-19 23:00:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/__init__.py", line 744, in async_device_tracker_scan
host_name = yield from scanner.async_get_device_name(mac)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 110, in get_device_name
str(self._name_from_leases(mac)))
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in _name_from_leases
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in <genexpr>
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
KeyError: 'mac-address'
2018-04-19 23:00:25 ERROR (Thread-9) [homeassistant.components.device_tracker.mikrotik_netwatch] Can't define 192.168.1.208 IP mac address, neither ip-scan, nor DHCP Server - Leases has this info.
2018-04-19 23:00:25 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/__init__.py", line 744, in async_device_tracker_scan
host_name = yield from scanner.async_get_device_name(mac)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 110, in get_device_name
str(self._name_from_leases(mac)))
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in _name_from_leases
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/mikrotik_netwatch.py", line 123, in <genexpr>
lease = next((rec for rec in self.leases if rec['mac-address'] == mac), None)
KeyError: 'mac-address'
2018-12-25 00:11:52 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform mikrotik_netwatch
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/__init__.py", line 176, in async_setup_platform
platform.get_scanner, hass, {DOMAIN: p_config})
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/device_tracker/mikrotik_netwatch.py", line 37, in get_scanner
scanner = MikrotikDeviceScanner(config[DOMAIN])
File "/config/custom_components/device_tracker/mikrotik_netwatch.py", line 58, in __init__
from routeros_api import RouterOsApiPool
ModuleNotFoundError: No module named 'routeros_api'