How can I set up an auto-hotspot in DietPi when Wi-Fi is unavailable?

as already said by @Jappe , DietPi don’t has such an option. You would need to create this on our own. We had a similar request years ago.But there was no solution found