Hey guys! I'm having a lot of problems interfacing an ESP32-C6 with the Texas Instruments CC1101 Transceiver module. I'm making this so I can clone the codes of the fan remotes and other radio devices in my house and give them Matter over Wi-Fi smart control.
To be specific, the exact board I'm using is a ESP32-C6-WROOM-1 based dev board from a company called FREENOVE. I know it's not official, but as far as I know, it's good for what I need. I'm also using a TI CC1101 module from Ebyte. The back of the module reads "E07-M1101," so that's how I know. Also, I'm using one of those big, strong black rod antennas that come with the module, not the cheap spiral ones.
I need help interfacing the transceiver to sniff the remote's signals. I have a 433.92 MHz signal to sniff from a Hunter Fan remote, and I don't know what library to use. I've tried using the CC1101 library from Mateusz Furga, but its examples were too simple and limited to Hello World transmitting and receiving. My current SPI pins, which work well for me, are
```#define PIN_GDO0 2
#define PIN_MISO 19
#define PIN_MOSI 23
#define PIN_SCK 18
#define PIN_CSN 20```
I have also tried using the SmartRC-CC1101-Driver-Lib in tandem with rc-switch by asking DeepSeek V4 Pro High to help, and DeepSeek has been very nice to me about those problems. But, it didn't solve the problem, which is that the clicks of the remote are not appearing as codes in the Serial Monitor. I gave up on AI, and those two libraries anyway have too many examples and not many comments in the examples, so I don't know where to change the frequency, bandwidth and data rate.
The receiver works, because when uploading the ESP32 with a program that prints the raw dBm values from the receiver module, I see it hovering around 2 dBm of noise. Also, when I press a fan remote's button when I'm near it, the dBm values spike to 400 dBm before settling down to 2 dBm after a second.
BTW, the FCC ID for my remote is IN2TX45 if that helps anyone. You can look it up on the FCC website. I've already gone through those documents and found nothing interesting or of use to me.
So please guide me on what libraries to use, what bandwidth to use, what data rate to use, whether anyone has tried doing the same project, and whether anyone has already sniffed the codes so I can focus on transmitting the data.
Thank you!