Bluetooth Grundfos Alpha3 BLE

Hi.
I’m all new to ESP32.
I’ve bought a couple of ESP32-C6 SuperMini boards. I wanted to install the Grundfos Alpha3 project on it. Grundfos Alpha3
It compiles fine, connects fine to my pump and HA is able to connect as well and see the attributes. But this is where it ends: I do not get any readings / data from the pump…
Talked a lot to CoPilot regarding all this. It tells me that the BLE stack is different on an ESP32-C6 compared to a ESP32-C3 and that I should acquire the later. Is this true? BT stack is different on C6 compared to C3?

Doesn’t the Alpha3 project work on a C6?

Hope someone can shed som light on the subject?

Turn on ESPHome debugging in your code. VERBOSE level.

What does your yaml say now? Post in formatted [</>] mode please.

What does your compile logs say? Post some of the run log included as well so we can see how it chats with your Grundfos devices over BLE.

Are the notes in the instructions relevant to your scenario?

Yaml for configuration:

esphome:
  name: alpha3esp
  friendly_name: Alpha3esp

esp32:
  board: esp32-c6-devkitc-1
  framework:
    type: esp-idf

esp32_ble_tracker:
  
# Enable logging
logger:
  level: VERBOSE

# Enable Home Assistant API
api:
  encryption:
    key: "[redacted]"

ota:
  - platform: esphome
    password: "[redacted]"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Alpha3Esp Fallback Hotspot"
    password: "[redacted]"

captive_portal:

ble_client:
  - mac_address: e0:7d:ea:f7:26:78
    id: radiator_pump

sensor:
  - platform: alpha3
    ble_client_id: radiator_pump
    flow:
      name: "Pump Flow"
    head:
      name: "Pump Head"
    speed:
      name: "Pump Speed"
    power:
      name: "Pump Power"
    voltage:
      name: "Pump Voltage"
    current:
      name: "Pump Current"

Log (compile + a little run:
Log
(Sharing this way as the text is too long for this forum…)

Does the above help?

I don’t think the notes in the instructions hit the mark for me :man_shrugging: Should they? :smiley:

Turns out the solution was simple: factory reset the pump and off we go. Used the C3…

Sorry but am new to HA community so if I should re-post elsewhere please advise. However, I would like to understand from the author(s) of alpha3 how they managed to sniff/reverse engineer the Genibus protocol for alpha3.

I would like to expand alpha3 to include Magna3 as I have several of them.

I tried it out of the box and had the issue of the “Geni response header too short”. My first step was going to be to re-factor the CPP to print the response but was hoping there is easier way to pass the requests via bluetooth and view the responses. Possibly also snoop on the Grundfos GO app.