parnic / node-screenlogic

Pentair ScreenLogic Javascript library using Node.JS
https://www.npmjs.com/package/node-screenlogic
MIT License
53 stars 15 forks source link

any tips on how to change light colors... #4

Closed bmf7777 closed 5 years ago

bmf7777 commented 5 years ago

i have this working for my pentair controller ... i'd like to add functionality to change the light colors

parnic commented 5 years ago

This isn't supported yet, but it's on my to-do list.

The relevant message IDs are 12556 for setting basic colors and 12504 for intellibrite colors.

pgregg88 commented 5 years ago

Are you looking to select from the pre-configured list of colors or set custom colors? I’m looking to do the later. It should be possible based on the save/recall capability. I’m thinking we need the ability to insert our own custom rgb values wherever the “save” function stores these and then run the “recall” option. Does this sound viable?

parnic commented 5 years ago

Yes, whenever I find the time for this, my goal is to be able to set custom colors.

parnic commented 5 years ago

This implementation is barebones and only does what I was able to find easily in the official app's source code. I'd love to do more with this, so any pull requests adding functionality would be welcomed.