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.
@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!
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!
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!
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.
Hi everyone 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? 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
I actually got it to work 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!
@FrForget The heater function on ProLogic does two things. It triggers the heater relay in the ProLogic controller and (for variable pumps) holds the speed at a set amount to keep consistent flow while the heater is on. This prevents overheating and speeds up heating the water overall.
If ProLogic isn’t currently connected to your heater, you’ll have to look up your heater’s wiring guide along with a ProLogic wiring guide to see where your two wire connection should go. The relay just acts like a switch and says “heater on”. It’s a contact closure.
If you’re not familiar with wiring I would suggest reaching out to your local pool service company as you could potentially damage a control board or in a worst case hurt yourself with high voltage. Not trying to spook you, just be aware of your limitations if they apply.
IIRC it’s all just attached to the RS485 bus regardless of Aquaconnect or the wireless controller.
You can connect additional items to the bus, just add to the existing wires and be sure to follow @ronkmd 's instructions here:
Hello sorry, am I connecting the aqua connect receiver in my prologic to these other terminals then? or are you saying get ride of teh aqua connect system and hub? I have what the dude posted above and he just opened a browser within HA but I wanted to directly have buttons rather than the browser. May as well just open safari on my phone then.
sorry or are you saying to just follow this aqua logic integration and not to worry about something plugged into the RS485 or my aqua connect? I’m terrible I’m sorry. I have no idea what’s going on here