Can someone please help me with 433mhz code?

I am about to pull all of my hair out, what little I have left lol. But I’m trying to have an esp32 control 3 separate 433mhz outlets. Toggle on and off. The transmitter I’m using is a FS1000A and it’s on D23. I had this working before, but I changed isp’s and got a new router, I couldn’t go in and change the WiFi information after I got it, and of course I forgot to save the original code! Rookie mistake. Could someone help me write the code to have just 3 switches, that toggle on and off? My codes I received from the original remote are

On : Received 10291868

Bit length: 24

Off: Received 10291860

Bit length: 24

Outlet 2

On: Received 10291866

Bit length: 24

Off: Received 10291858

Bit length: 24

Outlet 3

On: Received 10291865

Bit length: 24

Off: Received 10291857

Bit length: 24

I have tried every AI to try to help too, and you know how confident they sound, and nothing is working. I can give what code I’m trying to use now if need be. Been working on this for days. Finally broke down to ask for help. Please? Anyone?

You don’t remember the protocol?

Possibly try remote_transmitter.transmit_rc_switch_raw:?

Timing can be fiddly though. I ended up using Tasmota on a Sonoff bridge for all my 433Mhz stuff - I found ESPHome RF a bit too much for my brain.

no, but I had one of the ai’s to make a toggle for each protocol, and none worked still. I know, I need to learn this stuff myself, but it’s the best I could do

Do you still have the original remote?

yes, that’s how I got the codes

Can you setup your esp with 433 receiver module? Dump all likely gives you the protocol.

do you know openmqttgateway?

It is specialised on ESP32 and RTL433 & Bluetooth