Samsung TV - SKY Box - Heater using IR Remote - Using IR Sender Pin3

Hello

I have found the below code on this forum to control my Samsung TV.
This works, fantastic!

//Turn Samsung TV on/off repeatedly to test program. IR LED connected to pin 3.

#include <IRremote.h>

#define POWER 0xE0E040BF //from IRrecvDemo, Ken Shirriff
#define SAMSUNG_BITS 32

IRsend irsend;

void setup()
{
pinMode (3, OUTPUT); //output as used in library
}

void loop() {

irsend.sendSAMSUNG(POWER, SAMSUNG_BITS);

delay (5000);

}//end of loop

I have changed the hex code (it needs the prefix 0x) from E0E040BF (on/off) to E0E0F00F (mute), E0E0E01F (volume up) this all works, all good so far.

I have also captured the code (using the Arduino) from the SKY remote, on/off, Sky Pause, Sky Record, I also have an electric heater which can be turned on or off via an IR remote I also have the Hex code for this.

I can not control the SKY box or heater.
Is it only possible to control the Samsung TV in 1 script?

I assume the code that makes it work for the Samsung is "BITS 32"

I have found the following info on a SKY post "the RC6 codes are 24 bits and all have a modulation frequency of 36kHz" - although I don't understand what this means, I have changed the code from "Bits 32" to "Bits 24" and also to "Bits 36" - unfortunately this won't work.

Any ideas / Help would be appreciated.
Please don't get too technical, I have only just started.

RC6 and Samsung are the protocols of the IR signal. The two protocols are not the same. For the Sky unit you need to send using the RC5_RC6 protocol.

Fantastic, thanks.

I changed the protocol From Samsung to RC6 and the frequency (if thats correct) from 32 to 24 and I can now pause the SKY box and turn the Samsung TV off!

How can I work out what settings I need for the RC heater, I have the on & off Hex code, is there a way to find out what settings I need.

The remote is a "Remote Control For Exbury And X1 Dimplex"
I can not find a spec for this anywhere.

You may need to use the sendRaw function. Here is the sendRaw example from the IRremote library.

Is there an example that shown how to control the mysky hd decoder?
I need only to switch it on and off....