I would like to apologize for my ignorance first. I have never had anything to do with Node-RED and I am trying to understand it somehow.
I have read this article:
I think it is appropriate for my problem. I would like to trigger switching to the appropriate HDMI 2 source with one button from the remote control on my Philips TV. There are no appropriate codes that enable HDMI 2 and HDMI 3 in the Philips Oled818. That is why I decided to use Node-RED.
Since this is my first time dealing with Node-RED, I would like to ask for help because I do not understand much.
Do I install all the commands and libraries from the topic on a Philips TV or do I need to have a separate device that has Home Assistant installed and the Node-RED plugin installed on it?
I admit that it is a bit difficult for me.
I have a Windows computer and I can execute the commands in putty, I just do not know what and where to do it.
Don't be so hard on your self - whilst I am sure that Node works, its all very verbose in the help material, and seems daunting, and requires python in the background
I would try the following Node (you can install it via the palette menu)
it seems a lot lighter - and uses the native NodeJS runtime (so no need to install other things)
You then drag that new Node (after its installed) to your flow, double click it, and provide the things it wants - most likely - your TV's IP and other things
I do suggest this collection of vids to get you started.
You may benefit from watching the essentials videos, worth a watch to get the basics.
The docs also has great info on using the editor and a section on the palete Editor Guide : Node-RED
I think I'm starting to understand now. So I need a device (server) on which I can install Home Assistant and upload Node-RED to it? Only then will I be able to do this?
Correct - But we are not associated to Home Assistant - but HA have Node RED as a plugin.
Our suggested approach is to install Node RED on bare metal (Raspberry Pi for instance)
Once installed, you can access the Node RED interface, install more nodes (ontop of base Nodes), create flows (your automations) so on and so forth, the Node RED interface does not need to be open for your flows to run.
Check the Youtube vids I linked to, and the install guide I linked