trmnl_setup_device
Register a TRMNL ePaper device by sending its MAC address, model, and panel revision to the setup API, returning status so you can confirm pairing and identify missing devices.
Instructions
Set up device
Please note that the returned status JSON value may NOT always equal the HTTP status code. Notably, if a device MAC address is not found,
then the HTTP status code will be 200 but the status code in the response will be 404.
TRMNL GET /api/setup. Changes remote state or starts work. Run only within the user-authorized scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headers | Yes | ||
| profile | No | Configured profile name; defaults to default. |