Open source building automation platform