Automation for control of a vivarium