New bk72xx_ble_tracker doesn't work stable

Hello,

I am trying to use new bk72xx_ble_tracker but I can’t get it to work stable
after this logline
[14:41:24.028][D][wifi:2506]: Roam scan (-57 dBm, attempt 1/3)
the devices get’s unresponsive every time.

my currecnt settings


bk72xx_ble_tracker:
  scan_parameters:
    active: false 
    interval: 200ms
    window: 50ms
  on_ble_advertise:
     ........

where is chagned interval and window in the hope to fix this issue.
but can’t get this to work.

does anyone have a suggestion?

So what you get on logs when it becomes “unresponsive” ? Does it recover?

it does not recover,
I have a reboot timeout set on 1hour
so maybe after that it will reboot, haven’t waited that long.

unresponsive, no wifi, no bluetooth. and since I do not have any other input methods,
it just looks like it dies.
nothing in the log.

Probably it has something to do with this

but I already applied the settings, and just nothing.

Could be but I would expect default values from example to work, at least alone. Could be bug though.
You are really shy with providing info.
What device you have, how it’s powered and logged? What else do you have on your config? What else do you get on logs?

Tuya BK 7231N CBU board,

the device is powered via main power (230V).
It’s a ceiling light FAN combination,
light via pinout, fan works with Tuya DP’s
you do not want that full config.

I’m trying to connect the remotes which came with the Light/fan.

My log doesn’t show much,
a lot of tuya errors
16:17:21 [E] [tuya:529] Initialization failed at init_state 0 16:17:31 [D] [tuya:707] Setting datapoint 107 to 1 16:17:31 [W] [tuya:710] Setting unknown datapoint 107 16:17:31 [D] [tuya:707] Setting datapoint 105 to 6 16:17:31 [W] [tuya:710] Setting unknown datapoint 105 16:17:32 [E] [tuya:529] Initialization failed at init_state 0 16:17:33 [D] [tuya:707] Setting datapoint 107 to 0 16:17:33 [W] [tuya:710] Setting unknown datapoint 107 16:17:34 [E] [tuya:529] Initialization failed at init_state 0 16:17:35 [E] [tuya:529] Initialization failed at init_state 0
but I get them also without BLE,

and just the roam scan line,

after that nothing.
then it disconnects
logging via webinterface and ha addon, no uart,
I cannot connect that right now.

I will give this a try

wifi:
  post_connect_roaming: false

That kicks out any logs if wifi is gone.
Anyway, did you get any logs about BLE, which supposed to cause the problem?
Just pumping here, I don’t have any Tuya devices…

sorry

wifi:
  post_connect_roaming: false

actually works,
this also is newly introduced, and those 2 methods seem to conflict.

Not sure if this is a bug, or not implemented or just not possible.

But now It works

BLE and post_connect_roaming do not work together on BK72XX devices.