I use local particle-cli to flash device with USB. It is ask press Enter when device connected.
(my device wake up one time in day and then sleep again for 24 hour)
I have to catch this 20 second working time during day to change my firmware. It is any way
to make some batch file under Windows (to check if we have com COM port connected try to flash without ENTER key and if not success wait 2 second and try again till not flash with good result)
May be somebody have ideas about it?