@Darkigel, you are trying to use the HUE api exposed by the deCONZ-software - right?
If so, this tutorial I’ve made some day may help: