I'm running an iot application, remote gate trigger, using firebase as database.
however I am having several problems, my raspberry stops working acyclically.
at first I looked for energy, and fed directly through the GPIO with the proper source of 5v 3A. The operating system has stopped crashing, but my application in python3 still keeps crashing.
I thought about the possibility of error in writing the code, since I am a beginner, but the system stops in an acyclic way. It turns one day and hangs and another time three days and hangs.
I also thought the possibility of the SDS card is not of quality, then I had a doubt. When the raspberry for function of the ssd card, does it crash the whole operating system, or could it just stop the application in python?
Could it be temperature influence just stopping the application in python?
Could my code cause an acyclic stop?