2021-08-21 18:47:22 WARNING (SyncWorker_1) [homeassistant.loader] 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
2021-08-21 18:47:22 WARNING (SyncWorker_0) [homeassistant.loader] 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
2021-08-21 18:47:28 INFO (MainThread) [custom_components.havcs] [init] havcs enable "http mode"
2021-08-21 18:47:28 DEBUG (MainThread) [custom_components.havcs] [init] havcs only run in http mode, skip mqtt initialization
2021-08-21 18:47:28 DEBUG (MainThread) [custom_components.havcs] [init] ha_url = https://localhost:8123, base_url = https://localhost:8123
2021-08-21 18:47:28 INFO (MainThread) [custom_components.havcs] [init] havcs initialization finished.
2021-08-21 18:47:32 INFO (MainThread) [custom_components.havcs] loading settings from file
2021-08-21 18:47:32 DEBUG (MainThread) [custom_components.havcs] [post-task] load new platform entry set()
2021-08-21 18:47:32 DEBUG (MainThread) [custom_components.havcs] [post-task] remove old platform entry set()
2021-08-21 18:47:32 INFO (MainThread) [custom_components.havcs] [post-task] import havcs.dueros
2021-08-21 18:47:32 INFO (MainThread) [custom_components.havcs] loading device info from file
2021-08-21 18:47:32 DEBUG (MainThread) [custom_components.havcs.http] [http] check accessibility from local, base_url = https://localhost:8123
2021-08-21 18:47:32 INFO (MainThread) [custom_components.havcs] [service] ------------dueros 平台加载设备信息------------
[{'device_id': 'havcs.switch01', 'entity_id': ['switch.cha_zuo'], 'type': 'switch', 'name': 'xiaomi', 'zone': 'Bedroom', 'properties': [{'entity_id': 'switch.cha_zuo', 'attribute': 'power_state'}], 'actions': ['turn_on', 'turn_off']}]
2021-08-21 18:47:32 INFO (MainThread) [custom_components.havcs] [service] ------------dueros 平台加载设备信息------------
2021-08-21 18:47:32 DEBUG (MainThread) [custom_components.havcs.http] [http][check] aouth service is running: url = https://localhost:8123/havcs/auth/authorize, status = 401
2021-08-21 18:47:35 ERROR (MainThread) [custom_components.hacs] tellerbop/havistapool - Repository is archived.
再来个配置
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
http:
ssl_certificate: /home/pi/ssl_keys/xx.xxx.xxx.pem
ssl_key: /home/pi/ssl_keys/xx.xxx.xxx.key
login_attempts_threshold: 10
ip_ban_enabled: true
use_x_forwarded_for: true
trusted_proxies:
- 117.185.18.0/24
- 127.0.0.1
- ::1
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
homeassistant:
name: xx.xxx.xxx
latitude: xxxxx
longitude: xxxx
elevation: 315
unit_system: metric
currency: CNY
time_zone: "Asia/Shanghai"
external_url: "https://xx.xxx.xxx:5001"