HAVCS还能用吗?接入小度没有新设备出来。
本帖最后由 wyzxzx 于 2023-10-4 19:41 编辑X86虚拟机 HASS通过HTTP自建技能研究了几天,什么都弄好了,SSL, 穿透,授权也成功了。就是无法发现新设备。下面是日志。始终401错误,不知道怎么回事
2023-10-04 19:21:26.624 WARNING (SyncWorker_2) We found a custom integration xiaomi_miot which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-10-04 19:21:26.630 WARNING (SyncWorker_2) We found a custom integration ha_file_explorer which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-10-04 19:21:26.632 WARNING (SyncWorker_2) We found a custom integration havcs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-10-04 19:21:26.635 WARNING (SyncWorker_2) We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-10-04 19:21:26.638 WARNING (SyncWorker_2) We found a custom integration bemfa which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-10-04 19:21:54.419 WARNING (MainThread) Data in your config entry is going to override your configuration.yaml: {'platform': ['dueros'], 'http': {'clients': {'dueros': 'https://xiaodu-dbp.baidu.com'}, 'ha_url': 'https://******'}, 'setting': {}, 'device_config': 'ui'}
2023-10-04 19:21:54.462 INFO (MainThread) havcs enable "http mode"
2023-10-04 19:21:54.466 DEBUG (MainThread) havcs only run in http mode, skip mqtt initialization
2023-10-04 19:21:54.467 DEBUG (MainThread) ha_url = https://******, base_url = http://172.168.0.21:8123
2023-10-04 19:21:54.474 INFO (MainThread) havcs initialization finished.
2023-10-04 19:21:54.479 INFO (MainThread) loading settings from file
2023-10-04 19:21:54.742 DEBUG (MainThread) load new platform entry set()
2023-10-04 19:21:54.744 DEBUG (MainThread) remove old platform entry set()
2023-10-04 19:21:54.752 ERROR (MainThread) Unable to import havcs.dueros, cannot import name 'AsyncTrackStates' from 'homeassistant.helpers.state' (/usr/src/homeassistant/homeassistant/helpers/state.py)
2023-10-04 19:21:54.764 INFO (MainThread) loading device info from file
2023-10-04 19:21:54.764 DEBUG (MainThread) check accessibility from local, base_url = https://******
2023-10-04 19:21:58.936 DEBUG (MainThread) aouth service is running: url = https://******/havcs/auth/authorize, status = 401
2023-10-04 19:25:38.669 INFO (MainThread) loading device info from file
2023-10-04 19:27:30.813 INFO (MainThread) loading device info from file
havcs:
platform:
- dueros
http:
clients:
duerosxxx: 123456
device_config: ui
logger:
default: error
logs:
custom_components.havcs: debug
自己顶一下。来个大神 Unable to import havcs.dueros, cannot import name 'AsyncTrackStates' from 'homeassistant.helpers.state' 这个代码注释掉 czou 发表于 2023-11-1 16:43
Unable to import havcs.dueros, cannot import name 'AsyncTrackStates' from 'homeassistant.helpers.sta ...
一样问题 这个要注释掉的代码在那个文件下的? 找了很久没找到了。:dizzy: https://bbs.hassbian.com/thread-15591-9-1.html 找到解决方式了,下载附件helper.py 重新覆盖 havc下面同名文件 ioye 发表于 2023-11-2 15:19
一样问题 这个要注释掉的代码在那个文件下的? 找了很久没找到了。 ...
注释掉就没有状态值,应该不行的
页:
[1]