Trouble sending IR command to rc curtains

I forking did it !!

The signal you suggested didn't work. So I tried sending the raw D20 code 4 times.. didn't work.

I'll spare you all the things I tried that didn't work.

What worked:

Overriding the frequency in my php script to 40khz and using that raw dump for the signal. Wtf right?

Like my script extracts the frequency from the manufacturer's codes that they emailed me. Normally I get :

Carrier frequency 38028.866495633

I overrode that and changed it to 40000. With carrier frequency you get the multiplier in microseconds.

Whenever I changed frequency in IRsend... it either didn't make a difference or it stopped working entirely.

So this begs the question.... what's even the point of setting the frequency in irsend.sendRaw() ? If you were entering the PRONTO code format as raw, I could understand. Or even hex->decimal in raw, but with the values already taking in the multiplier.... ah who cares it works.

Thanks a lot for the help man!