I have a CC1101 connected to a ESP32 (DOIT devboard).
I have working arduino IDE code that uses radiolib (7.x) for this to send raw pulse coded to switch a light on/off. I saw official support for cc1101 and would like get this in existing esphome on home assistant.
Looked though the documentation and the code below should work, but doesn’t. Getting this in the logs:
[15:38:33.336][D][button:022]: 'ligth_light_toggle' Pressed.
[15:38:33.389][W][cc1101:254]: Timed out waiting for TX state!
This is wiring (that works with arduino IDE code) cc1101 board to esp32:
Vcc: pin 1 3V3
GND: pin 2 GND
mosi_pin: GPIO23
sclk_pin: GPIO18
miso_pin (GDO1): GPIO19
GDO2_pin: GPIO21
GDO0_pin: GPIO16
csn_pin: GPIO22
Does anybode know what i am doing wrong or how to get ths working?
Just tried the same config as you, same pins and worked perfectly for me, could drive my RF blinds up/down/stop using RAW transmit. I’m also seeing random receive data as well. Only difference is I’m using ESP-IDF framework.
Mmmm. I upgraded to 2025.12.1 this morning. (there was a something about frequency for the cc1101 in the update). And now it works. So still Arduino framework.
Have you tried ESPHome 2025.12.2? It killed mine, it is Lilygo T Internet POE board that I use Ethernet and as a BLE proxy. Completely broke it, no Ethernet, no logging, just wondered if anyone else has success or just me? Works fine on 2025.12.1. I’ll raise an issue on GitHub after the holidays.
Just upgraded to 2025.12.2. Still works fine. If yours worked on 2025.12.1, but not on 2025.12.2 it’s probably has something to do with default values bugfix in 2025.12.2: