『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 4620|回复: 1

[技术探讨] openwrt-ubus的tracker

[复制链接]

66

主题

779

帖子

4407

积分

论坛元老

Rank: 8Rank: 8

积分
4407
金钱
3623
HASS币
20
发表于 2018-2-24 14:14:25 | 显示全部楼层 |阅读模式
安装官方教程,最后显示这个错误,不知道该怎么调试了。。。可能是什么方面的问题?
2018-02-24 09:39:48 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform ubus
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/init.py", line 158, 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/ubus.py", line 42, in get_scanner
scanner = DnsmasqUbusDeviceScanner(config[DOMAIN])
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/ubus.py", line 141, in init
super(DnsmasqUbusDeviceScanner, self).init(config)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/ubus.py", line 84, in init
self.password)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/ubus.py", line 226, in _get_session_id
return res["ubus_rpc_session"]
TypeError: 'NoneType' object is not subscriptable
回复

使用道具 举报

66

主题

779

帖子

4407

积分

论坛元老

Rank: 8Rank: 8

积分
4407
金钱
3623
HASS币
20
 楼主| 发表于 2018-3-5 09:11:03 | 显示全部楼层
搞不定啊搞不定。。。。。。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-23 11:50 , Processed in 0.046241 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表