-
Hi. I'm an ex-tipboard user and I tried porting my old scripts to this newer version. Unfortunately it wasn't a straight forward port. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Answering my own question. tile_id="ID" |
Beta Was this translation helpful? Give feedback.
Answering my own question.
tile_id="ID"
tile_title="TITLE"
curl -X POST 'http://IP:port/api/push' -d 'tile_id='$tile_id -d 'tile_template=big_value'
-d 'data={"title":"'"${tile_title}"'" , "big-value": "", "lower-left-label": "", "upper-left-label": "", "upper-right-label": "", "lower-right-label": "", "description": "", "upper-left-value": "", "lower-left-value": "", "upper-right-value": "", "lower-right-value": "" }'
-d 'meta={ "big_value_color": "green", "fading_background": "false"}'