Hayward AquaLogic / ProLogic automation

Yes I would like to have a look at the code. Thanks. My code will control all the standard buttons. But some times it is not working. The code waits for a “keep-alive” packet to send a button command. Then it sends it a few times. I’m playing with the number of times to send the same button and the milliseconds in between each command.

I am sorry. I am hijacking this thread a bit. My code has nothing to do with Home Assistant. But I have successfully used this custom plug-in by @swilson with a USR-TCP232–304 and it works great.

Hi. Having some problems after my ESP8266 running ESP-Link died. Got a new ESP8266 and have an ESPHome Stream Server sketch on it and it’s getting Aqualogic info into HA. However, I can’t seem to access Valve 3 anymore, just the original core monitored conditions switches and sensors. HA doesn’t seem to be using my edited switch.py file in the /config/custom_components directory anymore, apparently just the basic core integration. Been trying to override the core integration without success. Any thoughts?.

OK. So I got the custom component working again, sort of. My remaining problem is that the sensors are only updating when HA restarts, even though ESPHome logs show a continuous stream of data. No idea where to go from here.

Hey @adamgranted - I was getting ready to set this integration up this weekend and was reading through this thread a few times - I’m somewhat new to Home Assistant and would love to be able to have a reference to your custom_component directory to hopefully save myself some heartache. :pray:

@adamgranted just a quick follow up - I think I’m probably right in the same spot you were in (sensors working, but switches not). I’ve got my custom components setup working and have been fiddling with the core.py file but without any luck so far. @aming-miyembro would you be able to send me what your core.py file looks like?

Hi Joe, welcome to Home Assistant and this forum.

Try out Adam’s build posted below, or if that doesn’t get you there, you can download my custom_components build from this link to Box.

Good luck, I hope it’s a help to you!

1 Like

Awesome, swapping out what I had put together with what @aming-miyembro totally got me in better shape here (thank you so much!!) - I’m able to control some of the switches now and I feel like I’m basically in the same spot @adamgranted was in with heater_1. Sounds like I should start doing some comparisons against the 2.6 code. @adamgranted if you see this message, you might be my best hope at getting across the finish line. Thanks again for all the help!

I went ahead and uploaded it onto my Github. For those trying this, be warned I’m not a dev. It was a bunch of trial and error to get it all working with my setup. I successfully have filter, aux_1, and heater working but I cannot speak for the other aux valves or chlorinator.

Hopefully this helps!

1 Like

Thanks so much for the response @adamgranted - sorry for my delayed reaction here. Because of this amazing community I now have a really sweet pool dashboard for my phone and even controls on my Apple Watch. Sharing back a few screenshots for my gratitude!


apple-watch-ha-companion-app

I have a Hayward swimpure plus, and would love to get this working. Do I need to remove the jumper on the board and make it secondary if doing this?

Also, is it normal for the 485 pinouts to not work? I used my multimeter on the ground and 11v pinouts and nothing is coming out. I tried that because my 610 wouldn’t turn on. I then used the wall wart to power it but didn’t see any tx or rx. Am I basically SOL?

Awesome! Glad it worked out for you too. Maybe someone with more Python experience might be able to build off my fork to get the rest of the switches working reliably.

1 Like

Hi everyone :slight_smile: Alright, I believe I have everything I need now! I bought the USR-TCP232-304 and I’m ready to hook things up. Re-reading this thread, I’m a little confused with the connections I need to do between the Hayward board and my USR-TCP232-304. On the Hayward board I see
RED, BLK, YEL, GRN
and on the USR-TCP232-304 I see :
G, B, A.
Could someone tell me which goes to which?
Thanks

Black->A RS-485
Yellow->B RS-485
Green=Ground (you don’t need to use this unless you are tapping controls board 10V to power your interface)
Red=10V power from control board

If things don’t work, swap the Black and Yellow. No harm. Hope this helps.

Ron K

If you’re using a separate power adapter, you don’t need to hook up power and ground. RS-485 does support the Ground as well as A and B but for short distance runs and only a few devices it’s no necessary. It’s possible that if you somehow had some signal corruption issues, hooking Green Ground to your G terminal might help but I don’t think that’s been an issue for anyone here.

I mean, my RS-485 will be powered using the 5.0V - 1.0A adapter it comes with, meaning I should be fine with Black → A, Yellow → B, Green → G (if needed) ?

Yes, that’s correct.

Alright @adamgranted / @ronkmd , so I’ve plugged in everything, and now… what? :grinning_face_with_smiling_eyes: The Aqualogic integration is requesting an IP address and port, which I have no idea how to retrieve. When checking the USR, I see the Default IP: 192.168.0.7, but I’m unable to load that address in the browser. I’ve double-checked that everything is powered on, but I’m uncertain about how to establish communication with the USR. Do you have any ideas?
Also my ethernet from my USR is connected to my router, not to Home Assistant directly, that’s fine right?
Reading the documentation, it also says that by default the USR gets it’s static IP and that it can be changed via software? How do I do this if I can’t even communicate with it in the first place?
Thank you.

Hello All, I have a Hayward system with Pro logic I am pretty sure but already have installed the RF antenna transmitter and the AQUACONNECT hub to my router. I can log in and control my pool via their terrible app or when local I can log into the hub’s IP address and get a web page that is much quicker than going to the cloud. I REALLY NEED this on home assistant but no where have I found an integration with their cloud service or aqua connect hub etc… PLEASE HELP SMART PEOPLE!

Hi :slight_smile:
I actually got it to work :partying_face: I had to plug the USR into my computer, change the ethernet settings and configure it properly to get it’s IP address and port automatically. I then use the USR-M0 app to configure it properly (thanks to this post Hayward AquaLogic / ProLogic automation - #98 by raerae1616)
Out of the box, I already have filter and pool light working, however I don’t have the chlorinator nor the salt level. Now, pardon me if I’m a little clueless, but I know I have a salt cell, however it’s currently unplugged as it’s not working and I’m manually managing chlorine, and chemicals, am I suppose to get any data from the chlorinator value? Is this something coming out of the box from Aqualogic?
Also, I believe @adamgranted told me earlier that my heater wasn’t connecter to the Aqualogic, how is that possible? How can I connect it?
Thanks!