Ok this may be odd but let me try to explain the setup and the outcome:
Rpi4 with libreelec (LibreELEC (official): 9.2.0 (RPi4.arm)) -> AV Receiver -> TV
config.txt has this:
dtoverlay=gpio-ir (home made ir)
the wifi usually starts up,
so I can login and do: systemctl restart kodi after turning on the receiver and tv.
the prob is that it's a no go to constantly manually login every day to reset it.
Any idea how to fix this issue?