pimatic / rfcontroljs

nodejs modul with protocol support for different 433mhz switches and weather stations for the RFControl Arduino library.
GNU General Public License v3.0
49 stars 54 forks source link

Add Switch31 protocol #119

Closed philicibine closed 5 years ago

philicibine commented 7 years ago

Protocol for Masterplug UK wall sockets

mwittig commented 7 years ago

Can you please provide debug messages for testing? Thanks

philicibine commented 7 years ago

no problem. here they are.

button 1 on
debug [pimatic-homeduino]: received: [ 452, 1336, 3392, 10124 ] 0000220100010101000000010101000001000100010000000101010000000101000100010000000001010103
debug [pimatic-homeduino]: data: "RF receive 452 3392 1336 10124 0 0 0 0 0000110200020202000000020202000002000200020000000202020000000202000200020000000002020203"

button 1 off
 [pimatic-homeduino]: received: [ 456, 1320, 3384, 10100 ] 0000220100010101000000010101000001000100010000000101010000000101000100000101010100000003
debug [pimatic-homeduino]: data: "RF receive 456 3384 1320 10100 0 0 0 0 0000110200020202000000020202000002000200020000000202020000000202000200000202020200000003"

button 2 on
debug [pimatic-homeduino]: received: [ 456, 1324, 3384, 10112 ] 0000220100010101000000010101000001000100010000000101010000000101000100000100000100010103
debug [pimatic-homeduino]: data: "RF receive 456 3384 1324 10112 0 0 0 0 0000110200020202000000020202000002000200020000000202020000000202000200000200000200020203"

button 2 off
debug [pimatic-homeduino]: received: [ 452, 1336, 3384, 10108 ] 0000220100010101000000010101000001000100010000000101010000000101000100010001010001000003
debug [pimatic-homeduino]: data: "RF receive 452 3384 1336 10108 0 0 0 0 0000110200020202000000020202000002000200020000000202020000000202000200020002020002000003"

button 3 on
debug [pimatic-homeduino]: received: [ 452, 1336, 3376, 10112 ] 0000220100010101000000010101000001000100010000000101010000000101000100010100000000010103
debug [pimatic-homeduino]: data: "RF receive 452 3376 1336 10112 0 0 0 0 0000110200020202000000020202000002000200020000000202020000000202000200020200000000020203"

button 3 off
debug [pimatic-homeduino]: received: [ 452, 1332, 3380, 10108 ] 0000220100010101000000010101000001000100010000000101010000000101000100000001010101000003
debug [pimatic-homeduino]: data: "RF receive 452 3380 1332 10108 0 0 0 0 0000110200020202000000020202000002000200020000000202020000000202000200000002020202000003"

button 4 on
debug [pimatic-homeduino]: received: [ 456, 1320, 3384, 10096 ] 0000220100010101000000010101000001000100010000000101010000000101000100000001000101000103
debug [pimatic-homeduino]: data: "RF receive 456 3384 1320 10096 0 0 0 0 0000110200020202000000020202000002000200020000000202020000000202000200000002000202000203"

button 4 off
debug [pimatic-homeduino]: received: [ 456, 1324, 3384, 10100 ] 0000220100010101000000010101000001000100010000000101010000000101000100010100010000010003
debug [pimatic-homeduino]: data: "RF receive 456 3384 1324 10100 0 0 0 0 0000110200020202000000020202000002000200020000000202020000000202000200020200020000020003"

all on
debug [pimatic-homeduino]: received: [ 460, 1312, 3388, 10108, 20940 ] 00002201000101010000000101010000010001000100000001010100000001010001000100010000010001030000220100010101000000010101000001000100010000000101010000000101000100010001000001000104
debug [pimatic-homeduino]: data: "RF receive 460 3388 1312 10108 20940 0 0 0 00001102000202020000000202020000020002000200000002020200000002020002000200020000020002030000110200020202000000020202000002000200020000000202020000000202000200020002000002000204"

all off
debug [pimatic-homeduino]: received: [ 456, 1324, 3384, 10092 ] 0000220100010101000000010101000001000100010000000101010000000101000100000100010100010003
debug [pimatic-homeduino]: data: "RF receive 456 3384 1324 10092 0 0 0 0 0000110200020202000000020202000002000200020000000202020000000202000200000200020200020003"
philicibine commented 7 years ago

have tested on my own pimatic install. All seems to work fine. Tried setting the id to a different number and I can still pair the sockets to it.