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

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

[教程系列] Node Red系列教程之三 实现Node Red与Home Assistant之间的联动

  [复制链接]

0

主题

71

帖子

375

积分

中级会员

Rank: 3Rank: 3

积分
375
金钱
304
HASS币
0
发表于 2018-3-27 16:32:34 | 显示全部楼层
大牛,看看怎么做的!!
回复

使用道具 举报

16

主题

262

帖子

3717

积分

论坛元老

Rank: 8Rank: 8

积分
3717
金钱
3450
HASS币
0
发表于 2018-3-29 16:25:04 | 显示全部楼层
感谢楼主的教程,强大的工具
回复

使用道具 举报

5

主题

94

帖子

330

积分

论坛积极会员

积分
330
金钱
236
HASS币
0
发表于 2018-4-11 01:01:39 | 显示全部楼层
安装ha节点的时候报错了
node-pre-gyp ERR! Tried to download(404): https://github.com/kelektiv/node ... 57-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v57 ABI) (falling back to source compile with node-gyp)
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at PythonFinder.failNoPython (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:483:19)
gyp ERR! stack     at PythonFinder.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:397:16)
gyp ERR! stack     at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:68:16)
gyp ERR! stack     at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:80:29)
gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/which.js:89:16
gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5
gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:152:21)
gyp ERR! System Linux 4.9.59-v7+
gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/node_modules/bcrypt/lib/binding/bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=/node_modules/bcrypt/lib/binding"
gyp ERR! cwd /node_modules/bcrypt
gyp ERR! node -v v8.9.3
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/node_modules/bcrypt/lib/binding' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:126:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:925:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
node-pre-gyp ERR! System Linux 4.9.59-v7+
node-pre-gyp ERR! command "/usr/bin/node" "/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /node_modules/bcrypt
node-pre-gyp ERR! node -v v8.9.3
node-pre-gyp ERR! node-pre-gyp -v v0.6.36
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/node_modules/bcrypt/lib/binding' (1)
npm WARN saveError ENOENT: no such file or directory, open '/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/bcrypt):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-pre-gyp install --fallback-to-build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
回复

使用道具 举报

2

主题

90

帖子

632

积分

高级会员

Rank: 4

积分
632
金钱
542
HASS币
0
发表于 2018-4-11 09:50:00 | 显示全部楼层
ha节点安装后刷新下页面就不能用了
回复

使用道具 举报

5

主题

94

帖子

330

积分

论坛积极会员

积分
330
金钱
236
HASS币
0
发表于 2018-4-11 21:49:49 | 显示全部楼层
ake000 发表于 2018-4-11 01:01
安装ha节点的时候报错了
node-pre-gyp ERR! Tried to download(404): https://github.com/kelektiv/node.bc ...

用树莓派自带的NODE-RED成功安装
回复

使用道具 举报

0

主题

41

帖子

251

积分

中级会员

Rank: 3Rank: 3

积分
251
金钱
210
HASS币
0
发表于 2018-4-11 22:25:33 | 显示全部楼层
Node Red 系列教程之一 初识Node Red
回复

使用道具 举报

1

主题

115

帖子

989

积分

论坛积极会员

积分
989
金钱
874
HASS币
0
发表于 2018-4-12 10:43:01 | 显示全部楼层
学习一下,谢谢分享
回复

使用道具 举报

11

主题

247

帖子

1924

积分

金牌会员

Rank: 6Rank: 6

积分
1924
金钱
1677
HASS币
10
QQ
发表于 2018-4-13 16:39:10 | 显示全部楼层
太高级了
回复

使用道具 举报

5

主题

98

帖子

401

积分

中级会员

Rank: 3Rank: 3

积分
401
金钱
303
HASS币
0
发表于 2018-4-13 21:09:38 | 显示全部楼层
学习!!!!
回复

使用道具 举报

2

主题

231

帖子

1858

积分

金牌会员

Rank: 6Rank: 6

积分
1858
金钱
1627
HASS币
0
发表于 2018-4-13 23:11:32 | 显示全部楼层
感謝分享
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-19 12:44 , Processed in 0.068158 second(s), 31 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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