Openhabian + RPi4 + Zwave Gen5 falls offline on restart

Have a look to this thread Aeotec Z-Wave Gen5+ Stick stays offline after container restart / Raspi reboot
A script that is example is posted there in