How do I clone an rf transmitter/remote?

I am currently making a little controller that is going to attach to the left of my keyboard. It is designed to control the lights on and around my desk, and the main way to interact with it is going to be with a "smart knob" similar to the one ScottBez1 made over here: DIY haptic input knob: BLDC motor + round LCD - YouTube.

Some of the lights are Alexa/home compatible, so for those, I am going to be using a raspberry pi to control them, as home automation is already made for pi's, and already has integration for those specific lights already. But for the remainder, they're going to be controlled with either an Arduino pro micro or an esp32. The one main light that I am asking about, is a xaiomi monitor lightbar. It has a dedicated remote for it and does not have support for phones, or anything else to connect to it outside of the one remote it comes with. it operates at 2.4 GHz. I am wanting to know where I could go to get the information on how to first receive those signals with an Arduino (or esp32), and then how to send them out again. Essentially cloning the remote. If that's not possible, maybe ill just hook up a receiving board to the remote and solder on a couple of transistors, idk. But I would like for it to be a 100% replacement. And I know this is possible because I found a git repo, where someone has already done this, but they provided no information outside of the code, and I have no idea how to use it.

If anyone is able to help with this, it is greatly appreciated. I have not been able to find hardly any information on how to do this online. Everything I can find is for ir remotes, or how to wire up a receiver to an Arduino, and go about it that way

Thanks in advance,
Trevor

first place a link to the repository

1 Like

Sorry, I forgot to add this to my first post.

This is the link to the repo:

And here is the parent "article" hosted on adafruit that links to the previously mentioned link. (though it is very lacking in information. But is the most I was able to find online) :

While the main goal is to communicate with the light bar, I don't want to exclusively utilize someone else's code. I would like to also know how to reach the same conclusion as to what the pulses are, so I can do this with something else if need be. additionally, that's running on the assumption that they're the exact same across all of the lightbars, and there are no variances between them. It's just like I said, I can find hardly any information online about this. I'm probably not searching for the right thing, but it doesn't help that it's also a bit niche

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.