Redirecting to ESP8266

Hello guys :slight_smile:

Can someone guide me, how to do this:

I have build PLC like solution with Mega and Ethernet shield that works perfectly.
There is a gate to my yard for a car, which I need to open remotely. PLC is placed inside the house,
behind several thick walls, so RF is out of the question. My WIFI however, is reaching the gate, so I tought about using ESP for this task.

Can I somehow redirect one of thw buttons (did that with AJAX) on my PLC webserver site to send data to ESP inside the gate to open it?

Thanks a lot! :slight_smile:

NedelkaO:
PLC is placed inside the house,
behind several thick walls, so RF is out of the question.

Lower frequencies penetrate walls etc better than higher frequencies.
RF runs at 315 or 433 or 866 MHz, while Wifi runs at 2.4GHz.

But... if your Wifi is reaching the gate, no harm in going with that.

Coming back to a solution for what u are trying to do, wouldn't it be easier to just use something like one of these 2 channel remote control units?

aisc:
Coming back to a solution for what u are trying to do, wouldn't it be easier to just use something like one of these 2 channel remote control units?

Maybe I could. I'm thinking about hacking the remote and attaching it to output relay of my PLC. However, not sure about the range. Need to test that somehow.

Well the remotes usually operate at 12V.
In theory anyway, the higher the voltage, the further the range.