I'm having some issues getting the signal sent by my Dumilanove to a remote-controlled power socket using RC-Switch and was hoping somebody here would have some experience with the process!
When checking out the commands sent by the remote control to the power socket, a turn on command looks like this:
Decimal: 6315308 (24Bit) Binary: 011000000101110100101100 Tri-State: not applicable PulseLength: 698 microseconds Protocol: 2
Raw data: 6988,528,992,1024,496,1028,496,528,1000,528,992,532,996,524,992,532,996,528,996,1020,500,528,992,1024,508,1020,500,1024,500,524,996,1024,508,524,1000,520,996,1020,504,72,92,40,172,64,304,376,40,740,44,
If I use rc-switch to send back the following, I get no response from the power switch:
mySwitch.setProtocol(2);
mySwitch.send(6315308, 24);
The data from the arduino looks as follows:
Decimal: 6315308 (24Bit) Binary: 011000000101110100101100 Tri-State: not applicable PulseLength: 698 microseconds Protocol: 2
Raw data: 6976,732,1384,1432,688,1428,688,724,1392,724,1392,724,1392,728,1388,728,1384,732,1384,1424,688,732,1384,1432,684,1428,688,1428,684,728,1392,1424,692,720,1396,720,1392,1424,692,728,1388,1424,692,1420,692,724,1392,724,1388,
The only difference I can see is in the raw data- I'm at a loss what to change to make it work!
Any help would be much appreciated!