Schedule IRSend
Posted: 15 Jan 2021, 20:24
Hello everyone. I've got a simple question about using the IRSEND function... How can I schedule sending IR codes locally on the ESP ? Doing something like the below code doesn't work, no matter what I do.
On System#Boot do
timerSet,1,60
endon
On Rules#Timer=1 do
SendToHTTP,10.2.3.152,80,'/control?cmd=IRSEND,NEC,0x5D0540BF,32'
SendToHTTP,10.2.3.152,80,'/control?cmd=IRSEND,NEC,0X5D05C03F,32'
timerSet,1,120
endon
I read a post, talking about using Sendtohttp to send IRcodes in rules, not working, due to the fact that the chip can't listen to http requests while it's executing one.
Is there another way I can invoke the IRSEND function and schedule it ?
On System#Boot do
timerSet,1,60
endon
On Rules#Timer=1 do
SendToHTTP,10.2.3.152,80,'/control?cmd=IRSEND,NEC,0x5D0540BF,32'
SendToHTTP,10.2.3.152,80,'/control?cmd=IRSEND,NEC,0X5D05C03F,32'
timerSet,1,120
endon
I read a post, talking about using Sendtohttp to send IRcodes in rules, not working, due to the fact that the chip can't listen to http requests while it's executing one.
Is there another way I can invoke the IRSEND function and schedule it ?