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


🏊 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