Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚪ Missing CCT support #1294

Closed
Suxsem opened this issue Apr 5, 2024 · 27 comments
Closed

⚪ Missing CCT support #1294

Suxsem opened this issue Apr 5, 2024 · 27 comments

Comments

@Suxsem
Copy link
Contributor

Suxsem commented Apr 5, 2024

With popular strip chips like FW1906 hitting the market with RGBCCT leds support and with WLED properly supporting CCT channel from version 0.15 we really need CCT support in python-wled as well.

This would allow adding those kind of strip to home assistant as well, because as for now it's not possible to add them (if cct strip is detected the config flow is being stopped) Aircoookie/WLED#3298 (comment) and home-assistant/core#101029 (comment)

This was already asked here: #977

Moreover, a PULL request was already made (I was going to implement basically the same before checking for existing PRs): #1137

It was closed by bot for stale, but please consider merging it to allow me opening a PR to home assistant adding support for CCT strips, thank you.

@Suxsem
Copy link
Contributor Author

Suxsem commented Apr 7, 2024

@frenck any chance you can take a look?

@Suxsem
Copy link
Contributor Author

Suxsem commented Apr 14, 2024

@frenck bumping again, how we are supposed to maintain the home assistant integration if this package doesn't get any attention?

@thedasn
Copy link

thedasn commented Apr 16, 2024

Thanks @Suxsem for raising this issue. I am a newcomer to the HA ecosystem - have been building out my IoT network at home with the use of this great piece of software. I arrived to this Github thread trying to find out a way to fully exploit my Athom bulbs and I just wanted to show my support for the CCT support in HA. @frenck would appreciate if you can have a look!
Best

@Suxsem
Copy link
Contributor Author

Suxsem commented Apr 21, 2024

@frenck what do you need to keep going with the maintenance? PRs? collaborators? maintainers? donations? It's a shame a popular project such as WLED cannot get updated home assistant support. Please, tell us how to ensure this project is properly maintained, I'd really like a reply, thanks a lot

@u20p17
Copy link

u20p17 commented May 9, 2024

@frenck : i just found out about the missing cct support and I would appreciate if you can work on this (or at least give some feedback how we could help you) because I now have installed WS2805 led strips and would love to make it work with home assistant (Y) Hope of hearing from you soon! 👍

@arjanhagedoorn
Copy link

@frenck : i just found out about the missing cct support and I would appreciate if you can work on this (or at least give some feedback how we could help you) because I now have installed WS2805 led strips and would love to make it work with home assistant (Y) Hope of hearing from you soon! 👍

same here, @frenck i would really like this integration!

@pniewiadowski
Copy link

Maybe we just have to create fork and make it custom component available in HACS?

@frenck
Copy link
Owner

frenck commented May 23, 2024

@frenck : i just found out about the missing cct support and I would appreciate if you can work on this (or at least give some feedback how we could help you) because I now have installed WS2805 led strips and would love to make it work with home assistant (Y) Hope of hearing from you soon! 👍

same here, @frenck i would really like this integration!

I've shipped some updates recently, currently looking into adjusting the models to support this. Progress can be tracked in #1334

@Suxsem
Copy link
Contributor Author

Suxsem commented Jun 2, 2024

@frenck any progress? Why not simply merging #1137 ?

@aeroniemi
Copy link

If the library is unmaintained, that's fine. Just fork it, create a new pypy library, merge the code and move the HA integration to depend on the forked library.

@Suxsem
Copy link
Contributor Author

Suxsem commented Jun 2, 2024

I know but it's not really clear if it's manained or not. It's seems to not be actively maintained, but it can happen that for some period one it's too busy with other things. This is why I would appreciate if the owner could be more clear with its intentions with this project.
I have some spare time and I would offer to maintain the library as a collaborator but we need some kind of proper discussion with @frenck

@frenck
Copy link
Owner

frenck commented Jun 2, 2024

@frenck any progress? Why not simply merging #1137 ?

By because there are more things to handle than just cct support.

@Suxsem
Copy link
Contributor Author

Suxsem commented Jun 2, 2024

@frenck any progress? Why not simply merging #1137 ?

By because there are more things to handle than just cct support.

Cct support and improved ota updates are the most (maybe only) requested features for this library, maybe it's worth focusing on those in order to make them available in the short term and then rewrite the library for other goals, what do you think?

@frenck
Copy link
Owner

frenck commented Jun 2, 2024

@frenck any progress? Why not simply merging #1137 ?

By because there are more things to handle than just cct support.

Cct support and improved ota updates are the most (maybe only) requested features for this library, maybe it's worth focusing on those in order to make them available in the short term and then rewrite the library for other goals, what do you think?

