A Survey of Energy Efficiency in Buildings and Microgrids using Networking Technologies | Synapse