Successfully Integrating Scenes with Node-RED

Hi everyone! I wanted to share my experience with integrating scenes using Node-RED in Home Assistant. After some research and trial and error, I managed to set up a system that allows me to trigger scenes via Alexa. Here’s how I did it:First, I created empty scenes in Home Assistant. These scenes don’t have any entities attached initially, as they’re meant to be controlled through Node-RED. Here’s an example of how I set them up:yaml- name: TV Scene entities: {}- name: Bedtime Scene entities: {}- name: Good Morning Scene entities: {}Next, I moved over to Node-RED. I set up an ‘events’ node to watch for ‘call_service’ events. When a scene activation event is detected, a switch node routes the scene to the appropriate place. I used Link nodes to simplify the layout and reduce visual clutter. Here’s a snippet of the flow:Node-RED FlowFor each scene, I added an ‘Inject’ node to test it and as documentation to show which scene is which. This was super helpful since Link nodes don’t display text.Overall, this setup worked well for me! I hope this helps someone else looking to integrate scenes with Node-RED. If you’re interested in the JSON for the nodes, I’ve shared them here: Node-RED Scene Integration. Happy automating! :rocket: