mduran80 / daikin_madoka

Home Assistant custom component integration for the BRC1H thermostat (madoka)
MIT License
42 stars 10 forks source link

Climate enitity not available #40

Open 0000vt opened 3 months ago

0000vt commented 3 months ago

Hi,

Im not able to make the custom component work in homeassistant. I've used pymadoka already to verify whether the connection is working, so thats fine:

'pymadoka -a xxx get-temperatures' works fine and returns the temperatures after ive paired the device. However, when I add the device to home assistant, the climate entity immediately switches to "unavailable".

Hass logs (occurrence more than xxxx times):

"Logger: pymadoka.connection Bron: runner.py:188 First occurred: 17:07:15 (197 gebeurtenissen) Laatst gelogd: 17:10:41

[org.bluez.Error.Failed] br-connection-canceled [org.bluez.Error.Failed] Operation already in progress failed to discover services, device disconnected"

i've tried the fix below but it doesnt start the pairing after the remove command. Also re-pairing gets me the authenticationcancelled error from bluez.

" Please connect via shell and remove the device:

  1. Run bluetoothctl
  2. Type remove
  3. If the integration is running in HA, the bluetootctl client should immediately show the connection confirmation request with the pair code, just accept it and rush to the thermostat to accept it too.
  4. The integration should work and show as available"

_Originally posted by @mduran80 in https://github.com/mduran80/daikin_madoka/issues/19#issuecomment-1257758952_

Versions: Core 2024.3.3 Supervisor 2024.03.0 Operating System 11.5 Frontend 20240307.0 Within a proxmox vm