Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/juanboro/esphome-radiolib-cc1101

Enable CC1101 as a RF remote receiver/transmitter in ESPHome (using Radiolib)
https://github.com/juanboro/esphome-radiolib-cc1101

arduino cc1101 esp32 esphome radiolib

Last synced: 24 days ago
JSON representation

Enable CC1101 as a RF remote receiver/transmitter in ESPHome (using Radiolib)

Awesome Lists containing this project

README

        

# esphome-radiolib-cc1101
Uses [Radiolib](https://github.com/jgromes/RadioLib) to enable a TI-CC1101 module as an ESPHome RF direct OOK remote receiver/transmitter.
# Basics
The included yaml files include configuration examples for ESP8266 and ESP32 micro-controllers. You should start by enabling dump_raw and making sure noise isn't being received when no transmissions are occurring. Adjusting bandwidth, data-rate, and AGC parameters can help with creating an optimal receive setup. The example includes the ability to expose these as controls in ESPHome or HomeAssistant.
- More bandwidth will likely enable receiving more varying devices on the same frequency, but will increase noise and decrease range.

## debugging signals
The ESP32 example includes an example UDP dumper that can help with analyzing pulse data.
- Use rtl_433 on a host with the socat tool to decode pulses streamed to udp broadcast:
```socat -u UDP4-RECV:5009 STDOUT | rtl_433 -r ook:-```

## rtl_433 decoding with ESPHome directly
See [esphome-rtl_433-decoder](https://github.com/juanboro/esphome-rtl_433-decoder)

## notes
Transmit/Receive was verified to work with esp8266 and ESP-32 board. Right now I can only have either receive or transmit work (not both) with the new ESP-remote code in the new ESP-IDF.

# see also:
- Direct cc1101 support in ESPHOME component (no radiolib dependency): https://github.com/esphome/esphome/pull/6300
# based on:
- https://github.com/dbuezas/esphome-cc1101
- and https://github.com/NorthernMan54/rtl_433_ESP/blob/main/src/rtl_433_ESP.cpp
- and https://github.com/smartoctopus/RadioLib-esphome/blob/master/examples/CC1101/CC1101_Settings/CC1101_Settings.ino
- and https://github.com/LSatan/SmartRC-CC1101-Driver-Lib