add zigbee end devices in a ha profile

hai ,
I have some questions added below please lookover that.

  1. i saw a serial number in philips hue bulb to search for device.what is that serial no stands for in terms of zigbee settings?.
    2.i controlled hue bulb using xbees2c but i didn’t understand the format of data payloads.what is the general format for data payload to control ha profile devices.