Fetch the next screen
Request
- Base URL: https://trmnl.com
- URL: https://trmnl.com/api/display
- Auth: none declared. Required headers: Access-Token
Headers
Device API Key (eg. abc-123)
Device battery voltage (eg. 3.7)
Device percent charged (eg. 69.4)
Number of batteries in device (e.g. 1-2)
Whether device is plugged into power (eg. true)
Quality of battery (eg. -1-100)
Battery current (eg. -1-N)
Battery temperature in celsius (eg. -1-N)
Ratio of current / max capacity (eg. -1/-1 in fault case)
Whether device is plugged into power via USB ("true" or "false")
WiFi band the device is connected on ("2.4" or "5")
Identifier of the ePaper panel fitted to the device
Device firmware version (eg. 0.0.1)
Device firmware commit hash, for the development channel (eg. a14914c)
Device RSSI (eg. -69)
Device screen height (eg. 480)
Device screen width (eg. 800)
Run a special function: true for the one set for the button, or a function name:
- true
- identify
- sleep
- restart_playlist
- rewind
- send_to_me
- guest_mode
- refresh
Encode image function (eg. true)
Environmental sensor data
Whether the device served the previous image from cache (eg. true / false)
Seconds the device was awake during the last cycle (eg. 12)
Response
Success
Example response
{
"status": 200,
"image_url": "https://trmnl.com/images/system_screens/setup_logo/og_plus.png",
"filename": "setup-logo.bmp",
"refresh_rate": 300,
"firmware_url": "https://trmnl.com/firmware/1.0.0.bin",
"special_function": "identify",
"action": "identify"
}Changes
No recorded changes to this operation across all 1 revision of this API.