Giter Club home page Giter Club logo

Comments (10)

OttoWinter avatar OttoWinter commented on July 20, 2024 2

Done in 1.8.0 :)

from esphome-core.

OttoWinter avatar OttoWinter commented on July 20, 2024 1

So I did some more digging into this DMX format yesterday and fortunately it's supported by FastLED which I want to add suport for soon (quite a few people seem to be using addressable lights). Then that controller would hopefully also be supported.

About the RGBWW lights: Yes it's true we would need to do some color mixing ourselves, but that probably wouldn't be that big of a problem - looking at the Home Assistant source LimitlessLEDs also don't do nothing more than a bit of mixing.

from esphome-core.

OttoWinter avatar OttoWinter commented on July 20, 2024

Yes, I was planning on eventually adding those, but I don't own any hardware for those so I kind of kept away from adding support.

I think it should be relatively easy to do so I could add support for it rather quickly. I'm just wondering how the interface for these color temperature lights usually look like. Do they expose two channels (one for cold white, one for warm white) that you can send PWM signals to? Do these exist together with RGB too, so RGBWW?

from esphome-core.

messismore avatar messismore commented on July 20, 2024

From what I understand dimmers expose two channels. I don't own any hardware yet either, but I haven't found dimmers yet that support a pwm input signal. I was hoping to be able to use something like this or that.
image_843336_1_720x600

Unfortunately it appears that the only way to control both channels is via DMX and I don't know how much of a headache that is.

from esphome-core.

messismore avatar messismore commented on July 20, 2024

Okay it seems that Home Assistant indeed supports setting a colour temperature for RGBWW lights. (See LimitlessLED)
Home Assistant expects colour temperatures to be set in Mireds, so I guess esphomelib would need to know the colour of each channel and mix accordingly?

from esphome-core.

messismore avatar messismore commented on July 20, 2024

About the RGBWW lights: Yes it's true we would need to do some color mixing ourselves, but that probably wouldn't be that big of a problem - looking at the Home Assistant source LimitlessLEDs also don't do nothing more than a bit of mixing.

Yeah it's just something to keep in mind since these tuneable white led strips all support different colour ranges. So it's not as simple as to just 'pan' between the two channels, one would also need to know which colour temperature each ratio belongs to.

from esphome-core.

OttoWinter avatar OttoWinter commented on July 20, 2024

So I've now implemented support for FastLED, however, support for DMX is going to be quite difficult.

The Arduino library FastLED uses for DMX only works for AVR (so no espressif) devices. I'll maybe try to port that library to esphomelib one day, but tbh it's not that big of a priority for me right now.

from esphome-core.

messismore avatar messismore commented on July 20, 2024

That is unfortunate, but understandable. This might be the time for me to finally dabble in C++…

from esphome-core.

Skaronator avatar Skaronator commented on July 20, 2024

Would be cool to see support for RGBWW (aka. RGB+CCT) 5 channel light. I've a few H801 with RGB and CCT LED strips.

from esphome-core.

messismore avatar messismore commented on July 20, 2024

Yeah, I finally settled on these. Can't wait to play around with them as soon as they arrive in a couple of weeks. 😄

from esphome-core.

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.