The data below was derived from Wireshark on the port where the Philips Hue base station sits.

There is a string 0123456789abdcef0123456789abcdef referred to in the below data. This is a username that the client uses when talking to the base station to identify itself. This username is generated by the client and sent to the base station via POST request.

If the LINK button on the base station has not been pressed, this POST request will result in an error being returned via JSON. Once the LINK button is pressed, the next POST request you make will save the username you sent to the client whitelist.

ADD A NEW SCHEDULE

Schedules are used to turn bulbs on and off at a pre-determined time. You must add a separate schedule for each bulb and each bulb event.

For example, if you have two bulbs and want to turn them on in the morning and off in the evening, you will create four schedules, two schedules to turn the bulbs on and two schedules to turn them off.

You may be able to use schedules with groups but I have not tested that yet.