User avatar
By Jose Gonzalez
#57250 Hi.

I'm new in the forum,and my laguage is not english,so,sorry for that.I'm going crazy using esp8266-01,Etekcity 433 mhz sockets and Blynk app.I have used ReceiveDemo_Advance ,to sniff the codes which come with the remote controller.Later i have used SendDemo with the sniffed codes,to test the sockets,and they don't works at all.I noticed that the codes they were sent ok,but the pulse length was wrong.Then i have used :

mySwitch.setPulseLength(xxx); using the pulse length of my remote,and sockets works very well.

The problem comes,when i use Blynk app,does no matter,which value i use in PulseLength sentence,always,Blynk sends wrong values,and i know this is critical.
My remote sends codes in a pulse length of 187 microseconds,and the Blynk sends the codes in a pulse length of 351,356,352 or 356 microseconds,and the sockets do not works.

Can anybody hel me with this?

Thanks in advance.
User avatar
By krzyspx
#59254 I use the library RCswitch on the ESP-12 without any trouble
My procedure for sending 433MHz code after pressing the button BLYNK APP looks like
void sendkodpilot (unsigned long codeA)
{
mySwitch.setPulseLength(320);
mySwitch.setProtocol(1);
mySwitch.setRepeatTransmit(4);
mySwitch.send(codeA, 24);
}

You should change 320 to 190