Energy efficiency and retrofitting drive building automation