mduran80 / daikin_madoka

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

unable to pair #8

Open roccotocco opened 2 years ago

roccotocco commented 2 years ago

Im not able to pair nothing..... suddnley the thermostat disconnect me without pair

[bluetooth]# pair 50:61:F6:6E:BF:DB Attempting to pair with 50:61:F6:6E:BF:DB [CHG] Device 50:61:F6:6E:BF:DB Connected: yes Request confirmation [agent] Confirm passkey 894700 (yes/no): yes [CHG] Device 50:61:F6:6E:BF:DB Connected: no

What to do ? Thanks

mduran80 commented 2 years ago

Did you follow all the steps? When the thermostat disconnects you it is usually due to one of the following reasons:

  1. The thermostat is still bound to a different controller (e.g. mobile app)
  2. The pass key confirmation process was too slow (it is a bit picky)
RoomControl18 commented 2 years ago

I Have the same problem. with one hand i am pairing and with the other confirmating in controller..... I have erase in my mobile the device.... I don't know what more do....

mduran80 commented 2 years ago

What platform are you using? Apparently, Raspberry Pi 3B+ bluetooth stack does not work properly (or didn't) as reported by others. Using an external BT dongle might help too.

First step is to be able to attach to the thermosthat from the operating system. Does bluetoothctl list the decice and all the services when connecting?

El El dom, 19 sept 2021 a las 21:27, RoomControl18 @.***> escribió:

I Have the same problem. with one hand i am pairing and with the other confirmating in controller..... I have erase in my mobile the device.... I don't know what more do....

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mduran80/daikin_madoka/issues/8#issuecomment-922523948, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFK3CT7S6KF5567TX6KZ3Z3UCY2R3ANCNFSM5DL3ZBUQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

RoomControl18 commented 2 years ago

I am using a Raspberry 4 with docker.

I have changed "discoverable" to "on", and i can pair and connect.

mduran80 commented 2 years ago

Please check this post regarding docker and privileged mode to access DBUS.

https://community.home-assistant.io/t/daikin-madoka-brc1h-bluetooth-custom-component/268594/5

Anyway, have a look at the whole thread as several fixes were posted there and some might be related.

By the way, use all caps in Mac addresses, the BT library is a bit picky.

El El lun, 20 sept 2021 a las 0:52, RoomControl18 @.***> escribió:

I am using a Raspberry 4 with docker. But really now i don´t know if the problem is in my Rbpi. I try to the same with OpenHab instrucctions and the problem is the same.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mduran80/daikin_madoka/issues/8#issuecomment-922549567, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFK3CTZEIEK7BLR74HNG6WDUCZSR3ANCNFSM5DL3ZBUQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Dagocreativo commented 1 year ago

Hola. Lo primero gracias por el trabajo. Estoy haciendo todos los pasos, el bluetooth del NUC me reconoce el dispositivo Madoka, pero cuando le digo "pair ..." me devuelve que el dispositivo no está disponible. ¿Sabes por qué podría ser? He eliminado previamente el móvil que tenía anteriormente y demás.

mduran80 commented 1 year ago

Asegúrate de hacer el paso del “scan on” y “scan off” paranque quede registrado en la cache interna de la librería y que puedas hacer el pair.

El El mar, 9 ago 2022 a las 23:16, Dagocreativo @.***> escribió:

Hola. Lo primero gracias por el trabajo. Estoy haciendo todos los pasos, el bluetooth del NUC me reconoce el dispositivo Madoka, pero cuando le digo "pair ..." me devuelve que el dispositivo no está disponible. ¿Sabes por qué podría ser? He eliminado previamente el móvil que tenía anteriormente y demás.

— Reply to this email directly, view it on GitHub https://github.com/mduran80/daikin_madoka/issues/8#issuecomment-1209904186, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFK3CT2B3VXQYEGWSA6UA4DVYLDBDANCNFSM5DL3ZBUQ . You are receiving this because you commented.Message ID: @.***>

Dagocreativo commented 1 year ago

Vale, el error era que hay poco tiempo después del "scan off" para vincularlo. Ya lo tengo vinculado correctamente, pero aún así cuando añado ahora la integración se queda pensando y no la añade. ¿Alguna idea? Captura de pantalla 2022-08-11 a las 17 51 12

Gracias por la ayuda