% // Example of a very basic script to control the switching of appliances in a Plugwise network // from an IPhone. // Adjusted everything to work with the newest Source version 2.16, spierie-25012011 // to be precise: deleted the sorting of the TOP 10 appliances and made sure // the Undefined issues were deleted. Undefined is a new function in the 2.16 Source // it takes care of empty elements/arrays. // Michel Spierenburg-25012011 Format ".PowerUsage" As "{0:0}"; $clientName = "Plugwise"; %>