usage: ha_ldr.py [-h] [-p PIN] [-m MAX] [-l LOOP] [-u URL] [-t TOKEN] [-s SLEEP] [-f LOGFILE] [-v] optional arguments: -h, --help show this help message and exit -p PIN, --pin PIN LDR GPIO data pin -m ...