Page 1 of 1

WLAN / IR gateway

Posted: 03 Feb 2017, 11:26
by joedi
Hi,

first of all thank you very much to all the contributors to this project :!:
It is really amazing how easy you can build solutions on this platform.

I am planning to build a small project, which shall allow me to read and send IR codes.
The idea is to read IR sequences from existing IR remote controls (learn), copy them into my application on another device and send these sequences when desired using http requests.
I did this with a raspberry before which is a kind of hardware overkill and now want to make use of ESP8266 which should be more than enough for this task.

The hardware is already set up and tested:
- IR receiver TSOP4838
- IR LED with 2N2222 driver
- blue LED for optical feedback

I also built ESP Easy from the latest codes, so that I can configure the devices (IR TX cam after release 120).

Now as a beginner I got stuck at a very basic point:
1.) how can I read data from the IR receiver through http requests?
Or is this only possible as a push (http send)? I just want to read the latest IR sequence received.
2.) how can I send IR code sequences using a http request?

I checked Wiki and forum, but did not find the solution. :oops:

Thanks in advance, Jörg.