Hayward AquaLogic / ProLogic automation

Glad you got it working!

Except now I’m having trouble with my mainboard frying the Chlorinator circuit!

Double check the solder joints on the main board. My salt cell wasn’t working properly and when I took out the board I noticed a couple of very bad solder pads. I applied some new solder and everything works fine now. A search showed that it seems to be a common issue.

I was hoping that that would be the problem but on my last board (last week, same seller as this board) that wasn’t the case. I have some time today and I’ll check this second board.
I’m at the point now where I’m thinking of just upgrading the system to Omnilogic/OmniPL, since the Prologic hardware seems to be so troublesome. Plus, there’s a HA integration or 2 for Omnilogic.
My only other thought is that maybe my 240V EV Charger is causing some power surge or disruption when it charges my car every few days. Seems a little far-fetched, plus I replaced the 20A fuse on the Aqualogic with a 15A so there’d be a lower threshold for protecting the chlorinator circuit.
Any ideas would be appreciated. I already posted the issue on troublefreepool.com but no replies yet.

@SphtKr I am so glad I hit the bottom of this thread first before trying to get swilson’s script to work the way I want… Thank you so much for building this project! I just finished building @hexabc’s raspi + sequent microsystems hats ( Monitoring CircuPool RJ Plus SWCG | Trouble Free Pool ) to control a VSP since I was forced to “upgrade” to last year (Thanks EPA) when my single-speed on my hayward system went out. On a whim I decided to just wire up the rs485 port and try your mqtt with my existing infrastructure and it “just worked”. new aqualogic popped up in HA and I’m giggling turning the booster off and on with HA controls. I probably should stop doing that. Anyway, just wanted to give you a little bit of kudos since I’m sure you and me are the only 2 people on this planet with Hayward + pi + mqtt + ha custom controller.

Does anyone have a working link to the IOTService app for the EW11 device? I was able to setup the different ports, wifi etc. from the device webpage directly, but I can’t send a script to my EW11, and the link to the IOTService app download gives a 404 error…

Hi there, could you share the .rar file for IOTService? The link is dead on the manufacturer website!
So far so good with the integration, the only thing not working is the switch actions, because I can’t send a script to the EW11 without the IOTService app

You should be able to download it from here:

doesn’t work, it links to a zip file with a text file inside with an address (http://ftp.hi-flying.com:9000/IOTService/), but that one gives a 404 page not found error. So if somebody has the rar file of the installer on its computer I’ll take it :slight_smile:

Edit: nevermind, I tried my work computer on the company connection… and I can see/download the files… go figure

I grabbed the latest as a just in case if it goes missing in the future.

1 Like

I’m a complete beginner, this is my first time integrating directly into YAML. I configured the EW11 without any problems. Regarding the code integration, I think I’m doing something wrong. When I go to the developer tools, I get the following message: Configuration warnings
Integration error: aqualogic_p4p8 - Integration ‘aqualogic_p4p8’ not found.
Platform error ‘switch’ from integration ‘aqualogic_p4p8’ - Integration ‘aqualogic_p4p8’ not found.
Platform error ‘sensor’ from integration ‘aqualogic_p4p8’ - Integration ‘aqualogic_p4p8’ not found.
Here are the pictures of what I did. Regarding the YAML Examples folder, where should I place it?

First time with manual installs can be confusing. It looks like you copied aqualogic_p4p8 into your custom_components directory, so that’s good.

Your configuration.yaml looks good except for the " - <sensor list in “YAML Examples” directory>" lines. Remove that line and the switch one and replace it with the sensors and switches you want. Or just remove those and leave pool_temp, display, and filter to get you started. You can add more later.
The folder “YAML Examples” doesn’t need to be copied any where. It’s just examples.

Have you restarted HA yet? You’ll need to do that for it to load the integration.

You should put it on your google drive with the instructions!

That Google Drive and instructions are Mark’s. I just link to them instead of recreating them. I did try to upload it to Github, but it’s too large. I might throw it on a FTP site and link it when I get a chance.

It works great now. For those of you who are as dumb as me, I created the config folder and put the custom_components folder in it…! So I moved the custom_components folder to the root and it worked wonderfully. I used your YAML examples including the dashboard. Thank you so much for sharing your time and advice, it helps a lot.

Glad it’s working for you. That’s one of the pitfalls to the manual installs; the directory structure can be different depending on how you have HA installed.

One day I’d like to put it in HACS and have the config done in the UI instead of though YAML. Also would like to change some of the switches to buttons. Using switches is an ugly (but easy) hack.

I just don’t have much free time, especially in the Summer, and the pool gets winterized in the Fall, so testing would be hard. Oh well, it works fine for now.

If I have one of these, can I use this project?

Ive been working on some voice commands and automation tasks after getting this working with HA.

One thing im not sure of how to accomplish is making a voice command (alexa using HA entities) to turn off the heater.
The heater is set to auto mode and is usually off, turns on when temp is set higher then current water temp. Then turns off auto when reaches the set temp in prologic, on, off, etc…
Manually what i would do is go into settings, Spa Heater, Press the up arrow once to set it from 104° (hottest temp) to Off.

Anyone know a way to automate this?

Yes. It can work side by side. Has no bearing on this mod.

You would be surprised how many people have the same.

Just wanted to give a big shout out to the people on here who worked tirelessly to figure this out. I started my journey down this road over 6 months ago when my Aqua Plus board lost communication and would no longer control my Ecostar pump. Over the last six months, I tried many different things. I was able to control just the pump with a R Pi 4 and NodeJS-Poolcontroller, but I wanted to have remote control of the Aqua Plus. I found a guy in Canada that repaired the boards somewhat economically, so I go that done. Then I could never get any of my RS485 to Wifi adapters to talk to the Aqua Plus via the R Pi. I knew the system was working because the Aqua Plus could control the pump again, as could the R Pi, but no joy on the Pi to Aqua Plus front. I tried usb and pi hats, no luck. Came across this forum while scouring, and after errantly getting a waveshare RS485 to wifi adapter (this allowed my HA to see all the info from the Aqua Plus, but not control it, likely due to no scripting ability) I got my Elfin EW11A (two weeks from China) and followed the path here to find complete success!

I put all this here so if someone is searching and is somewhere in the beginning of the path they can find faster success than I did. The ironic thing is one of the least expensive approaches (the EW11a) was the successful one! Where does that ever happen in life? So if you have Home Assistant set up in your house and you want to control your Hayward system, less than $25 bucks and the amazing knowledge found in here will get you there.