Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

Philips Hue Bridge won't connect


Question

Posted

Hi,

 

Yesterday i bought a HC2 and i love it, but i do have 1 problem: It wil not connect to my Hue brigde.

The bridge works fine and all the lights work trough my phone.

Also the API is accessable and i can switch my lights with it, so the bridge does not seem to be the problem.

 

I did the following (over 50 times)

  • Go to the plugin
  • Give it a name
  • go to advanced options
  • search for the bridge and select it.
  • adjust the polling time-out (or not doesn't matter).
  • Press save
  • Press the round button on the bridge.
  • press [create user] button.
  • after 10sec press [start search].

No lights are ever found...

 

What am i doing wrong?

 

Ow, by the way: Adding a light the old fasion way with LUA Code does work, but i would like to use the plugin

Please login or register to see this image.

/emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

 

Thank you !

 

19 answers to this question

Recommended Posts

  • 0
Posted

Read this:

 

Please login or register to see this link.

 

But not sure if it works with new HUE bridge 2, definitely works with old HUE bridge (round one).

 

I was using HUE plugin but only for short time. Now I use virtual device that was originally made by 

Please login or register to see this link.

 see here:

 

Please login or register to see this link.

 

But I modified it to my needs and also added to it On/Off button. This is because with plug in you get separate control for each bulb, and with VD I can turn on/off groups of HUE lamps and change color and saturation.

  • 0
  • Inquirer
  • Posted

    Hello,

     

    Thank you for replying!

    Sadly the trick with waiting a bit longer and saving does not work for me.

    I already used the CRISSXCROSS code and it works great,

     

    Still, i would like the plugin to work...

    • 0
    Posted

    Hello,

     

    Thank you for replying!

    Sadly the trick with waiting a bit longer and saving does not work for me.

    I already used the CRISSXCROSS code and it works great,

     

    Still, i would like the plugin to work...

     

    Do you have old round HUE bridge or the new square one?

    • 0
    Posted

    I cant get mine to work, Bridge v2 (square).

    • 0
  • Inquirer
  • Posted

    Hey,

     

    I have the "old" Round one.

    • 0
    Posted

    keep trying those two steps

    • Press the round button on the bridge.
    • press [create user] button. <--- wait longer before trying to search the lights
    • after 10sec press [start search].  
    • 0
  • Inquirer
  • Posted

    Read this:

     

    Please login or register to see this link.

     

    But not sure if it works with new HUE bridge 2, definitely works with old HUE bridge (round one).

     

    I was using HUE plugin but only for short time. Now I use virtual device that was originally made by 

    Please login or register to see this link.

     see here:

     

    Please login or register to see this link.

     

    But I modified it to my needs and also added to it On/Off button. This is because with plug in you get separate control for each bulb, and with VD I can turn on/off groups of HUE lamps and change color and saturation.

    Could you please post the LUA code fot the On/Off button?

     

    Thank you!

    • 0
    Posted

    Could you please post the LUA code fot the On/Off button?

     

    Thank you!

    I'm not at home at the moment but as soon as I get chance I will post complete VD here.

    • 0
  • Inquirer
  • Posted

    Still not home yet?

    Please login or register to see this image.

    /emoticons/default_wink.png" alt=";)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

     

    Haha just messing with you, though the code would be more than welcome ^^

    • 0
    Posted

    I will be back home in around 3 weeks and then will post HUE VD code.

    • 0
  • Inquirer
  • Posted

    Thank you, i will check every once in a while

    Please login or register to see this image.

    /emoticons/default_biggrin.png" alt=":D" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

    • 0
    Posted

    Ufff, my apologies for this long wait. I'm really busy with programming my HC2 and time flies. Please check this thread:

     

    Please login or register to see this link.

     

     

    • 0
  • Inquirer
  • Posted

    Great! No problem about the wait, life goes on ;)

    Thank you!

    • 0
    Posted (edited)

    Its clearly a problem for the plugin that the HUE API now cannot support custom usernames.
    No problem, get random username instead
    use code from Sankotronic, clean up a bit of the original code from SIIO as it doesnt work out of the box anymore, use this kind of setup on top of each slider and main code instead:

    "
    hueIP = "192.168.1.XXX"
    huePort = 80
    hueUser = "aglkxIGT6zWFcaQXxXXxxxxXXXxxluOrLjahQJJXQ"
    hueLightID = 3
     
    -- set the id of the HC2 Virtual Device
    vDeviceID = fibaro:getSelfId();

     

    "


    Now everything works perfectly :)

    Edited by sindrejl
    • 0
    Posted (edited)

    Philips hue is working great with Fibaro plugin!

     

    I bought a Philips HUE starter kit today because I want to use the HCL plugin. I installed it and connected it succesfully to my Philips Ambilight TV. All working great.

     

    Two problems I encounterd with HUE plugin:

     

    1. HCL can't find any HUE Bridge (but my Bridge IS there, I can ping it and it's working fine)

    2. After adding the IP address manually in the plugin, it seems that the plugin can't connect tot the Bridge to create an account.... (yes, I pushed the button on the Bridge within 30 sec. ;-) )

     

    After this I disconnected and removed all configs. I updated the firmware for the HUE hub and the light bulbs and reconfigured the plugin.

    The Fibaro plugin was able to find the hub and discovered my light bulbs accordingly.

     

    I'm am now able to change the lights via the Fibaro plugin :-)

     

     

    (p.s. I'm using HCL )

     

     

     

     

     

    Edited by PeGe
    solved the issues ;-)
    • 0
    Posted
    On 15.10.2016 at 0:05 AM, PeGe said:

    Philips hue is working great with Fibaro plugin!

     

    I bought a Philips HUE starter kit today because I want to use the HCL plugin. I installed it and connected it succesfully to my Philips Ambilight TV. All working great.

     

    Two problems I encounterd with HUE plugin:

     

    1. HCL can't find any HUE Bridge (but my Bridge IS there, I can ping it and it's working fine)

    2. After adding the IP address manually in the plugin, it seems that the plugin can't connect tot the Bridge to create an account.... (yes, I pushed the button on the Bridge within 30 sec. ;-) )

     

    After this I disconnected and removed all configs. I updated the firmware for the HUE hub and the light bulbs and reconfigured the plugin.

    The Fibaro plugin was able to find the hub and discovered my light bulbs accordingly.

     

    I'm am now able to change the lights via the Fibaro plugin :-)

     

     

    (p.s. I'm using HCL )

     

     

     

     

     

    Hi, which version of Philips hue You have?. Thanks

    • 0
    Posted

    Hi Janech,

     

    I use model BSB002 version v2.5.0 (99)  with firmware version 01036659 (updated today,  November 29th)

    • 0
    Posted

    I have HC2 with 4.100 and Philips HUE bridge BSB002 with FW 01036562 and adding of plugin went without problem. This exercise I did just to test my new scene with Philips HUE plugin. Now they are deleted and I will continue to use VD because if nothing else plugin does't always update status of the lamps, and that brightness slider and I like to have icon of bulb with light intensity shown instead of black box with "Philips HUE" text in it.

     

    But as I wrote once or twice before, when adding plugin you need to be patient and wait a little while before taking next step and at the end refresh web GUI to find lamps on the bottom of the page under Unassigned section.

     

    First one that was name Philips HUE is master and should not be deleted because deleting it will delete all others. Others that has number as a name are actual HUE lamps and that number corresponds to the number of lamp connected to the bridge. If you try to delete one with number for a name will came back after a while.

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...