SasaKaranovic / VU-Server

VU Dials Server Application
https://vudials.com
26 stars 12 forks source link

Info on set background image #47

Closed docop closed 2 months ago

docop commented 3 months ago

Hi I try to set an image, but it is not possible via the webgui as 1: the image default is only a white square. Not the one with the vu-dial txt on it, just like on the display. And 2 - we cannot click and cannot browse to folder and select a file to upload. But part of example with the: post and get.. and on how to push. And as those 2 how to fit in a command .. do you have an example on how to check status.. like at your : https://docs.vudials.com/api/dial_UID_easing_get/

Or better.. how to upload from terminal an image.. via curl ? Thanks in advance

SasaKaranovic commented 3 months ago

I'm not sure I entirely understood your question but for the terminal example, you could try something like

curl --location 'http://localhost:5340/api/v0/dial/YOUR_DIAL_UID/image/set' \
--form 'imgfile=@"/C:/image.png"' \
--form 'key="cTpAWYuRpA2zx75Yh961Cg"'

Make sure your image is exactly 144x200.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 3 days.

github-actions[bot] commented 2 months ago

This issue was closed because it has been stalled for 5 days with no activity.