Display image in a device dashboard

Hi all,
We can use a “variable” control to display text on a device dashboard but is there a way to display image ?
I tried to put some html code into my “variable” control but without succes :confused:

luup.variable_set("urn:psykokwak-com:serviceId:TEdf1", "MyVariableControl", "<img src=\"/cmh/skins/default/icons/network_100.png\" >", 10)

So, is there a way to display an image ?
Is it important to be able to change the image from my LUA device implementation file.

An other question : is there a way to display some text (always from a “variable” control) which can be bigger than 1x ? My text is truncated with “…” :frowning:

One option is to use javascript for displaying the image. See http://forum.micasaverde.com/index.php/topic,10676.msg74387.html#msg74387

Thanks capjay for your answer.
Unfortunatly this solution will not fit my needs because I would displays this image on the dashboard (using “controlgroup”).

Can’t be done, sorry. (The security camera dashboard code is too specific to be useful in general.) Go raise a feature request on bugs.micasaverde.com.

Yeahhhhhh. I fixed the two bugs in the same time 8)

To display image in the dashboard, you have to “disable” text truncation (limited to 11 chars).
Edit the file “/www/cmh/js/ui5/main.js” by removing the link and copying it. Goto line 869 and change the “maxlen” value. I put 300.

Now I’m able to put my html code to display my image on the dashboard ;D

Any screenshots?

Thanks

I use it to display wireless quality of my device.

Now that this file is “yours” and not part of the MiOS distribution, you won’t benefit from bugfixes in future releases of the firmware that change this file. Or, worse, you may have instability if a future firmware makes changes in this file and another (untouched) file in tandem. Hope that doesn’t bother you.

I do not plan to update and if one day I have to I will backup my modifications and do a reset before. :wink:
I’m an advanced linux user, I’m not afraid of this kind of manipulation.
My only regret is that I can not distribute my plugin :frowning:

Now that this file is “yours” and not part of the MiOS distribution, you won’t benefit from bugfixes in future releases of the firmware that change this file. Or, worse, you may have instability if a future firmware makes changes in this file and another (untouched) file in tandem. Hope that doesn’t bother you.[/quote]

futzle,

Mostly users of vera, need to make changing in the tux for made what they want. Else i will buy a another box not open. And regarding the update from micasaverde, we wait new update since far away.

Any chance the developer of this is still around?