Code Monkey home page Code Monkey logo

Comments (5)

natcl avatar natcl commented on September 17, 2024

If you want to change the brightness at a different transition time than default you need to explicitly specify it when calling your message. Or are you already specify it and it doesn't work ?

lecaude.com
studioimaginaire.com

Le 20 avr. 2016 à 22:13, Robby Lucia [email protected] a écrit :

When I change the color of a light, it changes at the speed of the transitiontime. However, when I change the brightness, it changes at the default transitiontime (quickly).

Is this a bug, or is it just me? It even happens with the supplied example files.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

from phue.

rluciaold avatar rluciaold commented on September 17, 2024

Yes, I am specifying transitiontime, the color change abides by the
transition time, but not the brightness. Thank you for responding
On Apr 21, 2016 12:41 AM, "Nathanaël Lécaudé" [email protected]
wrote:

If you want to change the brightness at a different transition time than
default you need to explicitly specify it when calling your message. Or are
you already specify it and it doesn't work ?

lecaude.com
studioimaginaire.com

Le 20 avr. 2016 à 22:13, Robby Lucia [email protected] a écrit
:

When I change the color of a light, it changes at the speed of the
transitiontime. However, when I change the brightness, it changes at the
default transitiontime (quickly).

Is this a bug, or is it just me? It even happens with the supplied
example files.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#61 (comment)

from phue.

natcl avatar natcl commented on September 17, 2024

Can you send the exact command you are sending so I can see of I can reproduce ? Thanks.

lecaude.com
studioimaginaire.com

Le 21 avr. 2016 à 01:06, Robby Lucia [email protected] a écrit :

Yes, I am specifying transitiontime, the color change abides by the
transition time, but not the brightness. Thank you for responding
On Apr 21, 2016 12:41 AM, "Nathanaël Lécaudé" [email protected]
wrote:

If you want to change the brightness at a different transition time than
default you need to explicitly specify it when calling your message. Or are
you already specify it and it doesn't work ?

lecaude.com
studioimaginaire.com

Le 20 avr. 2016 à 22:13, Robby Lucia [email protected] a écrit
:

When I change the color of a light, it changes at the speed of the
transitiontime. However, when I change the brightness, it changes at the
default transitiontime (quickly).

Is this a bug, or is it just me? It even happens with the supplied
example files.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#61 (comment)


You are receiving this because you commented.
Reply to this email directly or view it on GitHub

from phue.

rluciaold avatar rluciaold commented on September 17, 2024

Sure, sorry for the delay.

from phue import Bridge
b = Bridge('192.168.1.3')

light_names = b.get_light_objects('name')

def test(xbright,xtrans,xcolor):
    for light in ['LightStrips 1','LightStrips 2','Hue Lamp 1','LivingColors 1','LivingColors 2']:
        light_names[light].brightness = xbright
        light_names[light].transitiontime = xtrans
        light_names[light].xy = xcolor
    for light in ['Lux Lamp 1']:
        pass


##COLORS for quick reference##
DarkRed = [0.7,0.2986]
Blue = [0.139,0.081]

test_brightness      = 250 
test_transition_time = 1000

# test_color           = DarkRed
test_color           = Blue

test(test_brightness,test_transition_time,test_color)

from phue.

rluciaold avatar rluciaold commented on September 17, 2024

Did this happen for you, too? Or just me?

from phue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.