I was wondering if it was possible to perform a webrequest to call the button which let you connect the phone with the hue?
Thanks in advance.
There is a way to address this physical button or link button. It isn't possible via the SDK's but you can use the API to do a PUT on
http://<ip-address.of.the.bridge>/api/<username>/config
with the following message/body
{
"linkbutton": true
}
You still need to press the physical button at least once to generate a username that is linked with your device.
URL: /api
messagebody: {"devicetype":"my_hue_app#your_device_name"}
method: POST