It basically takes the raw transmitter code (ugly huge binary number) and returns something of value.
You are right though, it's not an int.
I fixed it by changing if (value == 7419184) to if (mySwitch.getReceivedValue() == 7419184)
Thanks again for your help getting the wheels in my head turning.
Pending this still working in the morning after i leave it turning and burning over night, i think this project might be a success.
Just as an aside, do you have any experience of running an Arduino constantly? The device is solar powered and makes an excess so consumption is not an issue, but I had been contemplating using a real time interface to make it turn off or at least reset itself outside of required hours (which is only 2 x 45min windows on school days.
I will be using an an external power regulator Power Regulator 28V for PoE and Project Powering | Freetronics feeding 5v into the USB socket to take any strain off the onboard vReg due to it likely going over 12v when the sun is shining especially brightly.