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

 找回密码
 立即注册
查看: 5278|回复: 8

[技术探讨] 请问有0.68 homekit插件的使用教程?

[复制链接]

9

主题

31

帖子

167

积分

注册会员

Rank: 2

积分
167
金钱
136
HASS币
0
发表于 2018-5-3 14:20:51 来自手机 | 显示全部楼层 |阅读模式
看到说homekit可以顶替homebridge,但是不太会安装,有使用教程吗?
回复

使用道具 举报

123

主题

4630

帖子

1万

积分

管理员

囧死

Rank: 9Rank: 9Rank: 9

积分
16113
金钱
11398
HASS币
45
发表于 2018-5-3 14:29:45 | 显示全部楼层
一句homekit: 搞定
回复

使用道具 举报

9

主题

31

帖子

167

积分

注册会员

Rank: 2

积分
167
金钱
136
HASS币
0
 楼主| 发表于 2018-5-3 16:19:24 来自手机 | 显示全部楼层
不用安装?
回复

使用道具 举报

0

主题

25

帖子

121

积分

注册会员

Rank: 2

积分
121
金钱
96
HASS币
0
发表于 2018-5-3 20:55:39 | 显示全部楼层
试了出现报错 无效配置
回复

使用道具 举报

63

主题

764

帖子

4341

积分

论坛元老

Rank: 8Rank: 8

积分
4341
金钱
3572
HASS币
20
发表于 2018-5-4 14:18:16 | 显示全部楼层
About

Home Assistant
0.68.1

Path to configuration.yaml: /home/homeassistant/.homeassistant

Developed by a bunch of awesome people.

Published under the Apache 2.0 license
Source: server — frontend-ui

Built using Python 3, Polymer 2.6.0, Icons by Google and MaterialDesignIcons.com.

Frontend JavaScript version: es5
Failed to connect to bulb 192.168.0.190, yeelight_rgb_34ce0084e2ce: A socket error occurred when sending the command.
下午2:17 components/light/yeelight.py (ERROR)
Not a valid device. Check the mac adress and update the firmware.
下午2:17 components/xiaomi_aqara.py (ERROR)
Got error element in data {"error":"No device"}
下午2:17 components/xiaomi_aqara.py (ERROR)
Got error element in data {"error":"No device"}
下午2:17 components/xiaomi_aqara.py (ERROR)
Setup failed for homekit: Could not install all requirements.
下午2:17 setup.py (ERROR)
Not initializing homekit because could not install requirement HAP-python==1.1.9
下午2:17 requirements.py (ERROR)
Unable to install package HAP-python==1.1.9: Command "/srv/homeassistant/homeassistant_venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-8t36j1_7/ed25519/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-0z1s8yhs/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/homeassistant_venv/include/site/python3.5/ed25519" failed with error code 1 in /tmp/pip-install-8t36j1_7/ed25519/
下午2:17 util/package.py (ERROR)
Press the button to load the full Home Assistant log.

2018-05-04 14:17:08 ERROR (Thread-20) [homeassistant.util.package] Unable to install package HAP-python==1.1.9: Command "/srv/homeassistant/homeassistant_venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-8t36j1_7/ed25519/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-0z1s8yhs/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/homeassistant_venv/include/site/python3.5/ed25519" failed with error code 1 in /tmp/pip-install-8t36j1_7/ed25519/
2018-05-04 14:17:08 ERROR (MainThread) [homeassistant.requirements] Not initializing homekit because could not install requirement HAP-python==1.1.9
2018-05-04 14:17:08 ERROR (MainThread) [homeassistant.setup] Setup failed for homekit: Could not install all requirements.
回复

使用道具 举报

26

主题

176

帖子

726

积分

高级会员

Rank: 4

积分
726
金钱
550
HASS币
0
发表于 2018-5-4 17:25:55 | 显示全部楼层

HAP-python 安装失败,手工安装下下吧
回复

使用道具 举报

25

主题

688

帖子

3630

积分

论坛元老

Rank: 8Rank: 8

积分
3630
金钱
2937
HASS币
219

活跃会员

发表于 2018-5-4 19:35:11 | 显示全部楼层
试试
apt install libgmp-dev libmpfr-dev libmpc-dev libffi-dev build-essential python3-pip python3-dev
pip3 install --user homekit
回复

使用道具 举报

63

主题

764

帖子

4341

积分

论坛元老

Rank: 8Rank: 8

积分
4341
金钱
3572
HASS币
20
发表于 2018-5-5 09:07:52 | 显示全部楼层
hdcola 发表于 2018-5-4 17:25
HAP-python 安装失败,手工安装下下吧

嗯,搞定了
pip install HAP-python
回复

使用道具 举报

0

主题

35

帖子

212

积分

中级会员

Rank: 3Rank: 3

积分
212
金钱
177
HASS币
0
发表于 2018-5-6 11:37:52 | 显示全部楼层
guitengyue 发表于 2018-5-5 09:07
嗯,搞定了
pip install HAP-python

大神,这个要怎么安装,菜鸟一个啊
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-20 17:52 , Processed in 0.064160 second(s), 31 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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