Sorry, do not agree. That is hard to do Without making a hot exception mess, mostly caused by slightly different handling @ wled end in different versions.

@Suxsem
Copy link
Contributor Author

Suxsem commented Jun 2, 2024

@frenck do you mean differences between 0.14 and 0.15 or between different variants (eg. Audio reactive)?
That said, do you plan to work on the project during the following weeks? Would you like a collaborator? We could open a discord server to coordinate developments.
The problem here is that CCT users are basically left with no home assistant support, and nowadays more and more strips are becoming cct, this is why I would like to add support in a short term, like a month or so

@frenck
Copy link
Owner

frenck commented Jun 2, 2024

do you mean differences between 0.14 and 0.15 or between different variants

The behavior of CCT, color modes, OTA, and much more has been different between every single version since WLED 0.8.4 and now.

That said, do you plan to work on the project during the following weeks?

I have no plan, this project is not my job, but a side project.

Would you like a collaborator?

You haven't seems to try to contribute anything at this point:

CleanShot 2024-06-02 at 14 43 46@2x

I know you offered help, which is welcome. But I won't be adding collaborators with write access to projects that are unknown to the project.

We could open a discord server to coordinate developments.

Not understanding why that is needed, GitHub suits fine.

The problem here is that CCT users are basically left with no home assistant support

Yup. As it has many issues in the past. Nowadays, it is better. Had a little talk with Aircoookie, when I met him a few week ago as well; it is time for a proper translations of color modes (not just CCT).

this is why I would like to add support in a short term, like a month or so

So, CCT has not been supported since years, I don't understand the rush part behind this? If it is done in a week, great! Done in two months fine, done in three months from now: still great! Wonder how you came up with the "month" time frame and the rush you put behind this?

@Suxsem
Copy link
Contributor Author

Suxsem commented Jun 2, 2024

@frenck no rush nor time frames, the PR I linked consists very little modifications, I tested it and worked great with a slightly modified version of the wled HA integration. I'm a professional software engineer and part of my job consists in estimating developing tasks, a month seems to me a good estimation for a side project if there is commitment.
I perfectly understand that all your work is voluntary but it's a fact that both wled and home assistant are very popular open sourced projects and having a maintained integration (and to me this also means having a plan of upcoming work, best of public) is very important for a lot of people. As I said, no one is asking you to do any free or paid work, just it would be great to have a clear view of the future of this project and, besides forks, what is the best way to support you in developing the requested features.
If you prefer to not giving write access it's perfectly fine, just what's the best way, if any, to help.

@frenck
Copy link
Owner

frenck commented Jun 2, 2024

the PR I linked consists very little modifications

That is where we are not in agreement. If you just focus on the latest version, Yup, that will work in a way (ignoring historical versions, which we either should A) not ignore or B) deprecate); but it will need more on the HA side to handle the color modes correctly (which ain't correctly right now either).

@Suxsem
Copy link
Contributor Author

Suxsem commented Jun 19, 2024

Hi @frenck, I see your recent commits, looks promising. Do you think the code is stable enough for me to make a PR in order to support this or do you plan to make other relevant changes?

@frenck
Copy link
Owner

frenck commented Jun 19, 2024

Do you think the code is stable enough for me to make a PR in order to support this or do you plan to make other relevant changes?

The first step right now, it to get HA upgraded. I've just finished manual testing on that end, but I need to adopt the unit tests.

Nevertheless, feel free to open a PR; but I'll hold it for merging for a bit (until I've got downstream tackled).

@Suxsem
Copy link
Contributor Author

Suxsem commented Jul 16, 2024

Hi @frenck, has been a while, any news? Did you have a chance to have a look to the PR?

@frenck
Copy link
Owner

frenck commented Jul 17, 2024

@Suxsem The PR isn't relevant yet, as mentioned above, downstream needs to be tackled first now.

I've been slowly progressing at that, the first base PR is now open downstream: home-assistant/core#122101

../Frenck

@frenck
Copy link
Owner

frenck commented Jul 20, 2024

Downstream has been merged 🎉

@frenck
Copy link
Owner

frenck commented Jul 23, 2024

Closed by #4301

@frenck frenck closed this as completed Jul 23, 2024
@Suxsem
Copy link
Contributor Author

Suxsem commented Jul 23, 2024

@frenck great! What plans do you have to add support upstream (home assistant)? Do you like me making a PR to add support or do you prefer to do that yourself?

@frenck
Copy link
Owner

frenck commented Jul 23, 2024

@Suxsem I did bump the upstream version, I haven't build in support for it. Feel free to do so!

@Suxsem
Copy link
Contributor Author

Suxsem commented Jul 23, 2024

on it!

@github-actions github-actions bot locked and limited conversation to collaborators Aug 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants