I just installed node-red-contrib-home-assistant-websocket by :
Installing the nodes via Manage Palette
Installing the Integration via HACS
Adding nodered: to my Home Assistant configuration.yaml file (based on the very last sentence from the HACS integration page: When installed, this will be located in ‘/config/custom_components/nodered’, you still need to add it to your ‘configuration.yaml’ file.
However, apparently, I’m not able to access the Home Assistant server (http://hassio:8123) via Node-RED. Also, the Base URL search feature searches forever.
Nevertheless, the Node-RED log shows:
Jan 16 13:44:57 ccu3-webui daemon.info node-red[2008]: [server:Home Assistant] WebSocket Connected to http://hassio:8123
Jan 16 13:44:58 ccu3-webui daemon.err node-red[2008]: [ha-entity:Email Fetch Sensor] Node-RED custom integration needs to be installed in Home Assistant for this node to function correctly.
What am I doing wrong? How can I make further checks to locate the issue?
Thanks!
I thought HACS integration (on the integration tab) would be sufficient.
However, my understanding is, if I’d adding Node-RED via HA integration Node-RED (server) will be running on the same machine as HA e.g 192…222.
But, I already have a Node-Red instance running on a different host (192…100).
Is this constellation possible?
The custom integration isn’t a new instance of NR. It just adds some extra commands to Home Assistant that allows any instance of NR to do things like create sensors and switches in HA.
Thanks for the help in trying to get my instance up an running. I was running into too many issues and it gave me the excuse to swap over to Hass.io which has been working out well.
I have Node-Red working and interacting with Hass just fine, but I continue to receive an error that node-red is unable to be setup in the integrations page. I’ve tried removing it from the integrations, but even after deleting it the integration remains present. Other than the error message whenever I restart I don’t see any impacts.
My questions is if there’s a way to manually remove it from the integrations page if the delete button isn’t working. Thanks!
Below is the exact error I receive.
2020-01-21 21:10:43 ERROR (MainThread) [homeassistant.setup] Setup failed for nodered: Integration not found.
Just trying out the custom integration. I made a NR switch instance and have that in Home Assistant. It monitors the humidity in my home and if it gets to high I turn on my HVAC fan, Works great but if I turn off the switch in Home Assistant which disables the instance and then restart Home Assistant it defaults to the enabled state.
Once the state is set it will save over reboots but if you want it to be disabled after every reboot you could use a inject nodes to a call-service and turn off the switch.
need help on the sensor node…
this is what I have done:
updated to the latest version of websocket in node-red
installed node-red in HACS
configuration->integration, added node-red.
then in node-red, dragged sensor node, seeing the red text " Attention: This node requires Node-RED custom integration to be installed in Home Assistant for it to function."
what else needed to create sensor? appreciate if there is detailed sample how to use sensor node, thanks!
Do your HA logs show that the custom component has been loaded?
WARNING (MainThread) [homeassistant.loader] You are using a custom integration for nodered which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
Trigger an exposed event node from a service call nodered.trigger
With the release of the Node-RED custom component version 0.3.0, it adds the ability to trigger an event node from a service call.
Event nodes that are triggered by a service call will have their status color blue when skip_condition is true and when false it will stay green with the text (triggered) appended after the state in the status text.
Data properties of the service call:
entity_id
The only data property of the service call that is required is an entity_id of the switch that is associated with a node in NR.
trigger_entity_id
Will be the entity that triggers the node. It is optional and only required if the node entity filter is not set to exact.
skip_condition
It can be used when you don’t want the conditionals of the node to be check and just have it pass the entity through. Defaults to false
For the trigger: state node custom output will not be evaluated.
output_path
When skip_condition is true this allows you to choose which output to send the message through. Defaults to true the top output
Changelog
Features
Add ability to handle nodered.trigger service call (aba9eab)
integration: Handle nodered:loaded event from when HA loads custom component (072cec7)
Bug Fixes
Fix status message for non triggered events (5d7faa4)