Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can Intellibrite "save" and "recall" functionality from the mobile app be leveraged to store and set custom light colors? #48

Open
pgregg88 opened this issue Mar 27, 2021 · 13 comments

Comments

@pgregg88
Copy link

@parnic @WhiteFire356 @bshep The iPhone app allows you to "save" the current color and hit the "recall" button to change all lights to that color. I use this to set the right color of blue that my wife likes as it fades through the various shades and hues. (pain in the ass to get it right) I assume it saves the RBG hex code for the current color value somewhere and loads it when the "recall" button is pressed.

It seems this would be a great was to create a custom color pallet of hex values (outside of pentair) and then pass in the desired RBG hex using whatever the "recall" feature uses.

Is this viable?

It would also be awesome if there was a way to dim the lights.

@waltershewmake
Copy link

Definitely an interesting idea, I will look into this

@parnic
Copy link
Owner

parnic commented Mar 27, 2021

I've casually looked into this a few times with very little success. Eager to see if others figure it out.

@pgregg88
Copy link
Author

I'm happy to research and test if you can point me in the right direction. I'm not a developer, but I can do the basics and can try to capture the hex values. I don't know where to start, though. Thx.

@parnic
Copy link
Owner

parnic commented Mar 28, 2021

@pgregg88 here is info on how we got as far as we have so far. Without looking at source code, your best bet is probably to run one of the Pentair apps in an Android emulator and wireshark-monitor the values going back and forth.

@bshep
Copy link
Contributor

bshep commented Mar 29, 2021

I’m pretty sure the saved color is stored on the lights themselves. The control panel simply pulses the power to the lights a number of times to signal the intended function.

Example ( these are made up numbers so dont take them literally)

  • Save color = Pulse 15times
  • Recall Saved Color = Pulse 16 times
  • Red = Pulse 5 times
  • etc

Edit: you can test this yourself by pulsing the lights manually. Also beware there is a ‘wildlife’ function that locks the lights to certain colors, my builder warned me about it so if you get locked out you may need to find the manual or call the supplier on how to unlock ( likely a combination of pulses )

@parnic
Copy link
Owner

parnic commented Mar 29, 2021

There's always https://youtu.be/wJoWJOY6IR4 :)

@pgregg88
Copy link
Author

Ha @parnic. I've watched that video. @bshep I bet you are correct. That makes sense.

@waltershewmake
Copy link

I believe that if we can emulate the light state for certain intellibrite presets (Party, Caribbean, American, etc.) inside the code, then send the "save" command at a certain point causing the lights to save that color. That would allow people to select a certain color inside that preset and when the preset gets to that point it will send the "save" command, effectively setting the light to that color. For example, @pgregg88 can get the perfect shade of blue and input that into a function. The function will loop through the preset until it finds the perfect shade of blue. It will then send the "save" command.

I hope that makes sense to you guys...

@pgregg88
Copy link
Author

pgregg88 commented Apr 1, 2021

@WhiteFire356 That sounds amazing.

@ColtonIdle
Copy link
Contributor

random question. whats the diff between save and recall?

@parnic
Copy link
Owner

parnic commented Jul 20, 2023

random question. whats the diff between save and recall?

Saving would be recording the state for later use. Recalling would be loading the state to be applied now.

@ColtonIdle
Copy link
Contributor

Weird. My lights dont seem to do anything when hitting save or recall. Maybe my system is messed up lol. thanks for the response though.

@ColtonIdle
Copy link
Contributor

FWIW, I contacted pentair and they "fixed" my lights by just performing some reset. lol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants