Controlling relays over Ethernet

Hi,
I looking at getting a relay board, but I need to control it remotely via ethernet and using curl or something similar to do this. I see you have a node-red node, this there documentation on this?

If someone can point me in the right direction for this, it will say me a lot of time looking through pages of information.

Thanks
Andy

Hi Andy,

If you want to use Node-Red then you can use our ncd-red-wireless-2 library. You can install it in your Node-Red installation by navigating to the node-red home directory, then run command npm install ncd-red-wireless-2
After it’s installed you can import this example flow which shows how to turn relay 1 on and off:

You will need to open the function node and change the destination address to the address of the module installed in the relay controller.