Raspberry pi 4 reboot issues

I’d consider to setup your new box using the ZRAM feature in openHABian.
No need for an off-mainstream solution with external HW.