Node-RED auto-complete not working

Hey all,

I have installed the add-on and gotten the web ui to load but as the title shows, the auto-complete feature is not working when I double-click, say, the event state node. I am using Hassio in a VM on Virtualbox. I have included a picture to show the exact area (Entity_ID) I am having issues with.

17%20PM

Have you tried to look into the logs, both for your HA and Node Red addon? This is not normal.

There are no error messages in the logs for this. I checked the settings in the ui and I see that there is some sort of conflict when I try to install a node-red extension for lack of better words. I am wondering if this has anything to do with it.

25%20PM

How is your setup look like. Do you have node red as stand alone on a server and trying to install Home assistant as new pallets? Or did you install node red as an addon to HA?

I installed it as an add-on. I use Hass.io on a VM. The only settings in the config of the add-on that I changed was that of the credential secret and the allow_ssl option from “true” to “false”.

29%20PM

So at the very bottom of this page, right below network configuration, you see log. Does it show any errors? if it doesn’t show anything try to hit refresh.

Also go on hassio page, where you get the addons go to the last tab: “system” and check the logs there too.

I think you are on to something because now that I look at the log, there is an error about the client not being able to connect to the websocket api. I am uninstalling node-red and restarting hass.io. I will have to deal with it in the morning as I am going cross-eyed. But I will update this thread in the event I can get it to work or not. I appreciate the help @fxcoolby!

No problem, I had few hiccups getting Node Red to work but once it does, it works very consistently. Just make sure once you get it working to take a snapshot.

How did you solve it?
My auto complete is also not working correctly, just the entity names are shown not the friendly names.

Any suggestions, please?!

Where are friendly names supposed to show up? The only thing in the ENTITY ID dropdown are ENTITY names.

oh ok, I thought friendly names to show up should be possible. Would be make it much more comfortable :wink:

@craigulator, did you resolve this issue? I’m in the same situation with hass.io running in docker and node-red doesn’t auto-complete.

No, sorry. I gave up not long after my post. I didn’t try again either to see if the auto-complete would work.

I have been doing my automations in the yaml file seeing how mine are not complicated, but if i ever do give it a shot again, I will provide updates.

Here is to hoping someone else can figure out this quirk.

Hello,
I had the same problem. I solved it in the node red by disabling the “protection mode” in the hass.io add-on settings for node-red.
I don’t exactly know what are the consequences of this… But, auto completion worked after that. HTH
GV

I resolved it by uninstalling and reinstalling the Node-RED add-on (again). I don’t know if it will stay fixed but it’s working now.

Struggle is real and this post helped. I have tried to fix this for over a week, I resolved it also by disabling the protection mode.

So it appears as if everything is working on my end now.

I am wondering if just letting some time pass and get a few updates in for both hassio and node red jogged something. This isn’t really a help I know, but I wanted to update this thread with my status. Thanks all for the help! Especially @fxcoolby!

Yes, I also had to struggle and the thread came handing. I am not too happy to have that huge red warning on my red node app page saying I should NOT disable protection mode though…
Thank everyone!

I created a few analog sensors using template

sensor:
  - platform: template 
    sensors:

      kitchenlightcolorr:
        value_template: "{{ states.light.kitchen.attributes.rgb_color[0] | int }}"
        friendly_name: 'Kitchen RGB Color R'

They didn’t show up in autocomplete untill i changed the protective mode