Too early to call.
The code is accepted to represent two buttons but the garage door does not respond.
This 2CH receiver/transmitter is to be configured.
Each channel triggers a relais. Push A, relay 1 makes contact. Release A, relay releases contact: Jog mode it is called I believe.
I’m not sure about the “command” option of the “Switch22” protocol.
Can someone help me out?
Debug code when pushing button A on the remote:
debug [pimatic-homeduino]: doorbell1: { id: 3884, unit: 1930, state: true }
debug [pimatic-homeduino]: led4: { id: 51978, command: 'code:11100001' }
debug [pimatic-homeduino]: led3: { id: 51978, command: 'code:11100001' }
debug [pimatic-homeduino]: led2: { id: 51978, command: 'code:11100001' }
debug [pimatic-homeduino]: led1: { id: 51978, command: 'code:11100001' }
debug [pimatic-homeduino]: contact3: { id: 216913, contact: false }
debug [pimatic-homeduino]: contact2: { id: 216913, contact: false }
debug [pimatic-homeduino]: pir2: { unit: 6, id: 19, presence: true }
debug [pimatic-homeduino]: switch22: { id: 216913, command: 'A' }
debug [pimatic-homeduino]: switch19: { id: undefined, unit: undefined, state: undefined }
debug [pimatic-homeduino]: switch15: { id: 831662, unit: 0, state: true, all: true }
debug [pimatic-homeduino]: switch5: { id: 216913, unit: 0, all: true, state: false }
debug [pimatic-homeduino]: received: [ 348, 1052, 10660 ] 10100101100110100101010110011001101010010101011002
debug [pimatic-homeduino]: data: "RF receive 1052 348 10660 0 0 0 0 0 01011010011001011010101001100110010101101010100112"
Debug code when pushing button B on the remote:
debug [pimatic-homeduino]: doorbell1: { id: 3884, unit: 906, state: false }
debug [pimatic-homeduino]: led4: { id: 51978, command: 'code:11100010' }
debug [pimatic-homeduino]: led3: { id: 51978, command: 'code:11100010' }
debug [pimatic-homeduino]: led2: { id: 51978, command: 'code:11100010' }
debug [pimatic-homeduino]: led1: { id: 51978, command: 'code:11100010' }
debug [pimatic-homeduino]: contact3: { id: 216913, contact: true }
debug [pimatic-homeduino]: contact2: { id: 216913, contact: false }
debug [pimatic-homeduino]: pir2: { unit: 6, id: 19, presence: true }
debug [pimatic-homeduino]: switch22: { id: 216913, command: 'B' }
debug [pimatic-homeduino]: switch19: { id: undefined, unit: undefined, state: undefined }
debug [pimatic-homeduino]: switch15: { id: 831662, unit: 0, state: true, all: true }
debug [pimatic-homeduino]: switch5: { id: 216913, unit: 0, all: true, state: true }
debug [pimatic-homeduino]: received: [ 348, 1048, 10632 ] 10100101100110100101010110011001101010010101100102
debug [pimatic-homeduino]: data: "RF receive 1048 348 10632 0 0 0 0 0 01011010011001011010101001100110010101101010011012"
What first seems strange and I don’t understand that it is a 2 channel device where I would expect different unit/id’s for A and B.
For sure A operates relay 1 and B operates relay 2.
The garage door is working like that: pulse from relay 1 to open, pulse again to intermediate stop, pulse again open, etc until fully open. For close the same operation using relay 2.>! Spoiler