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

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

[求助] homebirge接入新版HASS

[复制链接]

1

主题

159

帖子

555

积分

高级会员

Rank: 4

积分
555
金钱
396
HASS币
0
发表于 2018-10-23 22:34:57 | 显示全部楼层 |阅读模式
本帖最后由 donexie 于 2018-10-23 22:37 编辑

怎么有授权问题,请问用户、密码怎么配置?
[23/10/2018, 10:11:48 PM] [HomeAssistant] Fetching HomeAssistant devices.
[23/10/2018, 10:11:49 PM] [HomeAssistant] Failed getting devices: Error: You are not authenticated. Retrying...


{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30(树莓派MAC地址)",
"port": 51826,
"pin": "123-45-678(自行设定)"
},
"platforms": [
{
"platform": "HomeAssistant",
"name": "HomeAssistant",
"host": "http://172.0.0.1:8123",
"password": "raspberry",
"supported_types": ["fan", "binary_sensor", "sensor", "garage_door", "input_boolean", "light", "lock", "media_player", "rollershutter", "scene", "switch"]
}
]
}
回复

使用道具 举报

1

主题

159

帖子

555

积分

高级会员

Rank: 4

积分
555
金钱
396
HASS币
0
 楼主| 发表于 2018-10-23 23:14:24 | 显示全部楼层
没用。
homeassistant:
  # add this part
  auth_providers:
   - type: homeassistant
   # uncomment this to enable backwards compatible API password support
   - type: legacy_api_password
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-12-25 12:54 , Processed in 0.164913 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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