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

 找回密码
 立即注册
查看: 3624|回复: 6

[求助] win10 下安装鸿雁排插 不成功

[复制链接]

14

主题

89

帖子

638

积分

高级会员

Rank: 4

积分
638
金钱
549
HASS币
0
发表于 2018-7-21 00:20:46 | 显示全部楼层 |阅读模式
win10 下安装鸿雁排插 不成功
switch:  - platform: broadlink    host: IP_ADDRESS    mac: 'MAC_ADDRESS'    type: mp1    friendly_name: 'MP1'    slots:      # friendly name of slots - optional      # if not set, slot name will be switch's friendly_name + 'slot {slot_index}'. e.g 'MP1 slot 1'      slot_1: 'TV slot'      slot_2: 'Xbox slot'      slot_3: 'Fan slot'      slot_4: 'Speaker slot'IHC8340B
控件用的是C大的
https://bbs.hassbian.com/thread-584-1-1.html
网页没有报错......


wndh8.com
回复

使用道具 举报

14

主题

89

帖子

638

积分

高级会员

Rank: 4

积分
638
金钱
549
HASS币
0
 楼主| 发表于 2018-7-21 00:29:19 | 显示全部楼层
2018-07-21 00:26:59 WARNING (MainThread) [homeassistant.components.http] You have been advised to set http.api_password.
2018-07-21 00:27:00 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=3 from 2018-07-20 15:53:24.530443)
2018-07-21 00:27:00 WARNING (MainThread) [homeassistant.loader] You are using a custom component for switch 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-07-21 00:27:00 ERROR (MainThread) [homeassistant.setup] Error during setup of component switch
Traceback (most recent call last):
  File "c:\python37\lib\site-packages\homeassistant\setup.py", line 146, in _async_setup_component
    component.setup, hass, processed_config)  # type: ignore
AttributeError: module 'custom_components.switch' has no attribute 'setup'
2018-07-21 00:27:04 ERROR (SyncWorker_5) [homeassistant.util.package] Unable to install package netdisco==1.5.0: Command "c:\python37\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-v0b2mh2v\\netifaces\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\ADMINI~1\AppData\Local\Temp\pip-record-e3zktc0r\install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-v0b2mh2v\netifaces\
2018-07-21 00:27:04 ERROR (MainThread) [homeassistant.requirements] Not initializing discovery because could not install requirement netdisco==1.5.0
2018-07-21 00:27:04 ERROR (MainThread) [homeassistant.setup] Setup failed for discovery: Could not install all requirements.
2018-07-21 00:27:10 WARNING (MainThread) [homeassistant.setup] Setup of config is taking over 10 seconds.
2018-07-21 00:27:20 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package warrant==0.6.1: Command "c:\python37\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-t3r2vzap\\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 C:\Users\ADMINI~1\AppData\Local\Temp\pip-record-agh3bj_z\install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-t3r2vzap\pycryptodome\
2018-07-21 00:27:20 ERROR (MainThread) [homeassistant.requirements] Not initializing cloud because could not install requirement warrant==0.6.1
2018-07-21 00:27:20 ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: Could not install all requirements.
wndh8.com
回复

使用道具 举报

14

主题

89

帖子

638

积分

高级会员

Rank: 4

积分
638
金钱
549
HASS币
0
 楼主| 发表于 2018-7-21 00:42:45 | 显示全部楼层
我把C大的 插件删了  网页能打开

invalid config

discovery
cloud         (上面蓝色按钮)


switch.broadlink    黑色的字




------------------------------------------------
wndh8.com
回复

使用道具 举报

14

主题

89

帖子

638

积分

高级会员

Rank: 4

积分
638
金钱
549
HASS币
0
 楼主| 发表于 2018-7-21 20:18:23 | 显示全部楼层

我装了  buildtools   还是报错啊。。。。  14   的 111MB
net framework 4.7    3.5没装
wndh8.com
回复

使用道具 举报

12

主题

260

帖子

1004

积分

金牌会员

Rank: 6Rank: 6

积分
1004
金钱
744
HASS币
0
发表于 2018-7-21 23:08:05 | 显示全部楼层
这个页面搜 == 就知道什么没装了
回复

使用道具 举报

14

主题

89

帖子

638

积分

高级会员

Rank: 4

积分
638
金钱
549
HASS币
0
 楼主| 发表于 2018-7-23 05:11:52 | 显示全部楼层
tang5275 发表于 2018-7-21 23:08
这个页面搜 == 就知道什么没装了

兄弟怎么搜  不懂啊  能具体吗 谢谢
wndh8.com
回复

使用道具 举报

12

主题

260

帖子

1004

积分

金牌会员

Rank: 6Rank: 6

积分
1004
金钱
744
HASS币
0
发表于 2018-7-23 15:04:09 | 显示全部楼层
lty365 发表于 2018-7-23 05:11
兄弟怎么搜  不懂啊  能具体吗 谢谢

报错信息啊,就是你贴出来的报错,搜==啊
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-28 01:41 , Processed in 0.053753 second(s), 28 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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