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

 找回密码
 立即注册
楼主: jedmeng

控客设备插件2.0版发布

  [复制链接]

0

主题

15

帖子

90

积分

注册会员

Rank: 2

积分
90
金钱
75
HASS币
0
发表于 2018-11-25 22:50:06 | 显示全部楼层
好像安装不了,好像什么版本不对,请问怎么解决

2018-11-25 22:42:55 WARNING (MainThread) [homeassistant.loader] You are using a custom component for switch.konke which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.loader] Loaded map from homeassistant.components.map
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.setup] Setting up map
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.setup] Setup of domain map took 0.0 seconds.
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.yr
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.2 seconds.
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.setup] Setting up script
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.0 seconds.
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.setup] Setting up conversation
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.0 seconds.
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.setup] Setting up config
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.setup] Setting up cloud
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.0 seconds.
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.setup] Setting up logbook
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.0 seconds.
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.setup] Setting up automation
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds.
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.setup] Setting up tts
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.setup] Setting up switch
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.loader] Loaded config.entity_registry from homeassistant.components.config.entity_registry
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.loader] Loaded config.auth from homeassistant.components.config.auth
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.loader] Loaded config.group from homeassistant.components.config.group
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.loader] Loaded config.hassbian from homeassistant.components.config.hassbian
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.loader] Loaded config.script from homeassistant.components.config.script
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.loader] Loaded config.core from homeassistant.components.config.core
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.loader] Loaded config.config_entries from homeassistant.components.config.config_entries
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.loader] Loaded config.customize from homeassistant.components.config.customize
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.loader] Loaded config.automation from homeassistant.components.config.automation
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.loader] Loaded config.device_registry from homeassistant.components.config.device_registry
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.loader] Loaded config.auth_provider_homeassistant from homeassistant.components.config.auth_provider_homeassistant
2018-11-25 22:42:55 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.1 seconds.
2018-11-25 22:42:55 INFO (SyncWorker_24) [homeassistant.util.package] Attempting install of pykonkeio>=2.1.7
2018-11-25 22:42:57 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 2.2 seconds.
2018-11-25 22:42:57 ERROR (SyncWorker_24) [homeassistant.util.package] Unable to install package pykonkeio>=2.1.7: Could not find a version that satisfies the requirement pykonkeio>=2.1.7 (from versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6)
No matching distribution found for pykonkeio>=2.1.7
2018-11-25 22:42:57 ERROR (MainThread) [homeassistant.requirements] Not initializing switch.konke because could not install requirement pykonkeio>=2.1.7
2018-11-25 22:42:57 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.konke: Could not install all requirements.
回复

使用道具 举报

8

主题

110

帖子

957

积分

论坛技术达人

积分
957
金钱
832
HASS币
40
 楼主| 发表于 2018-11-26 12:19:43 | 显示全部楼层
ufo1cn 发表于 2018-11-25 22:50
好像安装不了,好像什么版本不对,请问怎么解决

2018-11-25 22:42:55 WARNING (MainThread) [homeassistan ...

pip换过源没?如果不是官方源的话换先回去试试
回复

使用道具 举报

0

主题

15

帖子

90

积分

注册会员

Rank: 2

积分
90
金钱
75
HASS币
0
发表于 2018-11-26 21:00:13 | 显示全部楼层
jedmeng 发表于 2018-11-26 12:19
pip换过源没?如果不是官方源的话换先回去试试

谢谢楼主,换回官方源pypi.python.org可以了
回复

使用道具 举报

0

主题

20

帖子

82

积分

注册会员

Rank: 2

积分
82
金钱
62
HASS币
0
发表于 2018-11-26 21:45:59 | 显示全部楼层
2018-11-26 21:43:39 ERROR (Thread-15) [homeassistant.util.package] Unable to install package pykonkeio>=2.1.7: Failed building wheel for pycryptodome
python-jose-cryptodome 1.3.2 has requirement pycryptodome<3.4.0,>=3.3.1, but you'll have pycryptodome 3.7.1 which is incompatible.
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ptr8s0f5/pycryptodome/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-onu20zrv/install-record.txt --single-version-externally-managed --prefix  --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-ptr8s0f5/pycryptodome/
2018-11-26 21:43:39 ERROR (MainThread) [homeassistant.requirements] Not initializing switch.konke because could not install requirement pykonkeio>=2.1.7

大神,求助
回复

使用道具 举报

11

主题

177

帖子

764

积分

高级会员

Rank: 4

积分
764
金钱
586
HASS币
0
发表于 2018-11-27 10:54:36 | 显示全部楼层
出错求解,但是可以正常控制
QQ截图20181127105340.png
回复

使用道具 举报

8

主题

110

帖子

957

积分

论坛技术达人

积分
957
金钱
832
HASS币
40
 楼主| 发表于 2018-11-27 21:04:21 | 显示全部楼层
dsyulgz 发表于 2018-11-27 10:54
出错求解,但是可以正常控制

看这报错应该是配置文件写错了吧,检查一下/config/configuration.yaml第87行第1个字符,把tab改成空格
回复

使用道具 举报

4

主题

250

帖子

1293

积分

金牌会员

Rank: 6Rank: 6

积分
1293
金钱
1043
HASS币
0
发表于 2018-11-27 21:11:40 | 显示全部楼层
zhouxineric 发表于 2018-11-26 21:45
2018-11-26 21:43:39 ERROR (Thread-15) [homeassistant.util.package] Unable to install package pykonke ...

我也是 要降级 等楼主修复
回复

使用道具 举报

4

主题

250

帖子

1293

积分

金牌会员

Rank: 6Rank: 6

积分
1293
金钱
1043
HASS币
0
发表于 2018-11-28 09:52:44 | 显示全部楼层
zhouxineric 发表于 2018-11-26 21:45
2018-11-26 21:43:39 ERROR (Thread-15) [homeassistant.util.package] Unable to install package pykonke ...

google了半天 总算解决了 进容器安装
sudo docker exec -i -t homeassistant /bin/bash
pip3 install pykonkeio

希望对你有用
回复

使用道具 举报

4

主题

58

帖子

329

积分

中级会员

Rank: 3Rank: 3

积分
329
金钱
271
HASS币
0
发表于 2018-11-28 14:10:13 | 显示全部楼层
本帖最后由 泡面TM 于 2018-11-28 15:32 编辑

如图,配置完成后,开关显示不可用,是我少了那一步操作么环境:
OS:Windows 2012 R2
PY:python3.7.1
HASS:0.82.1

我感觉我脑子要坏了
TIM截图20181128153152.png
TIM截图20181128152436.png
TIM截图20181128140757.png






回复

使用道具 举报

0

主题

20

帖子

82

积分

注册会员

Rank: 2

积分
82
金钱
62
HASS币
0
发表于 2018-11-28 22:15:41 | 显示全部楼层
chengka3463 发表于 2018-11-28 09:52
google了半天 总算解决了 进容器安装
sudo docker exec -i -t homeassistant /bin/bash
pip3 install pyk ...

不折腾了,我还是用猫精吧
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-23 13:40 , Processed in 0.190773 second(s), 32 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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