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

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

[流程系列] 求助密码问题

[复制链接]

11

主题

359

帖子

2450

积分

金牌会员

Rank: 6Rank: 6

积分
2450
金钱
2091
HASS币
0
发表于 2018-10-30 21:19:54 | 显示全部楼层 |阅读模式
可以启动,登陆失败。。。下面我的配置不知道哪里不对。。。。

{
  "log_level": "info",
  "credential_secret": "AABBDDCC",
  "http_node": {
    "username": "nodeuser",
    "password": "nodepassword"
  },
  "http_static": {
    "username": "nodeuser",
    "password": "nodepassword"
  },
  "port": 1880,
  "ssl": false,
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
  "require_ssl": true,
  "system_packages": [],
  "npm_packages": [],
  "init_commands": []
}




评分

参与人数 1金钱 +7 收起 理由
hisoo + 7 大神666!

查看全部评分

回复

使用道具 举报

11

主题

359

帖子

2450

积分

金牌会员

Rank: 6Rank: 6

积分
2450
金钱
2091
HASS币
0
 楼主| 发表于 2018-10-30 21:21:32 | 显示全部楼层
这是日志


[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...

-----------------------------------------------------------
Hass.io Add-on: Node-RED v1.0.0

Flow-based programming for the Internet of Things

From: Official add-ons
By: Home Assistant
-----------------------------------------------------------
amd64 / Ubuntu 18.04.1 LTS / HA 0.81.0 / SU 130 / stable
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 02-updates.sh: executing...

INFO: You are running the latest version of this add-on
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 10-requirements.sh: executing...
INFO: Password is NOT in the Have I Been Pwned database! Nice!
INFO: Password is NOT in the Have I Been Pwned database! Nice!
[cont-init.d] 10-requirements.sh: exited 0.
[cont-init.d] 20-config.sh: executing...
[cont-init.d] 20-config.sh: exited 0.
[cont-init.d] 80-system-packages.sh: executing...
[cont-init.d] 80-system-packages.sh: exited 0.
[cont-init.d] 81-npm-packages.sh: executing...
[cont-init.d] 81-npm-packages.sh: exited 0.
[cont-init.d] 82-user-scripts.sh: executing...
[cont-init.d] 82-user-scripts.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.

> [email protected] start /opt
> node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"

30 Oct 21:15:11 - [info]

Welcome to Node-RED
===================

30 Oct 21:15:11 - [info] Node-RED version: v0.19.4
30 Oct 21:15:11 - [info] Node.js  version: v8.12.0
30 Oct 21:15:11 - [info] Linux 4.15.0-34-generic x64 LE
30 Oct 21:15:11 - [info] Loading palette nodes
30 Oct 21:15:12 - [warn] rpi-gpio : Raspberry Pi specific node set inactive
30 Oct 21:15:13 - [info] Settings file  : /etc/node-red/config.js
30 Oct 21:15:13 - [info] Context store  : 'default' [module=memory]
30 Oct 21:15:13 - [info] User directory : /config/node-red/
30 Oct 21:15:13 - [warn] Projects disabled : editorTheme.projects.enabled=false
30 Oct 21:15:13 - [info] Flows file     : /config/node-red/flows.json
30 Oct 21:15:13 - [info] Server now running at http://127.0.0.1:1880/
30 Oct 21:15:13 - [info] Starting flows
30 Oct 21:15:13 - [info] Started flows
30 Oct 21:15:13 - [info] [server:Home Assistant] WebSocket Connected to http://hassio/homeassistant
30 Oct 21:21:04 - HA Auth - Failed to authenticate: nodeuser
回复

使用道具 举报

1

主题

110

帖子

756

积分

高级会员

Rank: 4

积分
756
金钱
646
HASS币
0
发表于 2018-10-31 09:19:07 | 显示全部楼层
1.0版本不再需要http_node和http_static密码,留空就可以了
  "http_node": {
    "username": "",
    "password": ""
  },
  "http_static": {
    "username": "",
    "password": ""
  },

评分

参与人数 1金钱 +7 收起 理由
hisoo + 7 大神666!

查看全部评分

回复

使用道具 举报

11

主题

359

帖子

2450

积分

金牌会员

Rank: 6Rank: 6

积分
2450
金钱
2091
HASS币
0
 楼主| 发表于 2018-10-31 09:32:37 来自手机 | 显示全部楼层
honky 发表于 2018-10-31 09:19
1.0版本不再需要http_node和http_static密码,留空就可以了
  "http_node": {
    "username": "",

那登陆时要账号的怎么弄
回复

使用道具 举报

1

主题

110

帖子

756

积分

高级会员

Rank: 4

积分
756
金钱
646
HASS币
0
发表于 2018-10-31 17:39:06 | 显示全部楼层
ruianyu 发表于 2018-10-31 09:32
那登陆时要账号的怎么弄

用HA的账号登录
回复

使用道具 举报

11

主题

359

帖子

2450

积分

金牌会员

Rank: 6Rank: 6

积分
2450
金钱
2091
HASS币
0
 楼主| 发表于 2018-10-31 17:49:19 | 显示全部楼层

还是一直失败,谢了,我在试试
回复

使用道具 举报

7

主题

138

帖子

913

积分

高级会员

Rank: 4

积分
913
金钱
775
HASS币
0
发表于 2018-11-3 13:31:50 | 显示全部楼层
ruianyu 发表于 2018-10-31 17:49
还是一直失败,谢了,我在试试

楼主解决了没有,我也是同样的问题
回复

使用道具 举报

11

主题

359

帖子

2450

积分

金牌会员

Rank: 6Rank: 6

积分
2450
金钱
2091
HASS币
0
 楼主| 发表于 2018-11-3 15:26:52 | 显示全部楼层
coolbug111 发表于 2018-11-3 13:31
楼主解决了没有,我也是同样的问题

我是hyper-v虚拟机,重新安装一个已经没问题了,用homeassistant账号登陆,老的无论如何都是不行。。。
回复

使用道具 举报

3

主题

156

帖子

805

积分

高级会员

Rank: 4

积分
805
金钱
649
HASS币
0
发表于 2018-11-5 06:14:58 | 显示全部楼层

ha都是api密码登陆,只有密码,用户名没有怎么办?
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-6-4 10:33 , Processed in 0.056769 second(s), 31 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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