Hi,
I am new to the Node-RED integration and would love to migrate my automations from hassio into it. However, I experience following issue:
Situation:
Hassio is running on Synology DSM in a virtual machine with official hassio image on separate IP-address that is not used for any other service.
Node-RED is installed via hassio addon store. Communication from hassio to Node-RED works well (e.g. events_state shows correct state if entity (light) is triggered by hassio or hardware switch).
Problem:
A short flow inject --> call_service (domain: light OR switch OR input_boolean; service: turn_on OR turn_off; entity_id: light.hue_go_marcus) shows “success”. However, in hassio the state of the entity does not change, nor the light in real life will turn on/off.
Expected behavior:
Node-RED flow should successfully trigger light entity to on or off.
Further diagnosis:
- Node-RED only returns successful injection if “delay connection attempts” in server properties is unchecked. Otherwise, an connection error is displayed.
- in hassio logs, following warning is shown, everytime the flow is excecuted: “Unable to find referenced entities light.hue_go_marcus”, Unable to find referenced entities light.marcus." I already checked this https://community.home-assistant.io/t/hassio-supervisor-cannot-connect-to-host-172-30-32-1-8123-ssl-none-connection-refused/135327 multiple times but do not understand the solution.
Any help is much appreciated! Many thanks in advance!