Just FYI - I just changed the rules for sleep. For devices that can sense USB power (currently only TBEAMs), they will now never sleep while hooked to USB power. This should make usage more straightforward for folks (especially for permanent installations or USB/API users).
Also, I think it would be possible to change the behavior of the power button so the device would automatically wake if USB power is connected (so that users don’t need to press to boot the first time). If you want this, please file a github bug.
Hi, is it possible yet to change the behavior of the power button so the device would automatically power on if USB power is connected? I would love to put a device on my roof with a solar charger (and a battery), but as of now I guess I would need to climb up there every time the battery is drained
As suggested, I created this github issue: auto power on if USB power is connected · Issue #720 · meshtastic/Meshtastic-device · GitHub
Unfortunately, the power management chip on the tbeam has this behavior built into the silicon. There’s no configuration we have access to that could change this.
Ah, thanks for clarifying, yes I have TBeam v1.1.
Would you know if the suggested heltec device can be configured to power on automatically? Or would you recommend a different device for that purpose? I would need it to serve 868MHz to match the other devices. Apart from that it would not require GPS or display, since it would just serve as a relay.
I don’t have a heltec boards, but looking at the schematics – any of them should work.I’m a big fan of the ttgo lora32 v1 boards. They were made in partnership with heltec and you can get them as low as $20 for 2, but usually $24 for 2.