zachowj / hass-node-red

Companion Component for node-red-contrib-home-assistant-websocket to help integrate Node-RED with Home Assistant Core
MIT License
465 stars 182 forks source link

Node Red isnt showing in the UI configurations. #27

Closed gdr2404 closed 4 years ago

gdr2404 commented 4 years ago

Going to open this as a new issues, a previous issues similar to this has been closed but that solution doesnt apply here.

Node Red isnt showing in the UI configurations.

Followed the instructions initially. Running HA 0.110.2 Then tried Installing via Hacs

translations shows in my custom_components/nodered. (other posts solution)

Any advice would be much appreciated.

frasquez commented 4 years ago

Same here.... HA 0.110.3

Installed on freenas 11.3

pixeldj commented 4 years ago

Same here. 0.110.3

fmarkf commented 4 years ago

Same here. 0.110.4 (installed via HACS). Folder 'custom_components\nodered' is in place. HA restarted. Node RED is not shown in Lavelace UI.

zachowj commented 4 years ago

I tested this on a fresh install with version 0.110.4 via HACS, it looks like you don't even have to reboot anymore, and it seems to load with no issue.

What do your HA logs show? It should show it in the logs even if you haven't added from the UI as an integration.

image

fmarkf commented 4 years ago

This is my log after installing from HACS before server restart:

2020-06-03 04:39:16 INFO (MainThread) [hacs.repository.integration.zachowj.hass-node-red] download of binary_sensor.py complete                                        
2020-06-03 04:39:16 INFO (MainThread) [hacs.repository.integration.zachowj.hass-node-red] download of switch.py complete                                               
2020-06-03 04:39:16 INFO (MainThread) [hacs.repository.integration.zachowj.hass-node-red] download of config_flow.py complete                                          
2020-06-03 04:39:16 INFO (MainThread) [hacs.repository.integration.zachowj.hass-node-red] download of sensor.py complete                                               
2020-06-03 04:39:16 INFO (MainThread) [hacs.repository.integration.zachowj.hass-node-red] download of en.json complete                                                 
2020-06-03 04:39:16 INFO (MainThread) [hacs.repository.integration.zachowj.hass-node-red] download of const.py complete                                                
2020-06-03 04:39:16 INFO (MainThread) [hacs.repository.integration.zachowj.hass-node-red] download of discovery.py complete                                            
2020-06-03 04:39:16 INFO (MainThread) [hacs.repository.integration.zachowj.hass-node-red] download of __init__.py complete                                             
2020-06-03 04:39:16 INFO (MainThread) [hacs.repository.integration.zachowj.hass-node-red] download of services.yaml complete                                           
2020-06-03 04:39:16 INFO (MainThread) [hacs.repository.integration.zachowj.hass-node-red] download of manifest.json complete                                           
2020-06-03 04:39:16 INFO (MainThread) [hacs.repository.integration.zachowj.hass-node-red] download of websocket.py complete                                            
2020-06-03 04:39:16 INFO (MainThread) [hacs.repository.integration.zachowj.hass-node-red] Reloading custom_component cache  
2020-06-03 04:39:16 INFO (SyncWorker_4) [homeassistant.loader] Loaded nodered from custom_components.nodered  

And there are no mentioning of Node-Red in the log after server restart.

By the way, I'm running HA in docker container (QNAP TS-453Be server).

frasquez commented 4 years ago

I upgraded to 0.100.4, reinstall Node-Red, and nothing... I'll try with a fresh install.

gdr2404 commented 4 years ago

the only reference to it in my logs are here


2020-06-04 12:59:24 DEBUG (MainThread) [hacs] Starting recuring background task for installed repositories
2020-06-04 12:59:24 DEBUG (MainThread) [hacs.data] Saving data
2020-06-04 12:59:24 DEBUG (MainThread) [hacs] Recuring background task for installed repositories done
2020-06-04 12:59:24 DEBUG (MainThread) [queueman.manager] Checking out tasks to execute
2020-06-04 12:59:24 DEBUG (MainThread) [queueman.manager] Starting queue execution for 2 tasks
2020-06-04 12:59:24 DEBUG (MainThread) [hacs.repository.integration.hacs.integration] Getting repository information
2020-06-04 12:59:24 DEBUG (MainThread) [hacs.repository.integration.zachowj.hass-node-red] Getting repository information
2020-06-04 12:59:25 DEBUG (MainThread) [hacs.repository.integration.hacs.integration] Running checks against 1.0.3
2020-06-04 12:59:25 DEBUG (MainThread) [hacs.repository.integration.zachowj.hass-node-red] Running checks against v0.4.3
2020-06-04 12:59:31 DEBUG (MainThread) [queueman.manager] Queue execution finished for 2 tasks finished in 6.74 seconds
2020-06-04 12:59:31 DEBUG (MainThread) [hacs.data] Saving data
pixeldj commented 4 years ago

