watchface_replace_dial_bg_file
Replace the dial background on Divoom LAN devices using a JPEG or WebP image (≤500KB, recommended 800x1280 portrait).
Instructions
POST /replace_clock_dial_bg using multipart (Device/ReplaceClockDialBgFile). Replaces the cached dial bitmap only — does NOT modify cfg DeviceImageUrl, and does NOT accept tar.gz. Backdrop is validated by divoom_watchface_replace_clock_dial_bg_validate_saved_file: JPEG (FF D8) or WebP (RIFF…WEBP) only, ≤ 500 KiB (DIVOOM_REPLACE_DIAL_BG_MAX_FILE_BYTES), recommended 800x1280 portrait. Multipart framing notes: watchface_upload_file description.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Optional per-call target override. If omitted, environment variables are used. | |
| imagePath | Yes | Absolute or relative image file path. Backdrop must be JPEG (FF D8) or WebP (RIFF…WEBP); PNG/GIF are rejected. Recommended 800x1280, ≤ 500 KiB. | |
| clockId | No | ||
| useCurrentDisplayClock | No | ||
| filePartName | No | Second multipart part name. Default is current UTC ms timestamp. | |
| fileName | No | Filename in multipart header. Defaults to basename(imagePath). |