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


Question

Posted

Hi,

      any experience or guidlines how to use Philips HUE plugin in LUA ? Im using HUE so far by VDs, but would like to use plugins as such in LUA ?

 

 

Thanks

4 answers to this question

Recommended Posts

  • 0
Posted

Create a scene and fill in like this:

Please login or register to see this code.

Frakke Postet this and it works very nice for me

Please see this topic

Please login or register to see this link.

  • 0
Posted

One additional remark from my side..

 

WHen I still had my Hue's I had issues when addressing them too quickly after each other.

For example, when I'd fire off 5 commands after each other to turn on 5 different Hue bulbs, often 1, 2 or 3 wouldn't switch on.

I fixed this by including a sleep statement after each call for 2000ms or so..

 

Not sure though whether others experience(d) the same issues, or whether it was just my setup for whatever reason..

  • 0
  • Inquirer
  • Posted

    Ive got the same... Also "sleep" fixed the issue...

    • 0
    Posted

    One additional remark from my side..

     

    WHen I still had my Hue's I had issues when addressing them too quickly after each other.

    For example, when I'd fire off 5 commands after each other to turn on 5 different Hue bulbs, often 1, 2 or 3 wouldn't switch on.

    I fixed this by including a sleep statement after each call for 2000ms or so..

     

    Not sure though whether others experience(d) the same issues, or whether it was just my setup for whatever reason..

    That's true it is documented in the philips hue api FAQ

     

     

     

    How many commands you can send per second?

    You can send commands to the lights too fast. If you stay roughly around 10 commands per second to the /lights resource as maximum you should be fine. For /groups commands you should keep to a maximum of 1 per second.

    Please login or register to see this link.

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