#!/home/noise/.local/share/uv/tools/powermon/bin/python """One-shot diagnostic: autodetect the currently-plugged FTDI, then run 3 tests and print results. 1. Passive listen 10 s @ 9600 baud. 2. Passive listen 10 s @ 19200 baud. 3. Active probe: send canonical 7E 01 01 00 FE 0D at 9600, wait 2 s. Usage: port-probe