Tag smart building integration and automation