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 plugin, color temperature


nermo81

Question

I have installed the philips hue plugin. Does anyone know how to change color temperature in LUA?

I can get the value, but I don't know how to set it.

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0
  • Inquirer
  • Thanks for replying. Yes, I know about this one. But I just want to keep it really simple, trying to use the hue plugin. I can change the brightness in one line, but not the color temperature.

    Link to comment
    Share on other sites

    • 0
    5 hours ago, nermo81 said:

    I have installed the philips hue plugin. Does anyone know how to change color temperature in LUA?

    I can get the value, but I don't know how to set it.

    to create a color with hue I in hcl I created a vd with different colors for colors and then use in scenes to call that color.  you must have access to philips hue with developer privileges ....

    Please login or register to see this spoiler.

     

    Please login or register to see this attachment.

     

    Please login or register to see this attachment.

    Edited by bell_dan
    Link to comment
    Share on other sites

    • 0

    this is how you gain access to your HUE developer privileges.

     

    http://192.168.x.xx/debug/clip.html 

     

    1. Login here: <hue bridge ip>/debug/clip.html

    3a. in the URL: box just have /api 3b. in the Message Body box type: {"devicetype":"my_hue_app#iphone peter"} 3c. Press the link button on the bridge and 3d. Click "POST" back in the web browser. It should give you a long string for the new user you created.

    1. In URL box type: /api/(new user string you just created)/config/

    2. About 13 lines down, you'll see the whitelist...all the apps that are authorized to access the bridge.

    3. Get that long alphanumeric string above the device you want to remove (it'll look like: f6SEmYj6FMGSq5aRqaP4jPO6YaHbbddAzhBjo2qnD)

    4. In the URL box type: /api/(user string)/config/whitelist/long_alphanumeric_hash_here

    5. Press DELETE. You should get a "success" message

    Link to comment
    Share on other sites

    • 0
    On 11/27/2018 at 7:36 PM, nermo81 said:

    I have installed the philips hue plugin. Does anyone know how to change color temperature in LUA?

    I can get the value, but I don't know how to set it.

     

    You can do it very simple, for example:

    Please login or register to see this code.

    140 is the ID of my Hue light. If you set the light on the correct color/brightness with the Philips Hue app, you can get the values for your script with the Fibaro API by browsing to 

    Please login or register to see this link.

    <device-id>

    • Like 1
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • This is the lamp I have. It does not support hue and saturation, only brightness and colortemperature.

    Please login or register to see this image.

    /monthly_2019_01/hue-white-ambiance.PNG.8ac9bfec04b14e7d4483ce88b5203c88.PNG" />

     

    This is the code to read out all values:

    Please login or register to see this code.

    the debug displays following:

    Please login or register to see this code.

    I know I can change the following this way:

    Please login or register to see this code.

    Hue and saturation give 0 no matter what I set i to.

    But my question is still, how to change the ct (color temperature) ?;)

    Edited by nermo81
    Link to comment
    Share on other sites

    • 0

    Hi y'all

     

    I have the same problem. It seems that the plugin has been developed to work mainly with color ambiance bulbs rather than with the white ambiance bulbs. There seems to be simply no command to change the ct. Question is still how to circumnavigate this problem. And again it only applies to the white ambiance bulbs. 

     

    regards to all 

    Edited by Flyer340
    misspelling
    • Like 1
    Link to comment
    Share on other sites

    • 0

    Would like to bump up this request - almost 1 year this demand has been raised and so far not taken into account - is the plugin not maintained or enhanced?

    • Like 2
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • after alot of waiting, and no answer, I have made a switch to homeseer. and I can say this works really good with all my hue products.

    Link to comment
    Share on other sites

    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...