I created an App with 4 frames that reflect 4 statuses each having text and a nice icon. This is working fine, LaMetric is scrolling all 4 frames.
What I want to do is the Push to the app one specific status which is one specific frame but only a point to the frame without the content, as the content is already defined within the app. I would have expected something like:
{
"frames": [ {
"index": 0,
}, ]
}
would recall frame 0 in the app.
How can this be achieved?
Best Answer
L
LaMetric Technical Support
said
over 8 years ago
Hi,
Unfortunately that is not possible.
Instead, you probably want to have one single frame that will represent status and update that single frame with new icon and text when it changes.
{
"frames": [{
"index":0,
"icon": "<icon id>",
"text": "status text"
}
Icon ids can be found here – just replace the # symbol before the icon id with "i" for static images and "a" for gifs. So your icon id should look like "i2918" or "a2900".
Hope it helps.
1 Comment
L
LaMetric Technical Support
said
over 8 years ago
Answer
Hi,
Unfortunately that is not possible.
Instead, you probably want to have one single frame that will represent status and update that single frame with new icon and text when it changes.
{
"frames": [{
"index":0,
"icon": "<icon id>",
"text": "status text"
}
Icon ids can be found here – just replace the # symbol before the icon id with "i" for static images and "a" for gifs. So your icon id should look like "i2918" or "a2900".
Lukas Leuthold
Hi.
I created an App with 4 frames that reflect 4 statuses each having text and a nice icon. This is working fine, LaMetric is scrolling all 4 frames.
What I want to do is the Push to the app one specific status which is one specific frame but only a point to the frame without the content, as the content is already defined within the app. I would have expected something like:
{
"frames": [ {
"index": 0,
}, ]
}
would recall frame 0 in the app.
How can this be achieved?
Hi,
Unfortunately that is not possible.
{
"frames": [{
"index":0,
"icon": "<icon id>",
"text": "status text"
}
Icon ids can be found here – just replace the # symbol before the icon id with "i" for static images and "a" for gifs. So your icon id should look like "i2918" or "a2900".
Hope it helps.
LaMetric Technical Support
Hi,
Unfortunately that is not possible.
{
"frames": [{
"index":0,
"icon": "<icon id>",
"text": "status text"
}
Icon ids can be found here – just replace the # symbol before the icon id with "i" for static images and "a" for gifs. So your icon id should look like "i2918" or "a2900".
Hope it helps.
-
How to pull data from external site to display?
-
nodejs request "gets acces denied"
-
curl to python for eventghost
-
Push text from Eventghost to LaMetric via python
-
Basic API pull and json parse example....
-
A guide for starting an app?
-
A small wrapper to push your just created JIRA issues to your LaMetric.
-
Simple project to push home consumption data to be shown on a Lametric device
-
Interface to have Slack send messages to a LaMetric Time
-
Very simple module to push frames to LaMetric
See all 149 topics