Replies: 8 comments 22 replies
-
|
Hi |
Beta Was this translation helpful? Give feedback.
-
|
I have a config.json that contains the IP and MAC addresses of each device. These do not change. Apologies for the ugly code. It could be a lot simpler by just using the lifxlan library's methods to generate each packet in one go, but I was running into performance issues on my Pi 3. So I ended up storing re-usable parts of the packets in variables (the COMPUTED_* ones) and just inserting the color and duration information each time (though I'm undecided if I want to use the duration value, or just have it always set to zero for instant changes. I think the bulbs are limited to around 20 requests/sec). |
Beta Was this translation helpful? Give feedback.
-
|
Could you test these installers? https://github.com/awawa-dev/HyperHDR/actions/runs/18266108329 |
Beta Was this translation helpful? Give feedback.
-
Was tossing up whether to raise another issue for this, but I think I ran into a possibly unrelated bug while testing. I have an APA102 strip with 300 LEDs, but I only use around 260 of them. Every time this version of HyperHDR starts up, it seems to light up at least some of the LEDs beyond the 260th one (I can't quite tell because it's behind the TV and I cannot easily take it down). These are set to white, and stay lit. I can only turn them off by temporarily increasing the LED count, then clearing all colors/effects manually. |
Beta Was this translation helpful? Give feedback.
-
|
Could you test these installers: |
Beta Was this translation helpful? Give feedback.
-
|
Hi |
Beta Was this translation helpful? Give feedback.
-
|
Does the Lifx driver hold back on sending packets, or maybe throttle sending them, if the color has not changed since the last packet was sent? If not, would it be possible to do this and potentially save some CPU cycles and network traffic? |
Beta Was this translation helpful? Give feedback.
-
|
It would be possible but at higher level for all drivers. Before that I want to make sure the Lifx driver works fine and changes can be merged with the master. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @awawa-dev,
I am currently using HyperHDR with some LIFX bulbs, even though they are not technically supported. I do this by having HyperHDR write the RGB values to a named pipe, and use an external program to continuously read from it. This program converts the RGB values to HSBK, and then generates and sends UDP packets to the bulbs using the LAN protocol to update their colors: https://lan.developer.lifx.com/docs/packet-contents
My question is, will I need to modify this setup when I update to the next version that includes the new Infinite Color Engine? Would you have any clue as to whether these bulbs support an extended colorspace, similar to the Hue bulbs? There is some documentation on their color settings here: https://lan.developer.lifx.com/docs/representing-color-with-hsbk
Thank you for this excellent project
Beta Was this translation helpful? Give feedback.
All reactions