“…The socket module, as shown in Fig. 3, is composed of an Arduino microcontroller, XBee wireless transceiver, as well as multiple solid-state relays and electronic sensors [4]. It is placed between an electric socket and load, serving the following purposes: † Perform distributed sensing -The socket module houses a number of electronic sensors, like the thermocouple, that facilitate measurement of light intensity, motion, temperature, voltage potential and current draw.…”