Get RF signal from remote and transmit via Sonoff RFBridge

I have a very simple 433Mhz remote controlling a retractable patio awning.
3 commands “UP” “DOWN” “STOP”
Generic Chinese remote. No brand, markings or FCC ID.

I have OpenMQTTGateway running on a hacked Sonoff RFBridge (Pilight)

I want to transmit the remote codes via the Sonoff Bridge so I can get rid of the remote and control the awning via Home Assistant.

The remote signals aren’t decoded on existing protocols
SRFB : nothing decoded/no raw signal captured.
Pilight : nothing decoded; can only capture raw signal, however I get a sequence of 5 different raw decodes within a second for a single button press (the remote led blinks half a second)

MQTT Explorer

<i>11/01/2024 12:21:49 AM</i>

{"format":"RAW","rawlen":116,"pulsesString":"c:00110100101010101101010100101010110101001101001011010010101100110101010101010011010011001010101101010100110101012123;p:600,220,1852,4395@"}

<i>11/01/2024 12:21:49 AM*(-0.13 seconds)*</i>

{"format":"RAW","rawlen":114,"pulsesString":"c:012303002020212023030303002020202303030023020020230300202023002202020202020200220200220020202022020202002202020203;p:645,487,268,4826@"}

<i>11/01/2024 12:21:49 AM*(-0.13 seconds)*</i>

{"format":"RAW","rawlen":57,"pulsesString":"c:011222223220000040402240402240222222224040445422545454545;p:750,2067,365,1211,648,4786@"}

<i>11/01/2024 12:21:49 AM*(-0.11 seconds)*</i>

{"format":"RAW","rawlen":114,"pulsesString":"c:001101001010101011010101001010101101010011010010110100101011001101010101010100110100110010101011010101001101010102;p:575,203,4816@"}

<i>11/01/2024 12:21:48 AM*(-0.11 seconds)*</i>

{"format":"RAW","rawlen":114,"pulsesString":"c:012202013131312122020202012020202202020022020020220200202022002202020202020200220200220020202022020202002202020203;p:486,636,262,4844@"}

When I try to re-send the captured signals, it generates a much longer (time wise) signal than the original button (same button but different sample than above)

alias: MQTT send
sequence:
  - action: mqtt.publish
    metadata: {}
    data:
      qos: 0
      retain: false
      topic: OMG/OMG_RFBRIDGE/commands/MQTTtoPilight
      payload: '{"raw":"c:0000000000010001000000000000120000020000000300000003040040245000000553000003000600000000000600002300006630200000036000606;p:213,1311,699,457,1020,806,4945@"}'
  - action: mqtt.publish
    metadata: {}
    data:
      qos: 0
      retain: false
      topic: OMG/OMG_RFBRIDGE/commands/MQTTtoPilight
      payload: '{"raw":"c:012202013131213122020202002020202202020022020020220200202022002202020202020200220200220020202022020202002202020203;p:491,662,254,4849@"}'
  - action: mqtt.publish
    metadata: {}
    data:
      qos: 0
      retain: false
      topic: OMG/OMG_RFBRIDGE/commands/MQTTtoPilight
      payload: '{"raw":"c:0011010010101010110101010010101011010100201001011010010101100110101010101010011010030101010110101010011010101041560110100227;p:572,198,302,913,2609,1970,746,5817@"}'
  - action: mqtt.publish
    metadata: {}
    data:
      qos: 0
      retain: false
      topic: OMG/OMG_RFBRIDGE/commands/MQTTtoPilight
      payload: '{"raw":"c:0011000210000001001131313131310033430043000000004143434330434343434;p:377,763,1113,648,4793@"}'
  - action: mqtt.publish
    metadata: {}
    data:
      qos: 0
      retain: false
      topic: OMG/OMG_RFBRIDGE/commands/MQTTtoPilight
      payload: '{"raw":"c:001101001010101011010101001010101101010011010010110100101011001101010101010100110100110010101011010101001101010102;p:630,249,4833@"}'
description: ""

