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

 找回密码
 立即注册
查看: 3669|回复: 3

[求助] 请教HAdashboard连接问题

[复制链接]

1

主题

8

帖子

57

积分

注册会员

Rank: 2

积分
57
金钱
49
HASS币
0
发表于 2019-4-4 10:35:36 | 显示全部楼层 |阅读模式
HADashboard反复断连
2019-04-04 10:33:09.254309 INFO AppDaemon: HASS: Connected to Home Assistant 0.90.2
2019-04-04 10:33:09.254747 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2019-04-04 10:33:14.259691 INFO AppDaemon: HASS: Connected to Home Assistant 0.90.2
2019-04-04 10:33:14.260112 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2019-04-04 10:33:19.264955 INFO AppDaemon: HASS: Connected to Home Assistant 0.90.2
2019-04-04 10:33:19.265420 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2019-04-04 10:33:24.270349 INFO AppDaemon: HASS: Connected to Home Assistant 0.90.2
2019-04-04 10:33:24.270807 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2019-04-04 10:33:29.275010 INFO AppDaemon: HASS: Connected to Home Assistant 0.90.2
2019-04-04 10:33:29.275409 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds


HA 那边认证是成功的
2019-04-04 10:33:19 INFO (MainThread) [homeassistant.components.http.view] Serving /api/websocket to 127.0.0.1 (auth: True)
2019-04-04 10:33:24 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection.140396876108240] Disconnected: Did not receive auth message within 10 seconds
2019-04-04 10:33:24 INFO (MainThread) [homeassistant.components.http.view] Serving /api/websocket to 127.0.0.1 (auth: True)
2019-04-04 10:33:29 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection.140396876111096] Disconnected: Did not receive auth message within 10 seconds
2019-04-04 10:33:29 INFO (MainThread) [homeassistant.components.http.view] Serving /api/websocket to 127.0.0.1 (auth: True)
2019-04-04 10:33:34 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection.140396875994896] Disconnected: Did not receive auth message within 10 seconds
2019-04-04 10:33:34 INFO (MainThread) [homeassistant.components.http.view] Serving /api/websocket to 127.0.0.1 (auth: True)
2019-04-04 10:33:39 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection.140396875993608] Disconnected: Did not receive auth message within 10 seconds
2019-04-04 10:33:39 INFO (MainThread) [homeassistant.components.http.view] Serving /api/websocket to 127.0.0.1 (auth: True)
2019-04-04 10:33:44 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection.140396876215352] Disconnected:


appdaemon配置文件
appdaemon:
  threads: 10
  plugins:
    HASS:
      type: hass
      ha_url: http://0.0.0.0:8123                               #ha访问地址
      api_password: abc54321

configuration.yaml配置文件
http:
  api_password: abc54321
  trusted_networks:
  - 127.0.0.1

请教下为什么会一直断连?
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
发表于 2019-4-4 11:32:57 | 显示全部楼层
Nero
回复

使用道具 举报

1

主题

8

帖子

57

积分

注册会员

Rank: 2

积分
57
金钱
49
HASS币
0
 楼主| 发表于 2019-4-4 11:57:26 | 显示全部楼层
neroxps 发表于 2019-4-4 11:32
https://www.home-assistant.io/components/http/#api_password

好的,谢谢,我了解下。
回复

使用道具 举报

42

主题

523

帖子

2517

积分

金牌会员

Rank: 6Rank: 6

积分
2517
金钱
1989
HASS币
30
发表于 2019-8-17 21:07:44 | 显示全部楼层
atlantis007 发表于 2019-4-4 11:57
好的,谢谢,我了解下。

解决了吗?
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-24 15:29 , Processed in 0.090172 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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