Overview
Receives device log files uploaded by the thermostat. The device periodically uploads diagnostic logs to this endpoint.This endpoint is part of the Device Protocol API on port 8000. It is called directly by thermostat firmware.
Endpoint
Request
The device sends raw bytes (often gzip-compressed) as the request body. TheContent-Type may vary by firmware version.
Response
Success (200 OK)
200 OK after reading the body. The response is the same regardless of whether log storage is enabled.
Log Storage
By default, uploaded logs are discarded. To store them on disk, setSTORE_DEVICE_LOGS=true in the server environment.
When enabled:
- Logs are decompressed (if gzip) and saved to
/app/data/device_logs/{serial}/{timestamp}.log - Each upload creates a new file with the UTC timestamp as the filename