alistair23 / AutoMower-BLE

This is an unofficial reverse engineered Husqvarna Automower Connect BLE library. This allows connecting and controlling an Automower without any accounts, cloud or network connection.
GNU General Public License v3.0
76 stars 20 forks source link

HA Error when manually adding the Integration #6

Closed Fayrewood closed 4 months ago

Fayrewood commented 5 months ago

I have followed the instructions to install, but I am getting an HA Error.

I have:

  1. copied the husqvarna_automower_ble folder to custom components
  2. Manually updated the homeassistant/custom_components/husqvarna_automower_ble manifest file to include "version": "0.1.0"
  3. Created a BT Proxy in ESP32 (code below)
  4. Established the BT MAC of the mower and edited the ESP32 BT Proxy code (and checked the MAC)
  5. Rebooted HA
  6. Put the mower in pairing mode.

When I try to add the integration, I get this error in the logs:

Logger: homeassistant.config_entries
Source: config_entries.py:2444
First occurred: 11:18:29 AM (3 occurrences)
Last logged: 11:25:09 AM

Error occurred loading flow for integration husqvarna_automower_ble: cannot import name 'ConfigFlowResult' from 'homeassistant.config_entries' (/usr/src/homeassistant/homeassistant/config_entries.py)
Core
2024.3.1
Supervisor
2024.03.1
Operating System
12.1
Frontend
20240307.0

ESP Code:

esphome:
  name: esphome-web-2ea38c
  friendly_name: BT Proxy Garden

esp32:
  board: wemos_d1_mini32
  framework:
    type: esp-idf
    version: recommended
# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "jnwHWOyWulxxdEjNxbMVMIJEVhPPph3Vy8uVA4ybtJ4="

ota:

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

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esphome-Web-2Ea38C"
    password: "isE1KJrISDoW"

captive_portal:

esp32_ble_tracker:
  scan_parameters:
    active: false
    continuous: false
    duration: 50sec

bluetooth_proxy:
  active: true
  cache_services: true

ble_client:
  - mac_address: 0C:EC:80:E0:64:EE
    id:  automower_305
    on_disconnect:
      then:
        - esp32_ble_tracker.start_scan:

time:
  - platform: homeassistant
    on_time:
      - seconds: 0
        minutes: '*'
        then:
          esp32_ble_tracker.start_scan:

Manifest File

{
  "domain": "husqvarna_automower_ble",
  "name": "Husqvarna Automower BLE",
  "bluetooth": [
    {
      "service_uuid": "98bd0001-0b0e-421a-84e5-ddbf75dc6de4",
      "connectable": true
    }
  ],
  "codeowners": ["@alistair23"],
  "config_flow": true,
  "dependencies": ["bluetooth_adapters"],
  "documentation": "https://www.home-assistant.io/integrations/???",
  "iot_class": "local_polling",
  "requirements": ["automower-ble==0.1.32"],
  "version": "0.1.0"
}

ESP32 LOGS

[11:45:27][D][api.connection:1121]: Home Assistant 2024.3.1 (192.168.1.144): Connected successfully
[11:45:28][D][time:049]: Synchronized time: 2024-04-07 11:45:27
[11:46:01][D][esp32_ble_tracker:266]: Starting scan...
[11:46:01][D][esp32_ble_client:110]: [3] [0C:EC:80:E0:64:EE] Found device
[11:46:01][D][esp32_ble_tracker:661]: Found device 0C:EC:80:E0:64:EE RSSI=-71
[11:46:01][D][esp32_ble_tracker:682]:   Address Type: PUBLIC
[11:46:01][D][esp32_ble_tracker:215]: Pausing scan to make connection...
[11:46:01][D][esp32_ble_tracker:303]: End of scan.
[11:46:01][I][esp32_ble_client:067]: [3] [0C:EC:80:E0:64:EE] 0x00 Attempting BLE connection
[11:46:01][D][esp-idf:000]: W (46473) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e

