Bring your complete AutoPilot PoolSync infrastructure into Home Assistant. Whether operating a standalone PoolSync controller or one integrated directly into an AquaCal heat pump, this integration local-polls and controls your full equipment stack: chlorination, water chemistry, heating, circulation pumps, motorized valves, and group scenes.
- 100% Local Control: Direct IP communication via local push-button authorization. No cloud outages, no external dependencies.
- Multiple PoolSync Controllers: Add more than one PoolSync controller as separate config entries — ideal for homes with separate pool/spa installs.
- Comprehensive Equipment Coverage: Controls ChlorSync, ChemSync (pH/ORP), heat pumps, variable-speed pumps, valves, and group scenes.
- Multi-Device Architecture: Full native support for setups with multiple units of the same equipment type (e.g., dual ChlorSync chlorinators, multiple heat pumps, or stacked ChemSync controllers).
- Human-Readable Diagnostics: Decodes raw board fault codes, firmware data, temperatures, and Wi-Fi link quality.
| Requirement | Details |
|---|---|
| Home Assistant | Core 2025.1.0 or newer |
| Network | Local network access to the PoolSync IP address |
| Hardware Support | Standalone PoolSync Controller or PoolSync integrated into a heat pump (chlorinator-hosted PoolSync is app-documented but untested) |
| Ecosystem Units | ChlorSync, ChemSync, Heat Pumps, Variable-Speed Pumps, Valves, Group Scenes |
- Open HACS in Home Assistant → Integrations.
- Click the top-right menu icon → Custom repositories.
- Add
https://github.com/ccpk1/AP_PoolSyncas an Integration. - Search for PoolSync Custom, click Install, and restart Home Assistant.
- In Home Assistant, go to Settings → Devices & Services → Add Integration.
- Search for PoolSync Custom and enter the local IP address of your PoolSync device.
Home Assistant then opens a 120-second window and waits for your PoolSync to hand back an access password. What you press during that window depends on your hardware, because PoolSync is sold in a few different shapes.
The walkthrough and screenshots below are from a standalone PoolSync controller — the hardware this project was built on. If your PoolSync does not have its own screen and you operate it from your heat pump or chlorinator display, use the matching section instead.
This covers the standalone controller, and any PoolSync unit that shows its own screen.
Next: press the AUTH button once.
HA Setup Prompt
|
Physical Hardware Auth Button
|
If nothing happens, hold the Service (middle) button for about 3 seconds instead.
Why both? The PoolSync phone app's own instruction for this hardware is to "Press and hold the Service Button (middle button) on your
<device>for 3 seconds before the timer runs out to authorize this device." On the standalone controller this project was built on, a single AUTH press is enough — you can see the AUTH LED light. So start with AUTH; fall back to the Service hold.If the AUTH LED never lights and every attempt times out, try pressing Service first (its LED lights) and then AUTH while Home Assistant is still counting down. That two-button sequence is what resolved issue #30 on an integrated AquaCal unit.
Then: wait for Home Assistant to complete pairing and generate config entries for all detected hardware.
If linking fails, the flow offers a retry path. If repeated attempts fail, restart the PoolSync device and try again.
Retry
|
On these units the PoolSync screens appear on the heat pump's display rather than on a PoolSync panel. The PoolSync phone app's instruction for that hardware is:
"Press AUTH on the heat pump display:" "Tip: If the POOLSYNC AUTHORIZE screen does not appear then navigate to the POOLSYNC WIFI menu screen or the MAIN status screen of the heat pump."
So:
- Press AUTH on the heat pump display.
- If no POOLSYNC AUTHORIZE prompt appears, go to the POOLSYNC WIFI menu screen or the MAIN status screen and press AUTH there.
- If AUTH alone does nothing, the Service then AUTH fallback described in the section above is worth trying.
No user running this configuration has reported its pairing behaviour yet, so the steps above are transcribed from the app.
🟡 Not yet reported by a user. The PoolSync phone app has a dedicated instruction for this hardware, but nobody running it has contacted this project, so the steps below are transcribed from the app and untested.
The PoolSync phone app's instruction is:
"Press Yes on the chlorinator display to authorize this device:" "Tip: If the POOLSYNC AUTHORIZE screen does not appear then press the MENU button and navigate to the Network setting, press Select, navigate to the Authorize setting and press Select."
So:
- Press Yes on the chlorinator display.
- If no POOLSYNC AUTHORIZE prompt appears, press MENU → Network → Select → Authorize → Select, then press Yes.
| Where you see the PoolSync screen | What to press |
|---|---|
| On the PoolSync's own panel | AUTH once; if nothing happens, hold Service ~3 s |
| On your heat pump's display | AUTH on the heat pump display |
| On your chlorinator's display (untested here) | Yes on the chlorinator display |
Applies to all hardware types:
- You must press within the 120-second window; the pairing countdown is the deadline.
- Do not confuse this with the 15-second hold. The app's "hold the button for 15 seconds or until they flash" puts the unit into Wi-Fi setup mode (orange Option light + green Wi-Fi light flashing). It is not how you authorize Home Assistant.
- Close the PoolSync app on your phone before pairing. The app's own failure text is "In order to authorize, you must be on the same Wi-Fi network as the device."
- Relinking authorizes the Home Assistant client. If the device's authorized clients are cleared (app: "Clear all previously authorized users"), Home Assistant raises a reauth prompt rather than silently going stale.
- Reporting a pairing problem? Download diagnostics from Settings → Devices & Services → PoolSync and
include
poolSync.status.remoteUiPidandpoolSync.system.hwVersion— together with the button that finally worked, that is what lets this guide be corrected for your hardware.
The integration dynamically generates discrete devices and entities based on what your PoolSync installation reports. When multiple devices of the same type are present (e.g. two ChlorSync units or two heat pumps), each gets its own device and a full set of entities.
- Sensors: Wi-Fi RSSI & Signal Status, Board Temperature, System Date/Time, Firmware/Hardware Revisions, Display Brightness.
- Diagnostic Counters: Wi-Fi disconnects, AWS disconnects, power-ups, system restarts, and offline-device counts.
- Group On/Off Switches: Individual switches (
switch.group_*) forPOOL,WATERFALL,FILTRATION,AMBIANCE, andCLEANER— turn a group on or off directly. Each exposesduration(your preference),controller_duration(the device's configured value), andends_at(when the group stops). - Group Schedule Switches: Separate schedule toggles (
switch.group_*_schedule) that enable or disable each group's programmed schedule (itsschedMode), exposing a decodedschedulesattribute with up to 4 slots (days and times). - Group Duration: Custom duration sliders (
number.group_*_duration) to set persistent run-time defaults or apply immediate extensions. Exposescontroller_durationso you can always see the device's actual value. - Group Info Sensor:
sensor.group_infoshows which groups are active, with per-group config, equipment, and timing (duration and end time) attributes.
- Control: Output percentage slider (
number). - Sensors: Water Temperature, Salt Level (PPM), Cell Flow Rate, Boost Time Remaining, Output Setting.
- Diagnostics: Cell forward/reverse current, cell output & rail voltage, cell serial number, firmware/hardware versions, temperature compensation output, driver model/firmware/hardware, pool cover control, pool gallons, polarity change time, ORP input control.
- Fault Sensor: The fault binary sensor exposes both the raw
fault_codeand decodedactive_faults(human-readable names like "High Salt", "Clean Cell"). - Actions: One-click button to clear cell life warnings.
⚠️ The clear-cell-life action is not yet confirmed. It is implemented from the reverse-engineered API, but whether it actually executes depends on the target device supporting it. If you use it and it isn't working properly, please open a GitHub issue — and if you're willing to work with me to finalize it (including capturing the correct command syntax), that would be a huge help.
- Control: System Mode selector, pH Setpoint, ORP Setpoint, Max Daily Feed adjustments.
- Sensors: Live pH, Live ORP, Acid Consumption, Tank Level Alert, Board Temperature.
- Diagnostics: Firmware, hardware, and model details.
- Fault Sensor: The fault binary sensor exposes both the raw
fault_codeand decodedactive_faults(e.g. "pH Below Min", "Flow Sensor"). - Actions: Prime Pump and Chemical Boost action buttons.
⚠️ ChemSync write controls are not yet confirmed. The pH/ORP setpoint and max daily feed writes are implemented from the reverse-engineered API but have not been validated against a live ChemSync device. If you have a ChemSync and these controls aren't working properly, please open a GitHub issue — and if you're willing to work with me to finalize them (including capturing the correct command syntax), that would be a huge help.
- Control: Full Home Assistant
climateentity for target water temperature, HVAC modes, and preset selection. Exposes current temperature, target temperature, HVAC action, and min/max temperature. HVAC action follows the heat pump's own state machine (off / heating / cooling / idle). - Sensors: Water Temperature, Air Temperature, Pool/Spa Setpoint tracking, Active Target Temperature, Active Faults.
- Diagnostics: Board Temperature, Outlet Water Temperature, Defrost Sensor 1 & 2, Top Fault Code & Count.
- Binary Sensors: Compressor state, Fan state, Water Flow status, Online/Fault flags, Remote Control, High/low pressure (HP10 units).
- Fault reporting: Faults are a bitmask, not a single code, so the Active Faults sensor shows the decoded names (e.g. "Compressor Fault") with the raw words and the device product ID as attributes. The fault binary sensor exposes the same
active_faultslist. The decode table is chosen by the heat pump's product ID, soWater Sensor 1andLow Pressureare never confused. - Water temperature needs flow: with no water flow the probe is sitting in a stagnant pipe, so water temperature reports as unavailable with an
unavailable_reason: no_flowattribute instead of a misleading number. This matches the PoolSync app, which shows "No Flow" in the same situation.
- Mode Select:
Auto(follows active group),Manual(user RPM),Off. - Speed Control: Live RPM sensor and manual RPM adjustment slider.
- Valves & Status: Live valve position reporting (e.g., POOL vs. FOUNTAIN) and pump priming binary sensor.
Available via Developer Tools → Actions / Services:
Triggers a group scene with an optional custom duration string.
action: poolsync_custom.set_group_state
data:
group: "WATERFALL"
state: "on"
duration: "1h 30m"Directly controls variable-speed pump modes and target RPM.
action: poolsync_custom.set_pump_mode
data:
mode: "manual"
rpm: 2200Change how long a group runs by default when you turn it on. Set the group's duration number (number.group_*_duration) to your preferred minutes. The value is persisted across restarts and used the next time you turn the group on.
Set the pump to manual at a specific RPM, then return it to automatic (following the active group):
action: poolsync_custom.set_pump_mode
data:
mode: "manual"
rpm: 2000action: poolsync_custom.set_pump_mode
data:
mode: "auto"Turn on the group's schedule switch (switch.group_*_schedule) to let the group follow its programmed schedule. This does not turn the group on immediately — it only enables the schedule.
The heat-pump climate entity supports normal Home Assistant climate automations (turn on/off, set target temperature, set preset mode). For example, heat the pool to 84°F when the outdoor temperature drops:
automation:
- alias: "Heat pool when cool"
trigger:
- platform: numeric_state
entity_id: sensor.outdoor_temperature
below: 60
action:
- action: climate.set_temperature
target:
entity_id: climate.poolsync_water_thermostat
data:
temperature: 84Some diagnostic entities are disabled by default to keep the default dashboard cleaner.
After setup, you can adjust the polling interval:
- Go to Settings → Devices & Services.
- Open the PoolSync integration card.
- Select Configure.
- Set Update interval in seconds and submit.
The minimum supported interval is 10 seconds.
To remove the integration:
- Go to Settings → Devices & Services.
- Open the PoolSync integration.
- Select the menu for the config entry.
- Choose Delete.
This removes the Home Assistant config entry and its entities. It does not change configuration on the physical PoolSync device.
- Linking Issues: Press the button for your hardware type — see Initial Setup & Local Linking. If auth times out, try the Service hold (~3 s) then AUTH, and stay inside the 120-second window with the PoolSync app closed. If it still fails, reboot the physical PoolSync controller and retry the Home Assistant configuration flow immediately after startup.
- Intermittent Unavailability: Check Wi-Fi RSSI on the controller device page. Outdoor pool equipment often suffers from marginal Wi-Fi signals; weak links cause TCP connection resets.
- Debugging: Export Diagnostic JSON directly from the PoolSync Device page in HA when filing GitHub issues. Credentials, IP addresses, MAC addresses/BSSIDs, hardware serial numbers, timezone/latitude/longitude and the last six characters of the MAC used in entry titles are redacted, including where they appear inside free-form strings. You should still review the file before submitting; if you spot anything that should be redacted, please open an issue and I'll make sure it's covered in a future update.
⭐ Star the Repo: If this integration powers your pool, clicking the Star button on GitHub is the best free way to support development and help others discover the project.
☕ Sponsor Development: Maintaining local API reverse-engineering and complex hardware state machines takes significant time and hardware investment. If this integration saves you time and money, consider sponsoring:
- Community thread: PoolSync Pool / Heat Pump Integration
- GitHub issues: ccpk1/AP_PoolSync/issues
- GitHub discussions: ccpk1/AP_PoolSync/discussions
When reporting a problem, include diagnostics, relevant logs, the PoolSync firmware or hardware details if known, and what equipment is attached.
Special thanks to @socbrian for the initial reverse-engineering work on the PoolSync local linking protocol.
pytest-homeassistant-custom-component pins the exact Home Assistant release it
was built for, so the suite needs a virtual environment where that pin is
satisfied. Do not run it from a Home Assistant core development environment —
an editable core checkout is on a .dev build and the plugin cannot import
against it.
./utils/setup_test_env.sh # creates .venv and installs .[dev] (no version pins)
./utils/run_tests.sh # full suite in .venv
./utils/run_tests.sh -k heat_pumpNothing is version-pinned on purpose: the test plugin is what selects the Home
Assistant release, so refreshing dependencies (./utils/setup_test_env.sh --fresh) always produces a matching pair and no manual version bumps are
needed. A scheduled CI job runs the suite against the newest upstream releases
to surface breakage before it reaches a release.
If you run pytest directly in an incompatible interpreter, collection is
limited to the parsing-only modules (test_runtime, test_fault_codes,
test_equipment) instead of failing outright.
HACS installs from the release asset, not from GitHub's source snapshot
(hacs.json sets zip_release and filename). Asset downloads are the ones
GitHub counts, so a release without the zip is both uncounted and installed from
a source archive instead.
HACS extracts the asset straight into config/custom_components/poolsync_custom,
so the archive must contain the integration files at its root — no
custom_components/ and no poolsync_custom/ wrapper — which otherwise nests
them one level too deep and breaks the install.
Release steps:
# 1. Bump the version in custom_components/poolsync_custom/manifest.json
# (and pyproject.toml, which is kept in sync).
# 2. Land it on main, then tag and push.
git tag 2.1.1
git push origin 2.1.1Pushing the tag runs .github/workflows/release.yml, which:
- fails if the tag does not match
manifest.json'sversion, - builds
poolsync_custom.zipfrom the contents ofcustom_components/poolsync_custom/(excluding__pycache__), - fails if
manifest.jsonis not at the archive root or a wrapper directory is present, - creates the GitHub release and attaches the asset.
To republish an existing tag, run the Release workflow from the Actions tab and give it the tag name. To do it by hand instead, build the archive from inside the integration directory so the paths are flat, then attach it to the release with the exact filename HACS expects:
cd custom_components/poolsync_custom
zip -r -9 ../../../poolsync_custom.zip . -x '*/__pycache__/*' '__pycache__/*' '*.pyc'Note that enabling zip_release means releases published before the asset
existed cannot be installed through HACS any more; users should be on the current
release.
🤖 AI-Assisted Engineering: In today's landscape, leveraging AI tooling is one of the only ways a solo maintainer can build, test, and support a complex multi-device integration at this scale. However, this code is not "vibe coded." Human oversight dictates the architecture, every commit is manually audited, and code is validated against Home Assistant Gold standards with continuous integration test coverage.
This integration is an independent open-source project and is not affiliated with or endorsed by AutoPilot Pool Systems or AquaCal.