I haven’t installed the awning yet to test it but this doesn’t look right at first glance…

I also managed to generate a flex decoder with RTL-433 but not sure if If there’s a way to use their format/parameters to send in OMG.
More details here: https://groups.google.com/g/rtl_433/c/AgcIjjnwz1w

Let me know what you think,
how should I troubleshoot this / best course of action.
Thanks!

RTL_433 also provides the raw data pulse (“UP” button):

Downloads\rtl_433-win-x64-23.11> .\rtl_433 -w OOK:- UP.cu8
rtl_433 version 23.11 branch  at 202311281352 inputs file rtl_tcp RTL-SDR SoapySDR
;pulse data
;version 1
;timescale 1us
;created 2024-11-01 09:07:22
[Input] Test mode active. Reading samples from file: UP.cu8
;received 2024-11-01 09:07:22
;ook 285 pulses
;freq1 433850688
;centerfreq 433920000 Hz
;samplerate 250000 Hz
;sampledepth 8 bits
;range 42.1 dB
;rssi -0.1 dB
;snr 33.6 dB
;noise -33.7 dB
4876 548
584 176
204 556
208 552
584 176
584 176
580 180
584 172
584 180
208 548
212 552
208 556
204 552
580 184
576 180
580 172
588 180
208 552
204 556
204 552
588 180
200 556
204 552
588 172
584 180
208 552
204 560
576 184
580 176
584 176
204 556
580 176
208 556
208 552
208 556
200 556
204 556
204 556
204 556
580 176
208 560
204 556
576 180
208 556
576 180
584 176
580 176
588 172
208 560
204 552
204 560
200 556
580 180
208 552
204 552
208 552
208 560
4852 552
580 180
204 560
200 560
576 180
580 180
580 176
584 176
584 180
204 560
200 556
204 556
204 556
580 176
584 176
584 180
580 180
208 556
200 556
204 556
580 180
204 556
204 552
584 180
580 180
204 560
200 556
580 180
580 176
584 176
208 552
584 180
204 556
204 564
196 556
204 556
204 552
208 552
208 556
576 180
208 564
196 560
576 184
200 560
576 176
584 176
584 180
580 180
200 560
204 556
204 556
204 552
584 180
204 552
204 560
204 560
200 560
4852 552
580 180
204 556
204 556
580 180
576 180
580 184
576 184
580 180
204 556
204 552
208 552
208 560
576 180
576 184
580 176
580 180
208 556
204 556
204 552
584 180
200 560
200 560
576 180
580 184
204 556
204 556
580 180
580 176
584 180
204 552
584 176
208 556
204 556
204 556
204 552
208 556
204 560
200 552
580 180
204 560
204 556
580 180
200 556
580 184
580 180
576 184
576 180
204 560
204 556
204 556
204 552
580 184
200 560
204 552
204 564
196 556
4856 556
580 176
204 560
200 556
580 180
580 180
580 180
580 180
580 184
204 556
200 560
200 560
200 560
576 180
580 184
576 176
584 184
200 560
204 556
204 556
576 184
200 556
204 556
580 184
572 184
208 556
204 556
580 176
580 188
576 176
204 556
580 184
200 560
200 556
208 556
200 560
204 556
200 556
204 564
572 180
204 560
204 560
572 188
196 556
580 184
576 184
580 176
580 176
208 560
200 560
200 560
200 564
572 184
204 556
200 560
200 556
204 556
4860 552
576 184
200 560
200 560
576 176
584 180
580 176
584 180
580 180
204 556
204 560
200 560
200 560
576 180
580 184
576 180
580 184
204 556
200 560
200 556
580 180
204 556
204 556
580 180
580 184
200 560
204 560
572 180
580 184
580 176
204 552
584 180
204 560
200 564
196 560
200 560
200 556
204 556
204 556
580 180
204 560
204 560
576 180
200 560
580 176
580 184
576 180
580 180
204 556
208 560
196 560
200 564
576 184
196 556
204 564
196 556
204 48764
;end