[11:46:01][D][esp32_ble_client:110]: [3] [0C:EC:80:E0:64:EE] ESP_GATTC_CONNECT_EVT
[11:46:01][D][esp32_ble_client:110]: [3] [0C:EC:80:E0:64:EE] ESP_GATTC_OPEN_EVT
[11:46:01][D][esp32_ble_client:110]: [3] [0C:EC:80:E0:64:EE] ESP_GATTC_SEARCH_CMPL_EVT
[11:46:01][I][esp32_ble_client:227]: [3] [0C:EC:80:E0:64:EE] Connected
[11:46:01][D][ble_client:058]: All clients established, services released
alistair23 commented 5 months ago

You need to be on HA 2024.4, see my comment here: https://github.com/home-assistant/core/pull/108326#issuecomment-2036539373

The issue is basically that 2024.4 replaced something (I can't remember the name) with ConfigFlowResult which the latest PR uses. So if you are pulling in the latest code you need to be on 2024.4.

Fayrewood commented 5 months ago

Backing up and upgrading now. Will revert back with the result.

Fayrewood commented 5 months ago

Have updated to

Core
2024.4.1
Supervisor
2024.03.1
Operating System
12.1
Frontend
20240404.1

I can now add the Integration, and I assume I add the BT MAC address when prompted, which in my case is 0C:EC:80:E0:64:EE.

The integration seems to complete, but doesn't appear in HA Integrations.

Checking the ESP32 logs, I get the following, which seems to suggest an issue with the BT Comms.

[12:30:18][W][bluetooth_proxy.connection:076]: [0] [0C:EC:80:E0:64:EE] Error reading char/descriptor at handle 0x E, status=5

Full Log

[12:30:01][D][esp32_ble_client:110]: [3] [0C:EC:80:E0:64:EE] Found device
[12:30:01][D][esp32_ble_tracker:661]: Found device 0C:EC:80:E0:64:EE RSSI=-81
[12:30:01][D][esp32_ble_tracker:682]:   Address Type: PUBLIC
[12:30:01][D][esp32_ble_tracker:215]: Pausing scan to make connection...
[12:30:01][D][esp32_ble_tracker:303]: End of scan.
[12:30:01][I][esp32_ble_client:067]: [3] [0C:EC:80:E0:64:EE] 0x00 Attempting BLE connection
[12:30:01][D][esp32_ble_client:110]: [3] [0C:EC:80:E0:64:EE] ESP_GATTC_CONNECT_EVT
[12:30:01][D][esp32_ble_client:110]: [3] [0C:EC:80:E0:64:EE] ESP_GATTC_OPEN_EVT
[12:30:01][D][esp32_ble_client:110]: [3] [0C:EC:80:E0:64:EE] ESP_GATTC_SEARCH_CMPL_EVT
[12:30:01][I][esp32_ble_client:227]: [3] [0C:EC:80:E0:64:EE] Connected
[12:30:01][D][ble_client:058]: All clients established, services released
[12:30:01][D][esp32_ble_client:188]: [3] [0C:EC:80:E0:64:EE] cfg_mtu status 0, mtu 65
[12:30:18][I][bluetooth_proxy:282]: [0] [0C:EC:80:E0:64:EE] Connecting v3 without cache
[12:30:18][I][esp32_ble_client:067]: [0] [0C:EC:80:E0:64:EE] 0x00 Attempting BLE connection
**[12:30:18][D][esp-idf:000]: W (52863) BT_GATT: gatt_connect wrong state 4**

[12:30:18][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_OPEN_EVT
[12:30:18][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_SEARCH_CMPL_EVT
[12:30:18][I][esp32_ble_client:227]: [0] [0C:EC:80:E0:64:EE] Connected
[12:30:18][D][esp32_ble_client:188]: [0] [0C:EC:80:E0:64:EE] cfg_mtu status 0, mtu 65
[12:30:18][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_READ_CHAR_EVT
[12:30:18][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_READ_CHAR_EVT
[12:30:18][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_READ_CHAR_EVT
[12:30:18][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_READ_CHAR_EVT
[12:30:18][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_READ_CHAR_EVT
[12:30:18][W][bluetooth_proxy.connection:076]: [0] [0C:EC:80:E0:64:EE] Error reading char/descriptor at handle 0x E, status=5
[12:30:19][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_READ_CHAR_EVT
[12:30:19][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_READ_CHAR_EVT
[12:30:19][I][esp32_ble_client:084]: [0] [0C:EC:80:E0:64:EE] Disconnecting.
[12:30:19][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_CLOSE_EVT
alistair23 commented 5 months ago

Can you supply the HA log?

Fayrewood commented 5 months ago
Logger: automower_ble.mower
Source: custom_components/husqvarna_automower_ble/config_flow.py:70
integration: Husqvarna Automower BLE
First occurred: 12:48:40 PM (1 occurrences)
Last logged: 12:48:40 PM

[Characteristic] 98bd0003-0b0e-421a-84e5-ddbf75dc6de4 (Handle: 14): Unknown (read,notify), Error: Bluetooth GATT Error address=0C:EC:80:E0:64:EE handle=14 error=5 description=Insufficient authentication

The mower is currently in its dock and charging, if that makes any difference? I'll set it mowing and try again and revert.

Fayrewood commented 5 months ago

Do I need to add the PIN for the mower into one of the .py files?

alistair23 commented 5 months ago

Did you follow the documentation, specifically step 2. The mower isn't paired to the BLE device. You need to enter pairing mode in the mower and then restart the component.

Insufficient authentication means you aren't paired to the mower

Fayrewood commented 5 months ago

I have reset the ESP32 and put the mower into pairing mode and tried adding the integration - all within 30 seconds and in that order.

  1. The ESP reports it can see the mower.
  2. The Integration seems to accept the MAC address but doesn't load

Given I have tried a few times, is there anything in HA I can 'clear' such as a cache of the app and start again?

Logger: automower_ble.mower
Source: custom_components/husqvarna_automower_ble/config_flow.py:70
integration: Husqvarna Automower BLE
First occurred: 1:11:29 PM (3 occurrences)
Last logged: 1:16:04 PM

could not find device with address '0C:EC:80:E0:64:EE'
[Characteristic] 98bd0003-0b0e-421a-84e5-ddbf75dc6de4 (Handle: 14): Unknown (read,notify), Error: Bluetooth GATT Error address=0C:EC:80:E0:64:EE handle=14 error=5 description=Insufficient authentication

ESP

[13:16:00][I][esp32_ble_client:067]: [3] [0C:EC:80:E0:64:EE] 0x00 Attempting BLE connection
[13:16:01][D][esp32_ble_client:110]: [3] [0C:EC:80:E0:64:EE] ESP_GATTC_CONNECT_EVT
[13:16:01][D][esp32_ble_client:110]: [3] [0C:EC:80:E0:64:EE] ESP_GATTC_OPEN_EVT
[13:16:01][D][esp32_ble_client:110]: [3] [0C:EC:80:E0:64:EE] ESP_GATTC_SEARCH_CMPL_EVT
[13:16:01][I][esp32_ble_client:227]: [3] [0C:EC:80:E0:64:EE] Connected
[13:16:01][D][ble_client:058]: All clients established, services released
[13:16:01][D][esp32_ble_client:188]: [3] [0C:EC:80:E0:64:EE] cfg_mtu status 0, mtu 65
[13:16:03][I][bluetooth_proxy:282]: [0] [0C:EC:80:E0:64:EE] Connecting v3 without cache
[13:16:03][I][esp32_ble_client:067]: [0] [0C:EC:80:E0:64:EE] 0x00 Attempting BLE connection
[13:16:03][D][esp-idf:000]: W (44045) BT_GATT: gatt_connect wrong state 4

[13:16:03][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_OPEN_EVT
[13:16:03][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_SEARCH_CMPL_EVT
[13:16:03][I][esp32_ble_client:227]: [0] [0C:EC:80:E0:64:EE] Connected
[13:16:03][D][esp32_ble_client:188]: [0] [0C:EC:80:E0:64:EE] cfg_mtu status 0, mtu 65
[13:16:04][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_READ_CHAR_EVT
[13:16:04][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_READ_CHAR_EVT
[13:16:04][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_READ_CHAR_EVT
[13:16:04][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_READ_CHAR_EVT
[13:16:04][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_READ_CHAR_EVT
[13:16:04][W][bluetooth_proxy.connection:076]: [0] [0C:EC:80:E0:64:EE] Error reading char/descriptor at handle 0x E, status=5
[13:16:04][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_READ_CHAR_EVT
[13:16:04][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_READ_CHAR_EVT
[13:16:04][I][esp32_ble_client:084]: [0] [0C:EC:80:E0:64:EE] Disconnecting.
[13:16:04][D][esp32_ble_client:110]: [0] [0C:EC:80:E0:64:EE] ESP_GATTC_CLOSE_EVT
phoffi commented 5 months ago

Do I need to add the PIN for the mower into one of the .py files?

That would be my question too. I have similar problems with my Automower 420. Can't connect/pair the device. When i try to pair with my mobile and the Husqvarna App, I must enter the PIN.

Fayrewood commented 5 months ago

I removed the PIN and have now successfully paired with the mower, which is showing in HA

phoffi commented 5 months ago

What automower do you have, because on 420 it is not possible to remove PIN (also not to set 0000). All other PIN combinations are working. Or is there a trick to do that?

Fayrewood commented 5 months ago

I have the A305

I went into Security and set the security level to Low (No Pin, No Alarm, No Time limits)

Medium turns on the PIN. Mine was set to high originally.

phoffi commented 5 months ago

Hi, thanks for the information. Unfortunately, the Automower requests the PIN despite the security level being "Low". Tomorrow I will reset the mower completely and try again.

alistair23 commented 4 months ago

The library has support for sending the pin, so that is something we can do.

My mower is set to low security and I don't seem to need to send a PIN to the mower for BLE to work. The mower does ask for a PIN when it's turned on, at which point I enter a PIN on the mower and then everything works.

I haven't bothered looking into PIN support, as I don't seem to need it. It should be possible to add though. First we just need some way in HA to specify the PIN, then we can just send the PIN as part of the connection process.

AlessandroTischer commented 4 months ago

The library has support for sending the pin, so that is something we can do.

My mower is set to low security and I don't seem to need to send a PIN to the mower for BLE to work. The mower does ask for a PIN when it's turned on, at which point I enter a PIN on the mower and then everything works.

I haven't bothered looking into PIN support, as I don't seem to need it. It should be possible to add though. First we just need some way in HA to specify the PIN, then we can just send the PIN as part of the connection process.

On my mower (315) I cannot disable the pin, and I always get an error regarding the insufficient authorization. So if it were possible for you to implement the pin sending, it would be nice

alistair23 commented 4 months ago

I'm pretty sure someone else is using a 315. So I think it can be done. The insufficient authorisation error usually occurs if the mower isn't paired.

If anyone has a good pointer to supporting configuration options that would be a good start

AlessandroTischer commented 4 months ago

I'm pretty sure someone else is using a 315. So I think it can be done. The insufficient authorisation error usually occurs if the mower isn't paired.

If anyone has a good pointer to supporting configuration options that would be a good start

I've read all the issues, and I think I'm the only one who has a 315 (I'm the guy from the original "thank you" issue). I got it working once, but I couldn't send any command to the mower, then it never paired again. I'll try again in the next days...

berlund commented 4 months ago

Hi!

I added the integration manually. Though I can see the component is loaded, it doesn't show up in the integrations.


2024-04-12 09:19:14.905 DEBUG (MainThread) [custom_components.husqvarna_automower_ble.config_flow] Discovered device: <habluetooth.models.BluetoothServiceInfoBleak object at 0x7f9879cbc0>
2024-04-12 09:19:14.925 DEBUG (MainThread) [custom_components.husqvarna_automower_ble.config_flow] 0C:EC:80:DD:C4:11 manufacturer data: {1062: b'\x05\x04\xa7\xf1\x93\x0c'}
2024-04-12 09:19:14.926 INFO (MainThread) [automower_ble.mower] connecting to device...

Do I need to configure to use bt-proxy explicitly? My built in BLE chip is also enabled, connected to other devices.

alistair23 commented 4 months ago

Can you supply the full log?

berlund commented 4 months ago

There are no more log entries for the automower_ble component in HAs log. Where would the component's log end up?

alistair23 commented 4 months ago

The entire HA log. There should be lines after connecting to device... that indicate what is happening

berlund commented 4 months ago
2024-04-12 09:15:42.867 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration husqvarna_automower_ble which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-04-12 09:15:42.872 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-04-12 09:15:42.879 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration dbuezas_eq3btsmart which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-04-12 09:16:08.128 WARNING (MainThread) [homeassistant.setup] Setup of stream is taking over 10 seconds.
2024-04-12 09:16:14.405 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
2024-04-12 09:16:26.784 ERROR (MainThread) [hole] Can not load data from *hole: framboise.local:80
2024-04-12 09:16:37.942 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/plexapi/base.py:174: SyntaxWarning: invalid escape sequence '\d'
""" Load the specified key to find and build all items with the specified tag
2024-04-12 09:16:41.331 WARNING (zeroconf-ServiceBrowser-_googlecast._tcp-123) [pychromecast.dial] Failed to determine cast type for host <unknown> (<urlopen error [Errno 111] Connection refused>) (services:{MDNSServiceInfo(name='Stanmore-Multi-Room-a05c0e379301bae6d715529d1d0844ef._googlecast._tcp.local.')})
2024-04-12 09:16:44.974 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 09:16:44.978 WARNING (MainThread) [homeassistant.components.media_player] Platform forked_daapd not ready yet: None; Retrying in background in 30 seconds
2024-04-12 09:17:32.580 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.dbuezas_eq3btsmart.climate.EQ3Climate'>) implements HVACMode(s): off, auto, heat and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/dbuezas/eq3btsmart/issues
2024-04-12 09:17:32.644 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.dbuezas_eq3btsmart.climate.EQ3Climate'>) implements HVACMode(s): off, auto, heat and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/dbuezas/eq3btsmart/issues
2024-04-12 09:17:32.690 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.dbuezas_eq3btsmart.climate.EQ3Climate'>) implements HVACMode(s): off, auto, heat and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/dbuezas/eq3btsmart/issues
2024-04-12 09:17:32.735 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.dbuezas_eq3btsmart.climate.EQ3Climate'>) implements HVACMode(s): off, auto, heat and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/dbuezas/eq3btsmart/issues
2024-04-12 09:17:32.956 WARNING (MainThread) [homeassistant.components.ssdp] Could not set up UPnP/SSDP server, as a presentation URL could not be determined; Please configure your internal URL in the Home Assistant general configuration
2024-04-12 09:17:32.994 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Humidity notification test' trigger: In 'numeric_state' condition: unknown entity sensor.vs_2_humidity_sensor
2024-04-12 09:17:33.117 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 09:17:33.151 WARNING (Recorder) [homeassistant.components.recorder.migration] Database is about to upgrade from schema version: 42 to: 43
2024-04-12 09:17:33.155 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding columns last_reported_ts to table states. Note: this can take several minutes on large databases and slow computers. Please be patient!
2024-04-12 09:17:33.595 WARNING (Recorder) [homeassistant.components.recorder.migration] Upgrade to version 43 done
2024-04-12 09:17:36.381 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 09:18:36.386 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 09:18:39.464 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 09:19:14.905 DEBUG (MainThread) [custom_components.husqvarna_automower_ble.config_flow] Discovered device: <habluetooth.models.BluetoothServiceInfoBleak object at 0x7f9879cbc0>
2024-04-12 09:19:14.925 DEBUG (MainThread) [custom_components.husqvarna_automower_ble.config_flow] 0C:EC:80:DD:C4:11 manufacturer data: {1062: b'\x05\x04\xa7\xf1\x93\x0c'}
2024-04-12 09:19:14.926 INFO (MainThread) [automower_ble.mower] connecting to device...
2024-04-12 09:20:09.470 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 09:20:12.584 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 09:22:12.588 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 09:22:15.656 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 09:24:45.661 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 09:24:48.744 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 09:27:48.749 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 09:27:51.848 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 09:30:51.852 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 09:30:54.952 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 09:33:54.958 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 09:33:58.056 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 09:36:58.060 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 09:37:01.160 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 09:40:01.165 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 09:40:04.264 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 09:43:04.269 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 09:43:07.368 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 09:46:07.373 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 09:46:10.472 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 09:47:48.364 ERROR (MainThread) [hole] Can not load data from *hole: framboise.local:80
2024-04-12 09:47:48.365 ERROR (MainThread) [homeassistant.components.pi_hole] Error fetching Pi-Hole data: Failed to communicate with API: Can not load data from *hole: framboise.local:80
2024-04-12 09:49:10.477 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 09:49:13.576 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 09:51:06.872 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /core/stats request
2024-04-12 09:51:06.889 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/stats request
2024-04-12 09:51:06.895 ERROR (MainThread) [homeassistant.components.hassio.data] Error fetching hassio data: Error on Supervisor API:
2024-04-12 09:52:13.581 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 09:52:16.682 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 09:55:16.686 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 09:55:19.784 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 09:58:19.789 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 09:58:22.890 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:01:22.895 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:01:25.992 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:04:25.996 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:04:29.096 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:07:29.101 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:07:32.200 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:10:32.205 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:10:35.304 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:13:35.307 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:13:38.408 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:16:38.412 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:16:41.512 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:19:41.517 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:19:44.616 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:22:44.621 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:22:47.720 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:25:47.723 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:25:50.824 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:28:50.828 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:28:53.928 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:31:53.933 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:31:57.032 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:34:57.038 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:35:00.136 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:35:33.437 WARNING (MainThread) [bluetooth_auto_recovery.recover] Could not reset the power state of the Bluetooth adapter hci0 [B8:27:EB:88:36:12] due to timeout after 5 seconds
2024-04-12 10:38:00.141 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:38:03.240 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:41:03.245 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:41:06.344 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:44:06.350 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:44:09.448 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:47:09.453 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:47:12.552 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:50:12.555 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:50:15.656 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:53:15.661 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:53:18.760 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:56:18.764 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:56:21.864 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 10:59:21.867 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 10:59:24.968 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 11:02:24.973 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 11:02:28.072 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 11:02:48.249 ERROR (MainThread) [hole] Can not load data from *hole: framboise.local:80
2024-04-12 11:02:48.250 ERROR (MainThread) [homeassistant.components.pi_hole] Error fetching Pi-Hole data: Failed to communicate with API: Can not load data from *hole: framboise.local:80
2024-04-12 11:05:28.076 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 11:05:31.176 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 11:08:31.180 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 11:08:34.280 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 11:11:34.286 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 11:11:37.384 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 11:14:37.389 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 11:14:40.489 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 11:17:40.492 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 11:17:43.592 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 11:20:43.596 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 11:20:46.696 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 11:23:46.700 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 11:23:49.800 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 11:26:49.803 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 11:26:52.904 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 11:29:52.908 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 11:29:56.008 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 11:32:56.012 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 11:32:59.112 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 11:35:59.116 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 11:36:02.216 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 11:39:02.220 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 11:39:05.320 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 11:42:05.325 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 11:42:08.424 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 11:45:08.429 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 11:45:11.528 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 11:48:11.532 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 11:48:14.632 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 11:51:14.636 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 11:51:17.736 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 11:54:17.740 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 11:54:20.840 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 11:57:20.844 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 11:57:23.944 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:00:23.948 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:00:27.048 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:03:27.051 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:03:30.152 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:06:30.156 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:06:33.256 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:09:33.260 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:09:36.360 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:12:36.364 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:12:39.464 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:15:39.468 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:15:42.568 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:18:42.573 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:18:45.672 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:21:45.676 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:21:48.776 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:24:48.780 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:24:51.880 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:27:51.884 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:27:54.984 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:30:54.989 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:30:58.088 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:33:58.092 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:34:01.192 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:37:01.196 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:37:04.296 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:40:04.308 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:40:07.400 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:43:07.405 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:43:10.504 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:46:10.509 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:46:13.608 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:49:13.612 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:49:16.712 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:52:16.717 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:52:19.816 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:55:19.820 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:55:22.920 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 12:58:22.924 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 12:58:26.024 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 13:01:26.029 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 13:01:29.128 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 13:04:29.134 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 13:04:32.232 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 13:07:32.243 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 13:07:35.336 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 13:10:35.341 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 13:10:38.440 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 13:13:38.445 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 13:13:41.544 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 13:16:41.549 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 13:16:44.648 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 13:19:44.653 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 13:19:47.752 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 13:22:47.757 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 13:22:50.856 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
2024-04-12 13:25:50.860 ERROR (MainThread) [homeassistant.components.media_player] Platform forked_daapd does not generate unique IDs. ID d72429acee932c9369d63a8be0340292 already exists - ignoring media_player.owntone_server
2024-04-12 13:25:53.960 ERROR (MainThread) [pyforked_daapd] Can not get http://192.168.2.125:3689/api/config with params None
alistair23 commented 4 months ago

Weird... I guess the connect() never works, but also never times out. You will probably need to dig into the BLE backend you are using

berlund commented 4 months ago

I found this from the BLE integration:

{ "name": "0C-EC-80-DD-C4-11", "address": "0C:EC:80:DD:C4:11", "rssi": -88, "manufacturer_data": { "1062": { "type": "<class 'bytes'>", "repr": "b'\x05\x04\xa7\xf1\x93\x0c'" } }, "service_data": {}, "service_uuids": [ "98bd0001-0b0e-421a-84e5-ddbf75dc6de4" ], "source": "B8:27:EB:88:36:12", "advertisement": [ null, { "1062": { "type": "<class 'bytes'>", "repr": "b'\x05\x04\xa7\xf1\x93\x0c'" } }, {}, [ "98bd0001-0b0e-421a-84e5-ddbf75dc6de4" ], null, -88, [ "/org/bluez/hci0/dev_0C_EC_80_DD_C4_11", { "Address": "0C:EC:80:DD:C4:11", "AddressType": "public", "Alias": "0C-EC-80-DD-C4-11", "Paired": false, "Bonded": false, "Trusted": false, "Blocked": false, "LegacyPairing": false, "RSSI": -88, "Connected": false, "UUIDs": [ "98bd0001-0b0e-421a-84e5-ddbf75dc6de4" ], "Adapter": "/org/bluez/hci0", "ManufacturerData": { "1062": { "type": "<class 'bytearray'>", "repr": "bytearray(b'\x05\x04\xa7\xf1\x93\x0c')" } }, "ServicesResolved": false, "AdvertisingFlags": { "type": "<class 'bytearray'>", "repr": "bytearray(b'\x06')" } } ] ], "device": { "__type": "<class 'bleak.backends.device.BLEDevice'>", "repr": "BLEDevice(0C:EC:80:DD:C4:11, 0C-EC-80-DD-C4-11)" }, "connectable": true, "time": 22994.101718068 },

berlund commented 4 months ago

could it be some race condition with the mower being picked up by both ble adapters (built in and esp)? or does the esp btproxy appear as the same device?

I'm running on a RPi 3B. I can see that hci0 is scanning the mower, but I'm not sure how to find out what my bt-proxy is doing since the logs are quite empty

alistair23 commented 4 months ago

It could be. I recommend just using an ESPHome BLE Proxy as that is the most reliable

berlund commented 4 months ago

Yes, disabling the internal BLE chip got me to the point where the mower is unauthenticated (Gardena). Any way I could do the authentication manually? But still, the integration doesn't appear yet.

alistair23 commented 4 months ago

https://github.com/alistair23/AutoMower-BLE/issues/6#issuecomment-2041446259 might help.

Otherwise if you need to send a PIN you can look at adding PIN support to the HA component. See https://github.com/alistair23/AutoMower-BLE/issues/6#issuecomment-2041639851 for more details on that

I'm going to close this issue as it was about ConfigFlowResult. If it still doesn't work you can open an issue with specific details and we can go from there

berlund commented 4 months ago

Sure! And thanks for your effort!

alistair23 commented 4 months ago

For people reading this, don't include a ble_client in your EPSHome config, it can cause stability issues (I didn't know that at the time).