Is it possible to add buttons for the led and centre dial widgets to the dashboard editor?
Thanks
Lloyd
Archived Forum |
|
Add buttons to Dashboard EditorSubmitted by Lloyd on Fri, 11/05/2012 - 12:09Is it possible to add buttons for the led and centre dial widgets to the dashboard editor? Thanks Lloyd » |
Re: Add buttons to Dashboard Editor
And a second question - how do I add the display of a feed value graphically, as the editor seems to have stripped all mine out?
Lloyd
Re: Add buttons to Dashboard Editor
Anyone ?
Lloyd
Re: Add buttons to Dashboard Editor
First question... i am on the way :-) (can you paste html code? )
Second... can you paste the html code here too so could make a class style to better display?
Best regards
ilde
Re: Add buttons to Dashboard Editor
This is the code I use for the led and import/export meter:
<div class="led" feed="feedname"></div>
<div class="widget">
<div class="title">Import/Export</div>
<div class="centredial" feed="ImportExport" max="10000" units="W" scale="1"></div>
</div>
And this should display a value, where kwhd is the feed name:
<div class="stats" style="height:70px">
<b>Energy used today:</b><br>
<div class="value"><span class="kwhd"> </span> kWh</div>
</div>
hope this helps,
Lloyd
Re: Add buttons to Dashboard Editor
There is also this widget which is good on a dashboard:
<div class="widget">
<div id="house-graph" class="graph" feed="power"></div>
</div>
See here: http://openenergymonitor.org/emon/applications/homeenergy
Lloyd
Re: Add buttons to Dashboard Editor
Hi Ilde
Good job on getting the house graphs in the editor.
Any joy on getting display of values available? When I try and add by hand (div class="value"><span class="kwhd"> </span> kWh</div>) the editor strips the span tags out.
Thanks
Lloyd
Re: Add buttons to Dashboard Editor
Thx!!!
i insert your code and it doesnt happend to me.... :-o
The code works fine for me :-(
<div class="value"><span class="kwhd"> </span> kWh</div>
did you test it in lastest version? could you send me the complete html code (maybe some other code breaks the parser )
Best regards
ilde
Re: Add buttons to Dashboard Editor
I've have now found that sometimes the span elements stay, sometimes they get deleted. In the attached file, the last two get deleted (Voltage and ImmVRms).
Lloyd