Instalar Node-red

Olá boa noite…

Gostaria de integrar o meu HA com o Node-Red…
mas estou com dificuldades na instalação.

tenho o HA em proxmox com o SOperativo base Debian.

Gostaria de saber de alguém já fez a instalação no mesmo ambiente que eu:

Obrigado

Captura%20de%20ecr%C3%A3%20de%202020-02-11%2023-17-02

@cafeoliveira não usas Hassio?

e que tal usares o ubuntassio (como VM no proxmox…)?

1 Like

É isto que vocês falam?

https://cpha.pt/guias-instalacao/hass-io-ubuntu-docker 22

Sim, é esse mesmo que deves instalar.

1 Like

ja tenho Hassio…agora so me falta adaptar aos novos procedimentos…:slight_smile:

ja fiz a instalaçao do Node-red (tudo tranquilo) …depois faço start, >open web ui e aparece 502: Bad Gateway

e volta aparecer o botao para fazer start

tenho esta config:


credential_secret: teste1
dark_mode: false
http_node:
  username: teste1
  password: teste1
http_static:
  username: teste1
  password: teste1
ssl: false
certfile: fullchain.pem
keyfile: privkey.pem
require_ssl: false
system_packages: []
npm_packages: []
init_commands: []

alguem sabe como resolver?

Vê o log (ao fundo da página do addon… Provavelmente é pelo facto de a pass aparecer em bases de dados de passwords conhecidas…)
Já agora, dark_mode é porreiro… :wink:

Falando em pass e user… Estas credenciais não são as minhas do HA…

Log
[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
 Flow-based programming for the Internet of Things
-----------------------------------------------------------
 Add-on version: 6.0.4
 You are running the latest version of this add-on.
 System: Debian GNU/Linux 10 (buster)  (i386 / qemux86)
 Home Assistant version: 0.105.3
 Supervisor version: 200
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] nginx.sh: executing... 
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] node-red.sh: executing... 
[08:38:26] WARNING: Password is in the Have I Been Pwned database!
[08:38:26] WARNING: Password appeared 1457 times!
[08:38:26] FATAL: 
[08:38:26] FATAL: We are trying to help you to protect your system the
[08:38:26] FATAL: best we can. Therefore, this add-on checks your
[08:38:26] FATAL: configured password again the HaveIBeenPwned database.
[08:38:26] FATAL: 
[08:38:26] FATAL: Unfortunately, your configured password is considered
[08:38:26] FATAL: unsafe. We highly recommend you to pick a different one.
[08:38:26] FATAL: 
[08:38:26] FATAL: Please change the password in the 'http_node.password' option.
[08:38:26] FATAL: 
[08:38:26] FATAL: Check the add-on manual for more information.
[08:38:26] FATAL: 
[cont-init.d] node-red.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing... 
-----------------------------------------------------------
                Oops! Something went wrong.

 We are so sorry, but something went terribly wrong when
 starting or running this add-on.
 
 Be sure to check the log above, line by line, for hints.
-----------------------------------------------------------
[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal

.

Mas confirma-se o que te disse… Tens de arranjar pass mais complexa para o NR…

Já tenho acesso…
Coloquei o user e pass do HA.


Copyright © 2017-2020. Todos os direitos reservados
CPHA.pt - info@cpha.pt


FAQ | Termos de Serviço/Regras | Política de Privacidade