hyperion-project / hyperion.ng

The successor to Hyperion aka Hyperion Next Generation
https://hyperion-project.org/
MIT License
3.02k stars 375 forks source link

Twinkly lights support #1654

Open Sims270602 opened 10 months ago

Sims270602 commented 10 months ago

Feature request

What problem does this feature solve?

the ability to use twinkly lights with hyperion instead of having to frankenstein togheter a expensive and dangerous solution for using hyperion with ws2812 leds

What does the proposed API look like?

i don't know because i can't program an api

How should this be implemented in your opinion?

as a way of connecting hyperion with twinkly lights

Are you willing to work on this yourself?

Im a very bad programmer

Lord-Grey commented 10 months ago

Looking at the Web, it seems there is a real-time UDP API available. So it would be in general possible to integrate for an Ambientlight solution. Experience says that it is key to have a device at hand during development. Therefore, you either could try yourself, find someone else doing the coding or maybe convince the vendor to provide us with two different models for development.

Sims270602 commented 10 months ago

I actually have a set where im at right now but i have no idea how to extract an api nor where to find one or what to search for

Sims270602 commented 10 months ago

Looking at the Web, it seems there is a real-time UDP API available. So it would be in general possible to integrate for an Ambientlight solution. Experience says that it is key to have a device at hand during development. Therefore, you either could try yourself, find someone else doing the coding or maybe convince the vendor to provide us with two different models for development.

What controller shall I then choose for it to work

Lord-Grey commented 10 months ago

I actually have a set where im at right now but i have no idea how to extract an api nor where to find one or what to search for

You may have a look here: https://xled-docs.readthedocs.io/en/latest/protocol_details.html#real-time-led-operating-mode

Key is that you implement streaming via UDP and control via REST. The Nanoleaf (or WLED) Device Code can be used as a sample.

Sims270602 commented 10 months ago

But where do i find the code because i only have twinkly and ledvance at home but I don't understand half of the stuff in the link you sent me, because im new to the ambilight scene

Lord-Grey commented 10 months ago

Sorry, is your question where to find the code of Hyperion or where is the ready made code that you can copy into Hyperion? If it is later, I need to disappoint you, one would need to write and test the code along the API specs…

To start developing for Hyperion you can have a look here: https://github.com/hyperion-project/hyperion.ng/blob/master/doc/development/CompileHowto.md

Sims270602 commented 10 months ago

https://github.com/hyperion-project/hyperion.ng/blob/master/doc/development/CompileHowto.md

As I previously told you im new to the ambilight scene and my coding skills are miserable due to things that has been going on in my life, and the fact i don't have any possible way of getting my self to code or know someone that can code makes it so much harder so it would be much easier if it could be implemented in an update

Lord-Grey commented 10 months ago

No problem! That still leaves option three to get the ball rolling…

or maybe convince the vendor to provide us with two different models for development

.

Sims270602 commented 10 months ago

No problem! That still leaves option three to get the ball rolling…

or maybe convince the vendor to provide us with two different models for development

.

If I can lend you my set would it be possible to develop with a single set? because it's hella expensive here in denmark

Lord-Grey commented 9 months ago

No need sending it around!

…but you might want to contact the vendor, if they would like to sponsor two different devices for development and can advertise later that the devices are supported by Hyperion which has > 10.000 installations. There are vendors that did it before…

In case they would like to validate or clarify questions, they can contact us via our forum: https://hyperion-project.org/index.php?user/4989-lord-grey/