New to Node Red and I am curious what would be the appropriate route for pinging a website or ip address and if the ping is successful activate a gpio pin and if the ping is unsuccessful activate another gpio pin...the idea is to show a green led for operational and a red led for unsuccessful
I would start by using node-red-node-ping to do the ping and then GPIO Out nodes to drive the outputs.
Do it in stages, start by getting the ping working.
I recommend watching this playlist: Node-RED Essentials. The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot in about 1 hour. A small investment for a lot of gain.