<% // Gesamt Power $grandtotal=0 foreach Plugwise.networks $grandtotal+=$_Value.PowerUsage /foreach $MainPower = "" + $grandtotal %> <% echo 'Gesamt = ',$MainPower echo '
' echo '
' foreach Plugwise.Appliances echo 'AppId = ', $_Value.ID ,'
' echo 'Lock = ', $_Value.DoNotSwitchOff ,'
' echo 'Name = ', $_Value.Name ,'
' echo 'Power = ', $_Value.PowerUsage,'
' echo '
' /foreach %>