zachowj / hass-node-red

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

What is the difference between the HA UI Integration and the HACS Integration ? #136

Closed oywino closed 2 years ago

oywino commented 2 years ago

I ended up installing both, and it seems to work, but I'm not sure I understand what I'm doing. Since there are (at least) two distinct Integrations; One in HACS and the other is found in the HA UI (or is that one just a result of the first?). Are they different or just a dependencies?

I'm just curious... Should only one of them be installed, or both ?

zachowj commented 2 years ago

I'm assuming the "HA UI Integration" you are referring to is the Node-RED addon.

There is a difference between an add-on and an integration. Add-ons are applications that can be installed if you're running a version of Home Assistant with supervisor. Integration is the part that allows Home Assistant to communicate with an add-on or an external service.

oywino commented 2 years ago

I'm using the container version of HA. What I meant by "HA UI" is selecting: Settings --> Devices & Services --> Integrations --> + Add Integration Then from the list I choose NodeRED This, to me, appears as an alternative to using HACS (?) (Addon is not an option with the container version of HA)

zachowj commented 2 years ago

What I meant by "HA UI" is selecting: Settings --> Devices & Services --> Integrations --> + Add Integration

If you manually install or use HACS this is still a required step.

Since this is a custom integration, not included in HA core, you have to install it either manually or using other means. One of the other means is HACS. Which will install it and then also notify you when there's an update. HACS itself is just another custom integration for managing other custom integrations.

oywino commented 2 years ago

I see - thanks. I found the docs somewhat scarce (most chapters is only a 404), so I wrote my own (attached). This is of course specific for my installation (all is container based) on my QNAP NAS servers. How to integrate NodeRED with Home Assistant.pdf

zachowj commented 2 years ago

Which docs are you referring to with 404s? The docs for this repo are basically just the README and the docs for HA nodes are https://zachowj.github.io/node-red-contrib-home-assistant-websocket/guide/

oywino commented 2 years ago

I'm sorry - I didn't mean to be rude. This is the only one I found (following the link in the Integration): https://zachowj.github.io/node-red-contrib-home-assistant-websocket/guide/custom_integration/#installation

zachowj commented 2 years ago

I didn't think you were being rude. I just wanted to be able to fix any errors in the documentation. Thank you

oywino commented 2 years ago

Oh, good to hear 🙂 I'd love to be of any help. This is a great integration (but getting it up and running was complex - if I may say so)