Hi!
I would suggest to add commandline parameters to the main.py?
Something like:
Register
-r -e … register esp32 device
-r -z … register zephyr device
Locate
-l locate
-i Tracker ID
-l -i 999999-0000-7777-4444-000000000 … locate tracker with certain id
-d daemon mode
-d keep reporting location to stdout with a given interval
-f Format
Output format in json or directly for the traccar osmand format: https://www.traccar.org/osmand/