Hi,
I’ve built an esphome rf proxy and expected it to show all devices it can receive (and decode), but that doesn’t seem to be how it works.
I have a cheap 433 temperature sensor that is so old that I can’t even read the labels anymore, but it still sends data to it’s base station like a champ.
Is there a project or integration I need to add to show all devices it can receive and decode?
I’m using this code:
esphome:
name: cc1101
friendly_name: cc1101
# Replace this with your actual platform if you aren't using ESP32.
esp32:
board: esp32dev
flash_size: 4MB
framework:
type: esp-idf
version: recommended
sdkconfig_options:
COMPILER_OPTIMIZATION_SIZE: y
#CONFIG_FREERTOS_UNICORE: y
#CONFIG_ESP32_DEFAULT_CPU_FREQ_160: y
#CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ: "160"
#CONFIG_ESP_TASK_WDT_TIMEOUT_S: "20"
#CONFIG_BT_BLE_50_FEATURES_SUPPORTED: y
#CONFIG_BT_BLE_42_FEATURES_SUPPORTED: y
variant: ESP32
wifi:
ssid: !secret wifi_nonet_ssid
password: !secret wifi_nonet_password
fast_connect: true #required for hidden ssids
reboot_timeout: 10min
#output_power: 8.5
logger:
level: DEBUG
debug:
update_interval: 5s
# Enable Home Assistant API
api:
encryption:
key: !secret ha_api_key
ota:
- platform: esphome
encryption:
time:
- platform: homeassistant
esp32_ble_tracker:
id: ble_tracker
#max_connections: $max_ble_connections
scan_parameters:
#continuous: true
interval: 211ms
window: 120ms
bluetooth_proxy:
#connection_slots: 5
active: true
safe_mode:
spi:
clk_pin:
number: GPIO18
miso_pin: GPIO19
mosi_pin: GPIO23
cc1101:
id: cc1101_radio_433
cs_pin: GPIO5
# modulation_type: ASK/OOK
# symbol_rate: 5000
# filter_bandwidth: 200kHz
i2c:
sda: GPIO21
scl: GPIO22
scan: true
id: bus_a
text_sensor:
- platform: debug
device:
name: "Device Info"
reset_reason:
name: "Reset Reason"
# - platform: ble_scanner
# name: "BLE Devices Scanner"
sensor:
- platform: hdc1080
temperature:
name: CC1101 Temperature
icon: "mdi:temperature-celsius"
humidity:
name: CC1101 Humidity
icon: "mdi:water-percent"
update_interval: 60s
#------------------------
# CC1101 GDO0 wired to one GPIO pin
remote_transmitter:
id: rf_tx_433
pin: GPIO4
carrier_duty_percent: 100%
on_transmit:
then:
- cc1101.begin_tx: cc1101_radio_433
on_complete:
then:
- cc1101.begin_rx: cc1101_radio_433
# CC1101 GDO2 wired to a second GPIO pin
remote_receiver:
id: rf_rx_433
pin: GPIO13
radio_frequency:
- platform: ir_rf_proxy
name: RF Proxy Transmitter
frequency: 433.92MHz
remote_transmitter_id: rf_tx_433
# Optional: retune the CC1101 when an API request specifies a different
# carrier frequency. `x` is the radio_frequency call object.
on_control:
then:
- if:
condition:
lambda: "return x.get_frequency().has_value() && *x.get_frequency() > 0;"
then:
- cc1101.set_frequency:
id: cc1101_radio_433
value: !lambda "return *x.get_frequency();"
- platform: ir_rf_proxy
name: RF Proxy Receiver
frequency: 433.92MHz
remote_receiver_id: rf_rx_433