feat: support ResetStandAloneLight API call#70
feat: support ResetStandAloneLight API call#70natesmith123 wants to merge 3 commits intocryptk:mainfrom
Conversation
Added additional message types for additional commands. Found by logging xml from Hayward API
Add Reset_StandAlone_Light method for resetting lights out of sync.
|
@natesmith123 sorry for the LONG delay in getting to this, life has been hectic... Can you tell me what ResetStandAloneLight does? I don't have that in any of the documentation that I have assembled. |
|
This syncs the actual light state (ie. flamingo red) with what the controller thinks is the state. In the official app, its just called "sync". |
|
I have no documentation covering that, can you give some information about how to trigger it from the app or anything? Something I can use to test and validate it? |
|
I have not found any documentation on it either, just setup a MITM style repeater and logged all the xml back and forth from hayward when I triggered stuff in the official app. In the app, going into a light at the bottom just says "Sync Lights", Hayward then sends "ResetStandAloneLight" and PoolID, LightID and this triggers the controller to do a reset of the lights, briefly turning them off, then cycling them all so they are in the same state (for multiple lights connected to same relay). |
|
I wonder if I'm not seeing that because I only have one light... |
|
Can you update the branch and limit the PR to only code related to this one feature (basically remove the other constants from the omnitypes file)? |
Added light sync and a few message types for additional commands. I have a working nodeJS doing local control including Chlor diagnostics and such that I was going to try to port to python to make it easier for HA, then I found you already have an excellent project.