-
Notifications
You must be signed in to change notification settings - Fork 97
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
Docu about entertainment Upd packet #43
Comments
Hi, Entertainment mode works this way: Entertainment app broadcast udp frames acording to entertainment protocol. This use a dtls encryption that is not available in python libraries, for this reason we use a proxy udp server compiled in c++ that is started only when entertainment mode is enabled and only purpose is to remove encryption and send raw udp data to hue emulator (python based) on secondary port 2001/udp listener (not remember exactly if this is the port). At this point the hue emulator parse the data to see what type is the light that need to receive the request. If this is an esp8266 based light with dedicated udp server for entertainment mode the rgb data of the frame is forwarded there, otherwise conversion is applied and delay added because all other types of lights are not able to process light data so fast. ESP8266 light receive all 24 updates per second, all other types of lighs receive just one update per second. I believe Yeelight receive more updates (~2) per second, i need check as i don't remeber exactly. |
Hi.
What does the packetBuffer look like if there is a unregistered light? |
But your issue must not be an issue. If you exclude lights from entertainment area will simply skip that lights. I believe you use ws2812 strip. |
Hi. Yes you're right. It is not an issue, but rather a general question. I didn't know where to ask my question. |
Hello. Is there any documentation about the upd packet for the entertainment feature? Or can someone briefly explain the packet structure to me? I want to add the feature that only the selected entertainment lights will switch to "entertainment-mode". But I don't know reallly how the packet looks like.
Greets,
obelix05
The text was updated successfully, but these errors were encountered: