REST API to control home automation deployments coded as Django apps