<% $TableId='appliances' Request.Session['TableId']=$TableId Request.Session['Switchable']=true /* These scripts show an example on how to use the Source graph generator from a web page. Like the web server it self, it is experimental. We encourage anyone to experiment with it, but we do not give any support. Bug reports and sugestions however are very welcome and can be sent to helpdesk@plugwise.com. Be aware that if you keep the 'www' folder in its original location, files will be overwritten during updates. */ include "_graphview_settings.pte"; %> Plugwise Source Webserver Graph Example

Demo of the built-in webserver of Source.

Debug
Selection
<% if $Switchable %>     Click the items which you want to switch and/or show the graph for. If none is selected, all appliances are used for the graph. <% else %>     Click the items for which you want to show the graph. If none is selected, all appliances are used. <% /if %>
Parameters
Title  Colors     Show Per
Scale <% $opts={'1'=>'100%','.75'=>'75%','.5'=>'50%'} $sel=Request.Get['zoom'] || '1'; foreach ($opts) echo '',$_value,'   ',"\r\n"; /foreach %> " value="1">Show legend From "> To ">
Current power usage: W, Total power usage today: kWh
Graph
Please wait...

Plugwise Source webserver documentation