Hi,
I need a very simple interaction between a website and node red.
Node Red is running on my raspberry pi. It is connected to a lamp. The raspi has apache installed. I can access the index.html from within my home network.
When I press the link, from any device, it should trigger node red to turn on one GPIO and thus the lamp.
This is supposed to be a very simple tutorial for a noob like me, because I have been struggling with too complex solutions far to long. I don't know what JSON, MQTT or whatever else is and if I need it in that case.I just need a connection between a website and node red, that is not using the dashboard nodes, because I will build something more complex later on, once I understand how to use a custom interface.
It would be great if you could build a simple node-flow, so that I understand if i need a html, get, mqtt or whatever node to listen for the click, and if you'd help me find the correct link/json/whatever target I need at the index.html to communicate with my pi.
Thanks
Tom.S