Instable network connections using Tuya BK7231T

I have a Tuya based light-bulb that looses network connection after some days. The light bulb and HA is in a remote location (at my fathers house) and it’s important that it works. When it goes offline it never comes back.

To make it more secure I have started testing with an equal light bulb back home and can see that it’s not that stable. To increase stability I added a static IP, disable power save mode and used fast connect. I also changed the time intervals for ap timeout to 10 minutes and reboot timeout to 20 minutes as in code below.

Doing a power off-on, it starts to work as normal, but when doing a soft reset it doesn’t behave as I would suspect.

This is what I see using ping (from windows)

  1. Reset
  2. Request timed out - Directly
  3. Reply from 192.168.0.197 - After 15.5 minutes from reset
  4. Request timed out - After just some additional seconds
  5. Reply from 192.168.0.197 - After just some additional seconds
  6. Request timed out - After just some additional seconds
  7. Reply from 192.168.0.197 - After 31 minutes from reset

Changing ap_timeout to 3 minutes and reset timeout to 5 minutes I get kind of the same behavior but with different time, this time it starts to work after 15 minutes

I’m not sure this is related to the issue at my fathers house (I’m not using the same router) but it indicates that there are some instabilities.
What are your suggestions for the most stable network configuration

esphome:
  name: test1
  friendly_name: test1

bk72xx:
  board: generic-bk7231t-qfn32-tuya

logger:

web_server:

captive_portal:

mdns:

api:
  password: ""

ota:
  password: ""

wifi:
  networks:
  - ssid: !secret wifi_ssid2
    password: !secret wifi_password2
    manual_ip:
      static_ip: 192.168.0.197
      gateway: 192.168.0.1
      subnet: 255.255.255.0
      dns1: 192.168.0.1
      dns2: 192.168.0.1
  power_save_mode: NONE
  fast_connect: True
  use_address: 192.168.0.197
  ap:
    ap_timeout: 10min
  reboot_timeout: 20min