home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.07k stars 31.09k forks source link

Gardena 6300 Pump not found with bluetooth_proxy #130638

Open Trickfilm400 opened 2 weeks ago

Trickfilm400 commented 2 weeks ago

The problem

I have a Gardena 6300 Water Pump which should be supported as written on the integration's page. I use an esp32 with the bluetooth_proxy to get bluetooth into homeassistant, but the pump doesn't show up and when trying to add it manually, "No devices found on the network" is returned.

What version of Home Assistant Core has the issue?

2024.10.x, 2024.11.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

gardena_bluetooth

Link to integration documentation on our website

https://www.home-assistant.io/integrations/gardena_bluetooth

Diagnostics information

No response

Example YAML snippet

esp32_ble_tracker:
  # also didn't worked without this
  on_ble_advertise:
    - mac_address:
        - 34:68:B5:2C:2E:DF
      then:
        - lambda: |-
            ESP_LOGD("ble_adv", "New BLE device");
            ESP_LOGD("ble_adv", "  address: %s", x.address_str().c_str());
            ESP_LOGD("ble_adv", "  name: %s", x.get_name().c_str());
            ESP_LOGD("ble_adv", "  Advertised service UUIDs:");
            for (auto uuid : x.get_service_uuids()) {
                ESP_LOGD("ble_adv", "    - %s", uuid.to_string().c_str());
            }
            ESP_LOGD("ble_adv", "  Advertised service data:");
            for (auto data : x.get_service_datas()) {
                ESP_LOGD("ble_adv", "    - %s: (length %i)", data.uuid.to_string().c_str(), data.data.size());
            }
            ESP_LOGD("ble_adv", "  Advertised manufacturer data:");
            for (auto data : x.get_manufacturer_datas()) {
                ESP_LOGD("ble_adv", "    - %s: (length %i)", data.uuid.to_string().c_str(), data.data.size());
            }
  scan_parameters:
    # tried multiple different values here
    #interval: 1100ms
    #window: 1100ms
    active: true

bluetooth_proxy:
  active: true

Anything in the logs that might be useful for us?

Debug message of the esp32 logs with loglevel verbose

[17:14:14][D][ble_adv:043]:   address: 34:68:B5:2C:2E:DF
[17:14:14][D][ble_adv:044]:   name: GARDENA PTU
[17:14:14][D][ble_adv:045]:   Advertised service UUIDs:
[17:14:14][D][ble_adv:047]:     - 98BD0001-0B0E-421A-84E5-DDBF75DC6DE4
[17:14:14][D][ble_adv:049]:   Advertised service data:
[17:14:14][D][ble_adv:053]:   Advertised manufacturer data:
[17:14:14][D][ble_adv:055]:     - 0x0426: (length 14)

[17:53:50][V][bluetooth_proxy:059]: Proxying raw packet from 34:68:B5:2C:2E:DF, length 21. RSSI: -66 dB
[17:53:50][V][bluetooth_proxy:061]: Proxying 2 packets

Additional information

The mobile app on my smartphone was able to connect and control the pump. A factory reset was performed afterwards again while trying to connect into homeassistant.

home-assistant[bot] commented 2 weeks ago

Hey there @elupus, mind taking a look at this issue as it has been labeled with an integration (gardena_bluetooth) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `gardena_bluetooth` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign gardena_bluetooth` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


gardena_bluetooth documentation gardena_bluetooth source (message by IssueLinks)