Luup API http://wiki.micasaverde.com/index.php/Luup_Requests#device HUE API http://www.developers.meethue.com/documentation/getting-started