Skip to content

Releases: Tenn0/iCue2sACN

Beta Release 2, Added support for more devices of the same model

21 Oct 01:55
57ed393
Compare
Choose a tag to compare

Its been a long time since I updated this project, but finally ive added the support for multiple devices of the same model.
Internally the devices are no longer addressed by their model name, now they are adressed via their unique id´s. Also the mqtt topics changed, now its not anymore the base_topic/light/iCUE2sACN/device_model, now its base_topic/light/iCUE2sACN/device_modelX where X stands for the unique id.
With these changes I got full control over mqtt and sACN over my both sticks of Corsair Vengance RGB PRO´s, even mixed,one with static mqtt color and the other via sACN.
On the To-Do-List is now checking the stability (feedback over github issues welcome!), getting a new name (the current reads itself a bit weird with mqtt topics and home assistant devices and since its no longer pure sACN but also mqtt, the current name doesnt fit anymore). I also plan to extend to other devices/ecosystems, but I cant test them, also I tested to control the LED´s of Asus Aura Sync Devices, which SDK was a pain to use and wasnt even working correctly. But first, I need some input from you about the stability, maybe fix bugs, remove debug stuff and take the additions of the mqtt branch over the main branch.

Beta

08 Sep 22:39
Compare
Choose a tag to compare
Beta Pre-release
Pre-release

This is a beta release, i want to make sure every current mqtt feature works as expected, since its a long time I worked on this project

Build script and build task for VSCode

08 Jul 17:46
Compare
Choose a tag to compare
Pre-release

Now, there are build instructions with a build script or a build task for VSCode available in README.md

MQTT and Home Assistant support preview

02 Jul 13:21
Compare
Choose a tag to compare
Pre-release

Ive added support for mqtt and via mqtt auto discovery support for home assistant. To configure mqtt, run the software once to create the files, edit mqtt.json for your connection infos and re-run the program. When you set "enable_MQTT" = false, you can fully disable mqtt. For Home Assistant auto discovery, please set "base_topic" to "homeassistant" or what you have configured in HA as auto discovery prefix.
At startup, the universes assigned to the devices are printed in console and additionally, if mqtt is enabled, also dumped at the set base_topic.
Please note, this a pre-release and that there are a few bugs. Brightness isnt implemented yet, the code might be ugly, at software start the default effect is sACN, but home assistant doesnt know it.
As for future plans, fixing these bugs, providing a binary and a vscode build task will be my next goals. Providing binary and build task where basically planned for version 1.2, but i ran into diffulties with packing of dll´s what needs to be fixed.
I might also rewrite the code a bit, to further support more manufacturures like Razer. Asus AURA support was/is planned, but delayed to infinity thanks to a not properly working sdk, though it might be a problem on my side.

For running, copy the main.py file inside src to any folder you want, open a shell in that directory, install the pip-packages cuesdk and paho-mqtt via pip, and run with "python main.py". You need to restart the app the first time its launched, after youve edited the mqtt.json with either mqtt disabled or enabled and all options set correctly. Theres a bug, when it cant parse this file as valid json, it gets re-created. This fill be fixed in the 1.2 full release.

Full Release!!!

28 Jun 22:03
a9caac9
Compare
Choose a tag to compare

Since ive added the ability to read connected devices, compare them with saved devices and universes, assign and store the device with a free universe, its time for this release!
Now, if the config file doesnt exists, it will be created automatically. Also, devices and universes are populated automatically, no need to fiddle with this json again.
Since i havent got around packing the script into an .exe, i can "only" attach the script. Once I got the knowledge to do so, ill add another release with the .exe.
For the future, i want to implement mqtt support, to controll via home automation like node-red or home-assistant which devices should display a light show from sACN, which should be using iCUE effects and which whould be static/black.
As last words for this text, let me thank @not-matt for helping out with for me complicated stuff and let me say, that im not a professional dev, im a beginner in python.
Edit: Theres a bug, that the config file isnt created properly. In the mqtt branch its already fixed, i wont port that fix into a new release yet, instead ill probably release it together with working mqtt (and Home Assistant) integration in a couple days. For the time, create an empty file called "config.json" in the same directory as this .py file.
Note: You need to install cuesdk and paho-mqtt via pip by yourself prior launching this program.

Reading from json support!!!

22 Jun 15:09
405e4dc
Compare
Choose a tag to compare

With this release, iCUE2sACN supports reading from json file

First Working Version!!!

14 Jun 21:11
7868c53
Compare
Choose a tag to compare

This is the first version, that should work on all devices, since it now dynamically sets up listerners to universes. Thx to @not-matt !!!
The console should log which universe is for which device with the count of leds.

ledinfos script

14 Jun 17:47
037e638
Compare
Choose a tag to compare
ledinfos script Pre-release
Pre-release

This script goes through your connected iCue devices and prints its name and led positions. This would help me, working with devices I dont own.
You can then post the result into the issues with the Label "Device Led Position".