Embedded-class processors found in commodity palmtop computers continue to become increasingly capable.Moreover, wireless connectivity in these systems provides new opportunities in designing flexible and smarter wireless sensor networks (WSNs). In this paper we present Lynx, a self-organizing wireless sensor network framework. Leveraging palmtop systems as sensor hubs, Lynx provides fundamental functionality to make a distributively managed, customizable WSN system implementation. Second, we describe Ocelot, a mobile distributed grid-like computing engine for commodity palmtop platforms. The combination of Lynx and Ocelot provides sensor nodes that are capable of collecting, recording, processing, and communicating data without any central server support. Significant energy savings can be achieved for light to medium weight tasks through the Lynx and Ocelot combined system compared to traditional server-class grid-solutions such as BOINC. We demonstrate Lynx and Ocelot in the context of life-cycle building energy usage.Wireless sensor networks (WSNs) can be broadly defined as any system containing wireless communication and sensing capability. Their applications range from the military domain, including tasks such as battlefield surveillance, to consumer products for in-home energy monitoring and control. As such, WSNs have become an area of significant interest and research activity for a wide variety of academic and commercial research groups. These research topics range from device-level energy harvesting to system-level communication protocol design.Most of the existing standards for WSNs address specific points in the design space for such systems.The most common standard is the IEEE 802.15.4, more commonly referred to as the ZigBee communication standard. ZigBee is designed to provide inexpensive, low-power, reliable communication over relatively long distances, accomplished in part by utilizing a relatively low data rate in the kbps range. Thus, several WSN products exist that employ the ZigBee communication standard. However, while ZigBee is an attempt to optimize the communication protocol for implementing a WSN, WSNs can be constructed using any protocol and hardware platform including common communication standards such as Bluetooth and WiFi (IEEE 802.11).There is considerable WSN research effort targeting improving system capabilities, including developing algorithms for improving node battery lifetime, system connectivity, and performance [1,2,3]. Further, some efforts explore methods for distributing data across the network to maximize data availability when link connectivity is lost, while minimizing system storage and energy overheads [4,5]. Goals of this class of research typically involve maximizing WSN lifetime and robustness under a fixed aggregate system energy storage capacity constraint Most of these efforts work at the algorithmic level and rely on simulation environments to determine their effectiveness. Popular simulators include NetSim [6] and OPNET [7]. Unfortunately, testing new algo...