If you don’t have an actual zigbee curtain device to sniff the messages you might have trouble doing this on the Deconz infrastructure. That’s a closed system, so you just can’t load up any driver you want. In order for it to work your device is going to have to mimic one that Deconz supports. That’s not going to be an easy task in python or the Arduino IDE. Good luck!