based on this soft: https://en-forum.supla.org/viewtopic.php?f=10&t=6445
allows us to control the Sonoff Touch also with IR remote control (learn the IR codes of remote controls) or through the integrated Web server at the expense of the temperature sensor.
once setup WiFiConfig and Supla cloud:
then we access the IR configuration page through the browser with the ip of the ESP8266 or with mDNS.
with IP:
if in WiFiConfig we have selected a port other than 80 we will have to specify it in the url" http://module_ip:port "Eg."http://192.168.1.104:80"
with mDNS:
to access we open in the browser http: // "Supla name" .local: port
where Supla name and port are the ones we have defined in WiFiConfig.
Eg. http: //supla_ir.local: 80
Remember not to use spaces or special characters in "Supla Name" or mDNS will not work.
Here we can control the 3 channels by clicking on the ON -OFF buttons.
To learn the IR codes:
With an IR remote control we press a button the LED turns on for a moment indicating that it has received the IR code.
We update the page in the browser and we will see something like this:
remember to refresh the page after capturing some IR code.
click Store for the desired IR code and we will see the page to Store the IR codes:
select the desired function for the IR code "turn on or off some of the 3 channels" and click on Store.
To manage the saved codes we click on:
Here we can download or delete the saved IR codes.
In the Tools tab we can access Firmware update, upload stored IR code and delete all the saved IR codes.
connect IR receiver to RX