Lets say I have a server ESP and a client ESP and I want the server to read some sensor data from the client. How would that look Arduino style?
Essentially, I am looking to have a server mounted atop my garage door opener and client mounted to the door which will host a tilt switch. So when I open the server IP from my smartphone; it will ask the client the status of the garage door then send a response to the smartphone. At which time I could push a button that will send a request to the server to activate the opener.
I don't need it 100% spelled out for me but at least a good nudge in the right direction would be most appreciated.
Cheers,
Clayton Allen