What hardware/OS are you running on?
Do you have anything in your flows that is scheduled for 03:30?
Do you have anything in your house (if it is in a house) that happens at that time?
If you are running on a Linux system such as on a Pi then you can look in the system log to see if there is any indication of why it is rebooting. This thread has a discussion on how to do that. Machine times between reboots/lockups reducing