zachowj / hass-node-red

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

Nodered integration missing #107

Closed PrathikGopal closed 2 years ago

PrathikGopal commented 2 years ago

Solution below: https://github.com/zachowj/hass-node-red/issues/107#issuecomment-1008233688

Running latest HA and websocket versions Installation through hacs Tried reloading/rebooting. Tried downgrading to 1.0.5 - same issue. Tried other suggestions in the closed issues- no go! Found the custom integration is being loaded in the home-assistant.log but integration missing in UI

Version of the custom_component

1.0.6

Describe the bug

Integration for nodered missing after update to 1.0.6. first there was an error to load component so I deleted it to re-add but when I tried to add through integration nodered was missing

TTLucian commented 2 years ago

Same here. NodeRed missing

Logger: homeassistant.setup
Source: setup.py:153
First occurred: 05:17:53 (1 occurrences)
Last logged: 05:17:53

Setup failed for nodered: Integration not found.

All's good with 1.05. Downgraded!

mikesn31 commented 2 years ago

Same here no Node-Red after upgrade.. restored from snapshot until this gets fixed 👍

TTLucian commented 2 years ago

Redownload 1.05 from HACS worked for me.

PrathikGopal commented 2 years ago

Solution Update: So, once your unable to find the integration.

  1. Ensure add on is in the correct path under custom components. I found the path in the custom components was messed up somehow. Deleted the integration and reinstalled 1.0.6 again.

Ensure the integration loads in the ha logs..

  1. Goto the integration page and refresh the page cache- In my case from phone I had to pull down to refresh.

Once done voila it showed nodered companion integration again in the integrations page.

Seems like a refresh bug to me in HA.

dolenec commented 2 years ago

Same for me.. 1.0.5 working.. 1.0.6 break Node-RED..

regevbr commented 2 years ago

Same thing happend to me, looking at the commits i can't see anything that should have caused this issue... @zachowj do you mind taking a look at this issue?

hklages commented 2 years ago

same problem with 1.06 here Installing v.1.05 from integration pages solved the problem.

Mangomc commented 2 years ago

Deleting and reinstalling 1.0.6 solved it for me

zachowj commented 2 years ago

Between this issue and #106, it sounds like an install issue. Is everyone installing it via HACS? Can someone who hasn't deleted and reinstalled check the install location custom_components/nodered and see if all the files are being installed correctly?

alsFC commented 2 years ago

Same here. Rollback to 1.0.5 works.

ianfretwell commented 2 years ago

Updated via HACS. Currently in a 'broken' state.

Inside custom components I'm seeing a nodered folder within a nodered folder. The top level one contains just the one file:- 'init.py'. The nodered subfolder then seems to contain all the files I'd expect to see except the 'pycache' folder.

Does that help ?

zachowj commented 2 years ago

@ianfretwell If you have HACS redownload it does it fix the folder structure? There should only be one nodered directory. If that doesn't fix it if you remove the integration from HACS then re-add it does it download into the correct folders?

ianfretwell commented 2 years ago

@zachowj Hi - yes, that's cleaned it all up and upon restarting HA it's working again just fine. Thanks!

robertboccia commented 2 years ago

@ianfretwell If you have HACS redownload it does it fix the folder structure? There should only be one nodered directory. If that doesn't fix it if you remove the integration from HACS then re-add it does it download into the correct folders?

Tried re-download, Hasnt helped, any other ideas

robertboccia commented 2 years ago

Just redownloaded again done and it's resolved the issue

modem commented 2 years ago

Issue seems to be HACS related: https://github.com/hacs/integration/issues/2437

TTLucian commented 2 years ago

Latest HACS update seems to have solved the issue.

PrathikGopal commented 2 years ago

Issue resolved with HACS update.

kwithus commented 2 years ago

I suddenly have same/similar issue. Getting „ Node-RED custom integration needs to be installed in Home Assistant for this node to function correctly." Having latest version of NodeRed and companion (1.07) installiert. I already tried to delete the custom integration and reinstall, doesn’t change anything.

rolled back to 1.06, which does work without problems