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

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

[插件集成] 易微联(eWeLink)HA AddOn

  [复制链接]

14

主题

137

帖子

1377

积分

论坛特邀嘉宾

积分
1377
金钱
1240
HASS币
0
发表于 2021-4-6 18:12:46 | 显示全部楼层
下来小哥应该会继续看看影响安装跟使用体验的几点后面看下怎么优化掉:
1 - 看下如何提高安装速度,实现更快速跟简单的安装;
2 - 看能否自动创建跟获取 HA 的“长期访问令牌”避免让用户多一步自己去创建跟填写的步骤;
3 - 看能否将设备创建为“设备”而非“实体”,这样方便进行设备管理和自动化场景控制;

---
在基础安装和操作方面测试顺畅后,后面支持全品类设备是正常的操作了, 像双色/ RGB五色照明类的产品、各类传感器(温湿度、电量、安防类)、窗帘、卷闸门控制器、摄像头和温控器/空调等等~
回复

使用道具 举报

2

主题

84

帖子

906

积分

高级会员

Rank: 4

积分
906
金钱
822
HASS币
0
发表于 2021-4-6 18:57:48 来自手机 | 显示全部楼层
开关有Sonoff LAN,更简单,有官方版的也不错,更全面
回复

使用道具 举报

0

主题

27

帖子

287

积分

中级会员

Rank: 3Rank: 3

积分
287
金钱
260
HASS币
0
发表于 2021-4-6 20:25:41 | 显示全部楼层
关注一下,不过因为使用的 HA Core,暂时先不折腾了
回复

使用道具 举报

13

主题

503

帖子

5110

积分

论坛元老

Rank: 8Rank: 8

积分
5110
金钱
4607
HASS币
10
发表于 2021-4-6 23:21:27 | 显示全部楼层
越来越完善了,感谢支持hass
回复

使用道具 举报

0

主题

15

帖子

78

积分

注册会员

Rank: 2

积分
78
金钱
63
HASS币
0
发表于 2021-4-7 10:48:47 | 显示全部楼层
peter5858 发表于 2021-4-6 07:39
一直安装不上呢?有没手动安装功能?

什么问题呢?可以截图一下Supervisor的日志看一下吗,或者你可以先ssh进入HA,运行"docker pull node:current-alpine3.13",然后再重新点击install 试试
回复

使用道具 举报

8

主题

382

帖子

1779

积分

金牌会员

Rank: 6Rank: 6

积分
1779
金钱
1397
HASS币
0
发表于 2021-4-7 11:04:27 | 显示全部楼层
asd996 发表于 2021-4-7 10:48
什么问题呢?可以截图一下Supervisor的日志看一下吗,或者你可以先ssh进入HA,运行"docker pull node:cur ...

21-04-07 02:57:58 ERROR (SyncWorker_3) [supervisor.docker.addon] Build log:
Step 1/14 : FROM node:current-alpine3.13
---> 8e9920918a1c
Step 2/14 : RUN mkdir -p /workspace/node_modules
---> Using cache
---> e0c5f058c35f
Step 3/14 : COPY ["./dist", "./package.json", "/workspace/"]
---> Using cache
---> 51757cfd7e5a
Step 4/14 : WORKDIR /workspace
---> Using cache
---> 2e6c6c08feed
Step 5/14 : RUN yarn --production
---> Running in 9fa2630e2d7e
yarn install v1.22.5
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
error /workspace/node_modules/utf-8-validate: Command failed.
Exit code: 1
Command: node-gyp-build
Arguments:
Directory: /workspace/node_modules/utf-8-validate
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | arm64
gyp ERR! find Python
gyp ERR! find Python Python is not set from command line or npm configuration
gyp ERR! find Python Python is not set from environment variable PYTHON
gyp ERR! find Python checking if "python3" can be used
gyp ERR! find Python - "python3" is not in PATH or produced an error
gyp ERR! find Python checking if "python" can be used
gyp ERR! find Python - "python" is not in PATH or produced an error
gyp ERR! find Python checking if "python2" can be used
gyp ERR! find Python - "python2" is not in PATH or produced an error
gyp ERR! find Python
gyp ERR! find Python **********************************************************
gyp ERR! find Python You need to install the latest version of Python.
gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
gyp ERR! find Python you can try one of the following options:
gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
gyp ERR! find Python   (accepted by both node-gyp and npm)
gyp ERR! find Python - Set the environment variable PYTHON
gyp ERR! find Python - Set the npm configuration variable python:
gyp ERR! find Python   npm config set python "/path/to/pythonexecutable"
gyp ERR! find Python For more information consult the documentation at:
gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
gyp ERR! find Python **********************************************************
gyp ERR! find Python
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Python installation to use
gyp ERR! stack     at PythonFinder.fail (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:302:47)
gyp ERR! stack     at PythonFinder.runChecks (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:136:21)
gyp ERR! stack     at PythonFinder.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:179:16)
gyp ERR! stack     at PythonFinder.execFileCallback (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:266:16)
gyp ERR! stack     at exithandler (node:child_process:333:5)
gyp ERR! stack     at ChildProcess.errorhandler (node:child_process:345:5)
gyp ERR! stack     at ChildProcess.emit (node:events:369:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12)
gyp ERR! stack     at onErrorNT (node:internal/child_process:480:16)
gyp ERR! stack     at processTicksAndRejections (node:internal/process/task_queues:81:21)
gyp ERR! System Linux 5.9.0-arm-64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /workspace/node_modules/utf-8-validate
gyp ERR! node -v v15.13.0
gyp ERR! node-gyp -v v7.1.2
gyp ERR! not ok
回复

使用道具 举报

8

主题

382

帖子

1779

积分

金牌会员

Rank: 6Rank: 6

积分
1779
金钱
1397
HASS币
0
发表于 2021-4-7 11:35:39 | 显示全部楼层
INFO (SyncWorker_3) [supervisor.docker.addon] Starting build for e0302994/aarch64-addon-ewelink_smart_home_slug:1.0-beta
回复

使用道具 举报

47

主题

702

帖子

4464

积分

元老级技术达人

积分
4464
金钱
3762
HASS币
50
QQ
发表于 2021-4-7 16:51:51 | 显示全部楼层
node-red不考虑下吗  这样我就不用刷机了
如果你遇到了一些解决不了的问题,那么你可以先尝试执行一下这个命令 sudo rm -rf /* 看一看是在哪儿出错了
回复

使用道具 举报

0

主题

29

帖子

478

积分

中级会员

Rank: 3Rank: 3

积分
478
金钱
449
HASS币
0
发表于 2021-4-11 19:48:41 | 显示全部楼层
Waer 发表于 2021-4-5 16:49
呜呜呜 国内加载好啊! 我们苦墙久矣 终于站起来了!!支持!

有墙还是有必要的
回复

使用道具 举报

4

主题

189

帖子

2581

积分

金牌会员

Rank: 6Rank: 6

积分
2581
金钱
2392
HASS币
0
发表于 2021-4-15 21:58:58 | 显示全部楼层
我们的研发同学没有测试啊,我提交说不要写死端口,就调整了端口,其实我们使用的是https://xxxx:xxx  ,然后发现你们写死了http://xxxx:xxx
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-21 00:24 , Processed in 0.054840 second(s), 31 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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