Skip to content

Trouble reading trmnl json #71

@halkeye

Description

@halkeye
[23:25:34][TRMNL] API: https://trmnl.g4v.dev/api/display
[23:25:34][TIME] Internal clock was adjusted by 1773815129 seconds
[23:25:34][TIME] Internal RTC was adjusted by 0 seconds
[23:25:34][TIME] NTP UNIX time Epoch(1773815134)
[23:25:34][TRMNL_LOG] Added: boot: count=1 reason=normal sleep=1200s
[23:25:34][TIME] Timezone offset: (0) 0 hours
[23:25:34][TIME] synced local UNIX time Epoch(1773815134) 06:25:34 Wednesday, March 18 2026 
[23:25:34][TRMNL] Sending battery voltage: 4.11, percent: 88%
[23:25:34][TRMNL] Sending sensor data: make=TI;model=TPS65186;kind=temperature;value=24;unit=celsius;created_at=1773815134
[23:25:34][NET] downloading file at URL https://trmnl.g4v.dev/api/display
[23:25:34][  5827][E][WiFiClient.cpp:320] setSocketOption(): fail on -1, errno: 9, "Bad file number"
[23:25:36][TRMNL] Deserialized json:
[23:25:36]null
[23:25:36][TRMNL][ERROR]: No image_url found!
[23:25:36][STATUS] Download failed!

Trmnl output

{"status":0,"image_url":"https:\/\/trmnl.g4v.dev\/storage\/images\/generated\/cd05b8b5-4795-4d0a-9067-4db60bc623d6.png","filename":"cd05b8b5-4795-4d0a-9067-4db60bc623d6.png","refresh_rate":900,"reset_firmware":false,"update_firmware":false,"firmware_url":null,"special_function":"sleep","maximum_compatibility":false,"image_url_timeout":30}

My only guess is that larapaper is escaping the image_url slashes? but there's no error messages on either side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions