watchface_get_screen_snapshot
Capture, download, and validate the device’s rendered screen snapshot after creating, patching, or switching a watchface; optionally save the image locally for visual review.
Instructions
Capture the rendered screen for visual verification after create/patch/switch. Sends Device/GetScreenSnapshot, then downloads and validates the exact snapShotPath returned by AstroToo (currently BMP); TimesFrame retains its WebP fallback paths. Optional savePath writes the image locally for review. For AstroToo, first query hardware/capabilities; use the 480x480 AstroToo resources. Legacy 800x1280 examples and typography apply only to TimesFrame.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Optional per-call target override. If omitted, environment variables are used. | |
| waitMs | No | Milliseconds to wait after Device/GetScreenSnapshot before HTTP GET (default 2000; mainly for asynchronous TimesFrame firmware). | |
| savePath | No | Optional local path to write the downloaded snapshot image. | |
| snapshotHttpPath | No | TimesFrame fallback HTTP path. AstroToo always uses snapShotPath from the current response. | /userdata/snapshot.webp |