# --- e-TimeOffice cloud account (from Team Office / e-TimeOffice support once your subscription is active) ---
ETIMEOFFICE_CORPORATE_ID=your-corporate-id
ETIMEOFFICE_USERNAME=your-username
ETIMEOFFICE_PASSWORD=your-password
ETIMEOFFICE_BASE_URL=https://api.etimeoffice.com/api

# --- Our backend connection ---
BACKEND_URL=http://localhost:8080
DEVICE_CODE=DEVICE001
DEVICE_KEY=paste-the-device-key-from-the-devices-page-here

# --- Student ID mapping ---
# When enrolling students on the machine / in the e-TimeOffice portal, use the NUMERIC part of
# their Student ID as the "Empcode". e.g. Student ID "ST1001" in our system -> Empcode "1001".
# This prefix is added back on by the bridge to rebuild "ST1001".
STUDENT_CODE_PREFIX=ST

# --- Behaviour ---
# How often (seconds) the bridge checks e-TimeOffice's cloud for new IN/OUT records.
# This is a cloud API, not a local device connection, so there's no need to poll as fast as a
# local bridge - every 5 minutes is plenty for parent notifications to still feel timely.
POLL_INTERVAL_SECONDS=300

# How many days back to re-check each cycle. >1 only matters if a student's checkout sometimes
# gets logged on the cloud platform after midnight (rare) - 1 is fine for almost all institutes.
LOOKBACK_DAYS=1
