Olimex ESP32-POE-ISO with CC1101 wmbusmeter

Hi,

I just wanted to share my experience with OLIMEX ESP32-PEO-ISO and CC1101 configuration and connection through UEXT connector, as I have struggled for some time to find configuration that would work.

Below I share my partial esphome config

#wmbusmeter
external_components:
  - source: github://SzczepanLeon/esphome-components@version_4
    refresh: 0d
    components: [ wmbus ]

wmbus:
  # CC1101 power:
  # GND → UEXT pin 2; CC1101 pin 1 (GND);   colour red   
  # VCC → UEXT pin 1; CC1101 pin 2 (3.3V); colour brown
  gdo0_pin: GPIO4    # CC1101 pin 3 (GDO0 - TX pin) → ESP GPIO4 /  pin 3;   colour orange
  cs_pin:   GPIO5   # CC1101 pin 4 (CSN)           → ESP GPIO5 /   pin 10;  colour black
  clk_pin:  GPIO14   # CC1101 pin 5 (SCK)           → ESP GPIO14 / pin 9;  colour white
  mosi_pin: GPIO2    # CC1101 pin 6 (MOSI)          → ESP GPIO02 / pin 8;  colour grey
  miso_pin: GPIO15   # CC1101 pin 7 (MISO)          → ESP GPIO15 / pin 7;  colour purple
  gdo2_pin: GPIO36   # CC1101 pin 8 (GDO2 - RX pin) → ESP GPI36 /  pin 4;  colour yellow

  frequency: 434.475

  all_drivers: False
  log_all: True

and pictures of what it looks like using offcial Olimex UEXT cable to connect the two boards.

I tried to achieve this with OpenMQTTGateway, but can’t get it working (doesn6register short presses of remote buttons, can’t compile it from source to turn on reporting raw signals…). I went that way because chatgpt told me esphome is not good fit for 433, but works good for wmbus 868MHz.

Your post gives me hope, but I’m quite confused by it. You specify the component as wmbus (which uses 868MHz), but as frequency you put value close to 433? Is this code supposed to receive RF433 signals (can be ASK/OOK contact sensors for example), or 868 wMBus (water meter for example)

Hi, tomas1,

the code is used for cc1101 module tuned for 433 MHz, because our water company issued water meter iperl sensus sends signal on this frequency, and wmbus telegrams are decoded by wmbusmeter.

I do not see why would esphome be bad fit for 433 Mhz and work for 868 Mhz as esphome software has nothing to do with the correct rf module.

So I digged into it more and it looks like the problem for me is that ESPHome work with 433, but only with the cheap receivers with poor signal. I’m trying to reach 6 floors down, so I opted for CC1101 module and that is what ESPHome can’t do. But now reading your post, you have CC1101. I don’t understand anything now…
EDIT, I think I found it. It works with RF433 with cheap adapters with just 1 control pin. It also works with CC1101 with wmbus, as wmbus component let’s you specify mosi, miso and other pins. But it doesn’t work with RF433 + CC1101, because remote_receiver component let’s you specify just 1 pin, no mosi/miso.