Closed OctarineLobster closed 7 months ago
I worked out the LED settings protocol today and documented it here: https://github.com/8none1/zengge_lednetwf?tab=readme-ov-file#led-settings The problem comes with how to expose this information in Home Assistant.
At the moment we only use the standard LIGHT
UI which doesn't have provision for any kind of drop downs.
I'd like to work out how to add this, but it might take some time.
In the meantime, you should be able to configure your lights using the phone app and that setting /should/ stick.
So I guess there are 2 approachs here. Either we handle this "internally" and swap the channels before sending the HSV value, or somehow send that packet to change the handling on the device itself. Configs could be added in the configuration section for the integration, but not sure if we could send a packet from there to update the setting in the device
Oh! I'm an idiot. There is a configuration screen...
We might be able to add it to that?
Hmm. Problem...
If we accept user input to change the colour ordering via that packet then we MUST also know the number of LEDs in the strip, the number of segments and the LED type because all of those are set in the same packet.
If we guess those then we risk breaking an already working set up.
There must be a way of reading the current configuration from the device.
I'll endevour to take a look tomorrow.
Honestly, if changing it on the original app persist it I wouldn't really risk it here.
Fair point. +1
This is now supported in the latest release.
Would it be possible to add an option to switch the Blue and Green channels?
Great add on! Thanks.