C++ lib for controlling your proove RF sockets
Thanks to http://tech.jolowe.se/arduino-home-automation-project/ for explaining the protocol
Packet structure:
Bit nbr: Name:
01-52 Transmitter code. 26 bits, sent as 52 (every other bit is the inverse of previous)
53-54 Group On(01), Off(10)
55-56 On(01), Off(10) (or Dim(11)?)
57-60 Channel. 1=1010, 2=1001, 3=0110, 4=0101
61-64 Switch. 1=1010, 2=1001, 3=0110, 4=0101
(65-73 Dimmer value, 16 steps. (optional))
# 10 20 30 40 50 60
# 1234567890123456789012345678901234567890123456789012 34 56 7890 1234
----------------------------------------------------------------------------
#1 On: 1010100101101001010101100101011001010101010101010110 10 01 0101 0101
#1 Off: 1010100101101001010101100101011001010101010101010110 10 10 0101 0101
#2 On: 1010100101101001010101100101011001010101010101010110 10 01 0101 0110
#2 Off: 1010100101101001010101100101011001010101010101010110 10 10 0101 0110
#3 On: 1010100101101001010101100101011001010101010101010110 10 01 0101 1001
#3 Off: 1010100101101001010101100101011001010101010101010110 10 10 0101 1001
Gr On: 1010100101101001010101100101011001010101010101010110 01 01 0101 0101
Gr Off: 1010100101101001010101100101011001010101010101010110 01 10 0101 0101