push_text
Convert text into a formatted image and send it to a Tidbyt or Tronbyt LED sign, with adjustable font size, color, and canvas dimensions.
Instructions
Render text into an image sized for the display (64x32, or 128x64 for wide/2x devices) and push it. Word-wrapped and centered, printable ASCII only. At default sizing: 16 chars/line, 5 lines.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Canvas size. "auto" (default) detects it from the device type (wide/2x devices get 128x64). | auto |
| text | Yes | Text to display. \n forces a line break. | |
| color | No | Text color as hex, e.g. "#ffcc00". Default white. | |
| device_id | No | Device ID. Omit when the API key can see exactly one device. | |
| text_size | No | "large" doubles the 4x6 font, "small" is native size. "auto" (default): large on 128x64 (16 chars x 5 lines), small on 64x32. Use small on 128x64 for 32 chars x 10 lines. | auto |
| background | No | false (default): interrupt the display and show this immediately. true: save into the rotation without interrupting. | |
| installation_id | No | Name for this pushed image (default "text"). | text |
| background_color | No | Background hex color. Default black. |