Add-on Node-Red Editor direct access

Hi,

I started to learn Home Assistant some days ago. I could install Node-Red add-on, and it works fine and I can access the UI from the browser (http://homeassistant.local:1880/endpoint/ui), but I don’t know how I can access Editor from the browser?

Does this help? Go to Supervisor > Node-Red, then either add it to the sidebar or click the button for to Open the Web UI

Thank you for your help. I succeeded to set the Node-Red sidebar button earlier, but I’d like to access Node-Red editor without home assistant webpage, as I can access the Node-Red UI without HA, at address: http://homeassistant.local:1880/endpoint/ui. Because I’d like to switch between HA and Node-Red editor page quick. When I switch to Node-Red editor in Ha webpage, the editor always loads again from the beginning.

Why don’t you open Node RED in different window with right click? You can switch easily between the windows.

The simplest way the best way. I thought more complex solutions. :slight_smile:

Köszi Krisztián!

1 Like

For me, http://homeassistant.local:1880/endpoint/ui points to the Node Red Dashboard.

To connect to the Node Red editor from a browser I just use http://homeassistant.local:1880

@krovachek: Unfortunately, the different solution is not good for me, because the node-red editor windows reloaded cyclically therefore the debug window is cleared.

@mightybosstone: Yes I have tried it. I see the login window, but it hasn’t accepted my login name and my password which I use at ui (http://homeassistant.local:1880/endpoint/ui) The UI works perfectly.

What is the login and password I should use at editor page?

1 Like

I use the same username and password that I use to log into Home Assistant.

I believe the username and password for the dashboard UI is set in the Node Red Add-On configuration:

http_node:
  username: '!secret nodered_http_username'
  password: '!secret nodered_password'

I also thought the http_static: configuration entry was what controlled access to the editor via a web page, but I can’t get it to work. There really should be an option to use a different username/password for web access to the Node Red editor than the one for HA.

My configuration file (UI works with pi/xxxxxxx, but editor doesn’t loaded when I type pi/xxxxxxx, only I get the login windows again and again):

credential_secret: pi
theme: default
http_node:
username: pi
password: xxxxxxx
http_static:
username: pi
password: xxxxxxx
ssl: false
certfile: fullchain.pem
keyfile: privkey.pem
system_packages: []
npm_packages: []
init_commands: []

Is pi/xxxxxxx what you use to log into Home Assistant? If so I’m not sure what else to try.

No, I use a different login/password. You are right I can aceess Node-red with HA login/password.

Thank you for your help!

Were you able to access the editor directly - outside of the HA window? Mine only loads the editor header and nothing else after using my HA credentials:

Yes,

I can use the Node_Red Editor (and UI too) directly from individual Browser window, regardless of HA

I ended up changing the port which was being used to 1881 and it worked fine. I must have a conflict somewhere. Thanks for the feedback!

I used to use Node Red for all my Hubitat automations and enjoyed putting it together. I’m still learning HA automations but find them challenging when it comes to branching and keeping track of things.

Thanks for the reply!