Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2,048 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŠ Violet Pool Controller for Home Assistant

English | Deutsch

Project website ยท Documentation ยท Releases

GitHub Release Downloads GitHub Activity License HACS

Discord Community Forum GitHub Sponsor Ko-Fi Buy Me A Coffee PayPal Tesla Referral

Release Management

Turn your pool into a smart pool! Complete local control and monitoring of your Violet Pool Controller โ€“ no cloud, no subscription.

Violet Home Assistant Integration


๐ŸŒŸ Features

Category What's Included
๐ŸŒก๏ธ Climate Control Heater & solar with thermostat and scheduling
๐Ÿงช Chemical Dosing Automatic pH & chlorine with safety limits (standalone dosing supported)
๐Ÿ’ง Filter & Pump 3-speed pump, automatic backwash
๐ŸŠ Cover Weather-dependent cover automation
๐Ÿ’ก LED / DMX 8 controllable scenes, RGB lighting
๐Ÿ“Š Monitoring pH, ORP, temperatures, pressure, flow rate, runtime
โšก Energy PV surplus mode for solar heating
๐Ÿ”’ Security 100% local, SSL/TLS, rate limiting, input sanitization
๐Ÿ”ง Multi-Controller Multiple pools in a single HA instance

โšก Quick Start

1. HACS โ€“ Add Integration

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

HACS โ†’ Integrations โ†’ โ‹ฎ โ†’ Custom Repositories
URL: https://github.com/xerolux/violet-hass  |  Category: Integration
โ†’ Download "Violet Pool Controller" โ†’ Restart HA

2. Set Up Integration

Settings โ†’ Devices & Services โ†’ Add Integration โ†’ "Violet Pool Controller"
Enter host IP (and adjust port if different from 80) โ†’ Select features โ†’ Done!

3. Ready! ๐ŸŽ‰ Your pool is now smart.

Detailed guide โ†’ Installation & Setup


๐Ÿ“– Documentation (Wiki)

The full documentation is available in the Wiki:

Section Pages
๐Ÿš€ Getting Started Installation & Setup ยท Configuration ยท Multi-Controller
๐Ÿ“Š Entities Sensors ยท Switches ยท Climate ยท Device States
โš™๏ธ Automation Services Reference ยท Automation Examples
๐Ÿ”ง Operation Troubleshooting ยท Diagnostics ยท Error Codes ยท FAQ
๐Ÿ” Security Security & SSL ยท Advanced Logging
๐Ÿ‘ฉโ€๐Ÿ’ป Development Contributing ยท API Reference ยท Changelog

๐Ÿ”‘ Requirements

  • Home Assistant 2026.5.0+ (tested up to 2026.x)
  • HACS (Installation guide)
  • Violet Pool Controller accessible on your local network
  • Python runtime managed by Home Assistant 2026.5.0+
  • Standalone API package supports Python 3.12+

๐Ÿ Python API Package

PyPI Python Versions

The HTTP client powering this integration is developed in this repo and published to PyPI as violet-poolController-api โ€” usable standalone, without Home Assistant:

pip install violet-poolController-api
import aiohttp
from violet_poolcontroller_api.api import VioletPoolAPI

async with aiohttp.ClientSession() as session:
    api = VioletPoolAPI(host="192.168.1.50", session=session,
                        username="user", password="secret")
    readings = await api.get_readings()          # all ~400 values
    print(readings["pH_value"], readings["orp_value"])
    await api.manual_dosing("Chlor", 60)         # 60s manual dosing run

Built-in safety & robustness: token-bucket rate limiting, circuit breaker, retry with backoff, input sanitization, SSL/TLS verification, standalone-dosing mode.

๐Ÿ“ฆ Full API docs: API Reference ยท Package README ยท Changelog


Repository Structure

This repository contains the Home Assistant integration. The API client lives in its own repository (violet-poolController-api, published to PyPI) and is installed as a dependency.

Directory Description
custom_components/violet_pool_controller/ Home Assistant integration (HACS)
tests/ HA integration tests
docs/ Documentation & wiki sources

Development setup:

pip install -r requirements-dev.txt   # installs HA + the violet-poolController-api package
pytest tests/                         # HA integration test suite

Releases: the HA integration is released via v* tags (HACS). The API package is released independently in its own repository via api-v* tags (automatic PyPI publish + GitHub release).

See ARCHITECTURE.md for detailed structure and development guide.


๐Ÿ’ Support

This integration is developed in my spare time:

GitHub Sponsor Ko-Fi Buy Me A Coffee

  • โญ Star the repository on GitHub
  • ๐Ÿ› Report bugs
  • ๐Ÿ“ข Share with other pool owners
  • ๐Ÿ’ฌ Help others in the Community & Discord

๐ŸŠ About the Violet Pool Controller

Violet Pool Controller

The VIOLET Pool Controller by PoolDigital GmbH & Co. KG is a premium smart pool automation system developed in Germany โ€“ with a JSON API for seamless Home Assistant integration.

Disclaimer:

This is an unofficial, community-driven project. It is not affiliated with, endorsed by, or associated with PoolDigital GmbH & Co. KG in any way. "VIOLET" and any related trademarks are the property of their respective owners.

โš ๏ธ WARNING - USE AT YOUR OWN RISK: This software interacts with physical hardware and automation systems that control water chemistry (pH, Chlorine/ORP) and electrical equipment (pumps, heaters). A bug, network issue, or incorrect configuration could result in hardware damage, unsafe water conditions, or other hazards. By using this software, you acknowledge and agree that you are solely responsible for any damage, injury, or loss of property that may occur. Please always monitor your pool's chemistry and hardware independently.


Made with โค๏ธ for the Home Assistant & Pool Community

GitHub Discord Email


About

This custom integration allows you to monitor and control your pool equipment using the Violet Pool Controller in Home Assistant. It includes sensors, binary sensors, and switches to track various pool metrics and perform essential operations.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages