kusti8 / hue-plus

A Windows and Linux driver in Python for the NZXT Hue+
GNU General Public License v3.0
229 stars 18 forks source link

Profile/Settings File, Direct Edit with Text Editor? #24

Closed jakedowns closed 6 years ago

jakedowns commented 6 years ago

is it possible to edit a custom Profile directly with a hex/text editor? rather than using the GUI?

the GUI is great, but for some complex color schemes, i was hoping to be able to copy/paste my 40 colors instead of clicking through them all by hand,

or maybe even writing my own little custom scripts and/or spreadsheet functions to generate a list of colors i'd like to use for a profile.

I noticed that the profiles are saved using settings = QSettings('kusti8', 'hue_plus') but i couldn't find any matching files for that on disk (Windows)

Thanks for a great tool, btw, glad to be able to ditch CAM

how did you even begin to decipher / reverse engineer the Serial communications for this thing? bet it would be a great kind of thing to cover in a youtube video.

kusti8 commented 6 years ago

It looks like it's stored in the registry under local machine/software or current_user/software. I'm going to try and rewrite the project in go and try and add some ideas, but that may take a while.

On Sat, Nov 25, 2017, 7:24 PM jakedowns notifications@github.com wrote:

is it possible to edit a custom Profile directly with a hex/text editor? rather than using the GUI?

the GUI is great, but for some complex color schemes, i was hoping to be able to copy/paste my 40 colors instead of clicking through them all by hand,

or maybe even writing my own little custom scripts and/or spreadsheet functions to generate a list of colors i'd like to use for a profile.

I noticed that the profiles are saved using settings = QSettings('kusti8', 'hue_plus') but i couldn't find any matching files for that on disk (Windows)

Thanks for a great tool, btw, glad to be able to ditch CAM

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kusti8/hue-plus/issues/24, or mute the thread https://github.com/notifications/unsubscribe-auth/AJW73KD4XB8jsO4IxNFdH3n4JLjyIZgTks5s6K-8gaJpZM4QqmyT .

jakedowns commented 6 years ago

Awesome, thanks.

I'll go ahead and close this for now then.

Maybe I can look into call out to the CLI interface directly and using a temp file-format for generating/saving my own custom animation schemes for now.

Still would love to hear more behind how you figured out the protocol if you ever get the time

kusti8 commented 6 years ago

I'm planning on making it a Json file that's easier to read and access. I figured out the protocol by using a serial analyzer, and a lot of trial and error.

On Sat, Nov 25, 2017, 9:27 PM jakedowns notifications@github.com wrote:

Closed #24 https://github.com/kusti8/hue-plus/issues/24.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/kusti8/hue-plus/issues/24#event-1358013075, or mute the thread https://github.com/notifications/unsubscribe-auth/AJW73GBstE3BHbLdrLRGNWO4aAfKyk3Bks5s6MyigaJpZM4QqmyT .