Automated growbox controller