I am also running in docker. Version 0.110.4 now. I can see it in the logs when I start home assistant.

2020-06-06 15:17:36 INFO (MainThread) [custom_components.nodered] 
-------------------------------------------------------------------
nodered
Version: 0.4.3
This is a custom integration
If you have any issues with this you need to open an issue here:
https://github.com/zachowj/hass-node-red/issues
-------------------------------------------------------------------

I do not see any configuration options or any way to access Node-RED from inside Home Assistant. This is my first time using the plugin so I'm not sure if I'm missing something.

zachowj commented 4 years ago

@PixelDJ this a custom component for this. It doesn't install Node-RED you have to do that yourself.

https://nodered.org/#get-started https://zachowj.github.io/node-red-contrib-home-assistant-websocket/guide/

pixeldj commented 4 years ago

I do have Node-RED installed in a separate docker container and it seems to be working there, I just thought that there would be some sort of configuration options (also a link to my node-red install) inside of Home Assistant and I am not seeing anything anywhere.

I edited my previous comment to be more clear.

EDIT: Oh I'm sorry I think I was misunderstanding because I saw screenshots of Node-RED configuration inside of Home Assistant but it looks like that is hass.io and I'm on core so I'm guessing that's why I'm not seeing anything.

vlad36N commented 4 years ago

Home Assistant 0.111.3 Followed the instructions initially. Installed via HACS. Node Red not showing in the Configuration/Integrations. No log entries. Update: After restarting Node-Red from Supervisor, was able to add Node Red in the Configuration/Integrations. But noting ported from Node-Red on HA.

drk-geek commented 4 years ago

Hi there Home Assistant 0.111.4 installation_type | Home Assistant Core in a Python Virtual Environment Node Red is installed via HACS and added as integration but can not see any web UI within the HA interface. Node Red interface is working on any guide lines ?

gdr2404 commented 4 years ago

Its now working for me and not entirely sure why. I removed from hacs, . I installed latest HA update, reinstalled and double checking I put everything in custom_components/nodered/ directory. Then going to my configurations on the left and into integrations under Home Assistant Cloud. Searching for Node Red and its there. All running great, love it.

drk-geek commented 4 years ago

hi @gdr2404 Everything is same at my side too but my question is that I can not see Node Red on HA UI, is this normal? if YES, how to use it with HA, any detailed how to?

gdr2404 commented 4 years ago

hi @gdr2404 Everything is same at my side too but my question is that I can not see Node Red on HA UI, is this normal? if YES, how to use it with HA, any detailed how to?

This my sound like a daft question and I'm sorry if it is, but I'm just double checking. Which HA Ui are you looking at? Have you clicked on overview then configure ui on the top right and searching for it via cards in lovelace? If so then that's wrong.

You need to go to configuration then integrations and search for node red in there. Once enabled in there you can start adding your custom entities in node red and they should appear under your node red integrations in the configuration.

If this isn't your problem I'm sorry, just I felt that was easy to get confused between the two in HA

frasquez commented 4 years ago

hi @gdr2404 Everything is same at my side too but my question is that I can not see Node Red on HA UI, is this normal? if YES, how to use it with HA, any detailed how to?

This my sound like a daft question and I'm sorry if it is, but I'm just double checking. Which HA Ui are you looking at? Have you clicked on overview then configure ui on the top right and searching for it via cards in lovelace? If so then that's wrong.

You need to go to configuration then integrations and search for node red in there. Once enabled in there you can start adding your custom entities in node red and they should appear under your node red integrations in the configuration.

If this isn't your problem I'm sorry, just I felt that was easy to get confused between the two in HA

Hi @gdr2404,

Looks like I have the same issue (question) as @drk-geek.

As far as I can see I have installed Node-Red, and also when I go to Configuration, then integrations I have Node-Red up and running.

But I don't know where is the Node-Red "label" in the HA UI. Where you can make/use the graphic interfase to make the conections between "devices/instances/conditions...etc" All the tutorials I have seen, show a menu in the HA UI.

Any thougts, ideas?. I really don't know what I'm missing...

2020-06-23_13-25-20 2020-06-23_13-25-30
gdr2404 commented 4 years ago

hmm, im not sure if you have installed node red, you've installed the integration side of things. Again im no expert at this but you should have a supervisor option between your developer tools and configuration on the bottom left. Once that is there you click on it and node red is in the add on store section under Home Assistant Community Add-ons.

Im not actually sure how you get the supervisor option though, im sure mine was already there. Installed on a rasp pi 3

Annotation 2020-06-23 212659