POST to /track/in or /track/out
check for state changes by polling every 1 second