Is there a way to prevent a Heltec board from sleeping while being powered via usb? In my tests with the heltec board I’m finding that the board goes into deep sleep and has to be woken up by pressing the user button in order for the python API or the meshtastic executable to work. I’ve tried the Bluetooth setting example on the python API GitHub but I don’t think this addresses the usb connectivity issue when the heltec device goes to sleep.
In my use case I’ve setup a raspberry Pi that powers the Heltec board and have manually set the GPS fixed location and setup the is_router mode. Idea is that I’d like to be able to use the Python API running on the raspberry Pi to trigger some scripts that will send messages to the mesh via the heltec connected node. The Pi and the connected heltec node will always be plugged in and not powered by battery so I’m trying to see if there is a way to have the heltec always on and active so that I can interact with it via the python API in a remote fashion.
What version of the firmware do you have on your heltec and which heltec board do you have? Do you have an attached battery? I fixed a similar problem a few weeks ago.