I purchased a few of these buttons (https://www.aliexpress.us/item/3256804423796239.html) and I have an SRX882S receiver. Trying to use ESPHome and running in to issues with what to say is a message from each button. I created an esphome image with dump: rc_switch. When I push Button A, it seems to vary a bit from one push to the next (maybe with how long I push the button?)
[20:51:27][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=4 data='100100100100110011110001'
[20:51:27][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=4 data='100100100100110011110001'
[20:51:27][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=1 data='100100100100'
or
[20:52:21][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=1 data='100100100100110011110001'
[20:52:21][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=1 data='100100100100110011'
Then if I push button B, I get:
[20:53:00][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=4 data='010000111000000111000001'
[20:53:00][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=4 data='010000111000000'
or
[20:53:30][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=1 data='01000011100000011'
[20:53:30][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=4 data='01000011'
[20:53:30][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=1 data='01000011'
[20:53:30][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=1 data='010000111000000'
[20:53:30][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=1 data='01000011'
How do I determine what to put in the receiver code in order to trigger on a button push?