How to program a zigbee device

Hi Steven,

I will hopefully have the time to look deeper some time later today or tomorrow, but this could be a starting point :