IoTBuildingServices is a plugin layer for LinkSmart .net. It consists of a set IoTResources and IoTDiscoveryManagers specifically designed for smart home and building applicaitons like Home Automation and Energy Efficiency. This plugin layer extends the sofware gateway to allow monitoring and control of the energy consumed by appliances and other devices as well IoTResources for sensing various envíronmental parameters. Support for UPnP-enabled devices is also provided.