I have been making my own Zigbee environment sensor.
Take a look at this. Let me know, whether it may help you.