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

 找回密码
 立即注册
查看: 4202|回复: 0

[求助] 斐讯K3官改 device tracker 无法使用!

[复制链接]

5

主题

89

帖子

461

积分

中级会员

Rank: 3Rank: 3

积分
461
金钱
372
HASS币
0
发表于 2019-1-4 13:57:45 | 显示全部楼层 |阅读模式
我现在的斐讯K3路由器系统是官改1.9,并在路由器上装了Home Assistant是0.84.6 ,用的L大 斐讯K3官Root【更新】【设备追踪】【device tracker】插件 ,运行不起来,有报错帮分析下怎么处理,谢谢!

Error setting up platform phicomm_k3
Traceback (most recent call last):
  File "/opt/lib/python3.7/site-packages/homeassistant/components/device_tracker/__init__.py", line 176, in async_setup_platform
    platform.get_scanner, hass, {DOMAIN: p_config})
  File "/thread.py", line 57, in run
  File "/tmp/share/sda1/root/.homeassistant/custom_components/device_tracker/phicomm_k3.py", line 56, in get_scanner
    scanner = PhicommDeviceScanner(config[DOMAIN])
  File "/tmp/share/sda1/root/.homeassistant/custom_components/device_tracker/phicomm_k3.py", line 100, in __init__
    data = self.connection.get_result()
  File "/tmp/share/sda1/root/.homeassistant/custom_components/device_tracker/phicomm_k3.py", line 172, in get_result
    from pexpect import pxssh, exceptions
  File "/tmp/share/sda1/root/.homeassistant/deps/lib/python3.7/site-packages/pexpect/__init__.py", line 75, in <module>
    from .pty_spawn import spawn, spawnu
  File "/tmp/share/sda1/root/.homeassistant/deps/lib/python3.7/site-packages/pexpect/pty_spawn.py", line 15, in <module>
    from .spawnbase import SpawnBase
  File "/tmp/share/sda1/root/.homeassistant/deps/lib/python3.7/site-packages/pexpect/spawnbase.py", line 218
    def expect(self, pattern, timeout=-1, searchwindowsize=-1, async=False):
                                                                   ^
SyntaxError: invalid syntax


回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-24 05:24 , Processed in 0.071786 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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