homebridge-klereo-connect
v1.2.0
Published
Homebridge plugin for Klereo Connect swimming pool automation system
Maintainers
Readme
homebridge-klereo-connect
Homebridge plugin for Klereo Connect swimming pool automation system. Control your pool lights, filters, heaters, and other equipment through Apple HomeKit.
Features
- Automatic discovery of all pools and outputs on your Klereo account
- Real-time status updates with configurable polling
- Control pool lights, filters, pumps, and other equipment as HomeKit switches
- Automatic token refresh for uninterrupted service
- Custom naming support for outputs
- Support for multiple pools on a single account
Prerequisites
Before installing this plugin, ensure you have:
- A Klereo Connect account with at least one pool configured
- Homebridge installed and running (v1.8.0 or higher)
- Node.js (v20, v22, or v24)
Installation
Install via Homebridge UI (Recommended)
- Search for "Klereo Connect" in the Homebridge UI
- Click "Install"
- Configure the plugin with your Klereo credentials
- Restart Homebridge
Install via Command Line
npm install -g homebridge-klereo-connectConfiguration
Add the following to your Homebridge config.json:
{
"platforms": [
{
"platform": "KlereoConnect",
"name": "Klereo Connect",
"username": "[email protected]",
"password": "your-password",
"pollingInterval": 30000
}
]
}Configuration Options
| Field | Required | Description | Default |
|-------|----------|-------------|---------|
| platform | Yes | Must be KlereoConnect | - |
| name | Yes | Display name for the platform | Klereo Connect |
| username | Yes | Your Klereo Connect email address | - |
| password | Yes | Your Klereo Connect password | - |
| pollingInterval | No | How often to check for status updates (milliseconds) | 30000 (30 seconds) |
Configuration via Homebridge UI
If you're using the Homebridge Config UI X, you can configure the plugin through the web interface:
- Navigate to the "Plugins" tab
- Find "Klereo Connect" and click "Settings"
- Enter your credentials and adjust settings as needed
- Click "Save"
Usage
Once configured, the plugin will:
- Authenticate with your Klereo account
- Discover all pools and their configured outputs
- Create HomeKit switches for each active output
- Continuously monitor status and update HomeKit accordingly
Controlling Outputs
Each pool output (lights, filters, pumps, etc.) appears as a switch in the Home app. Simply toggle the switch to turn the output on or off.
Custom Output Names
Output names are automatically pulled from your Klereo Connect configuration. If you've renamed an output in the Klereo app (e.g., "Pool Lights", "Filter Pump"), those names will appear in HomeKit.
Multiple Pools
If you have multiple pools on your Klereo account, each pool's outputs will be discovered and configured automatically. Accessories will be named with the format: [Pool Name] - [Output Name]
Supported Output Types
The plugin supports all Klereo Connect output types, including:
- Pool Lights
- Spa Lights
- Filter Pumps
- Heaters
- Pool Cleaners/Robots
- Water Features
- Any custom outputs configured in your Klereo system
Troubleshooting
Authentication Errors
If you see authentication errors in the logs:
- Verify your username and password are correct
- Check that your Klereo Connect account is active
- Try logging into the Klereo Connect mobile app to ensure your credentials work
No Pools Found
If the plugin reports "No pools found":
- Ensure you have at least one pool configured in your Klereo Connect account
- Check that the pool is properly set up and online
- Verify your account has appropriate access permissions
Outputs Not Appearing
If some outputs don't appear in HomeKit:
- Check that the output is configured in the Klereo Connect app
- Ensure the output has been used at least once (outputs with all zero values are skipped)
- Restart Homebridge to force a re-discovery
State Not Updating
If output states aren't updating in HomeKit:
- Check the
pollingIntervalsetting in your config (lower values update more frequently) - Verify your internet connection is stable
- Check Homebridge logs for API errors
Viewing Logs
Enable debug logging by setting the Homebridge debug mode:
homebridge -DOr in Homebridge UI, enable debug mode in the settings.
Development
Building from Source
# Clone the repository
git clone https://github.com/lachlanlaycock/homebridge-klereo-connect.git
cd homebridge-klereo-connect
# Install dependencies
npm install
# Build the plugin
npm run build
# Link for local testing
npm link
# Watch for changes
npm run watchRunning Tests
# Run unit tests
npm test
# Run live API integration test (requires credentials)
[email protected] KLEREO_PASSWORD=yourpass npm run test:liveCode Quality
# Lint the code
npm run lintAPI
This plugin uses the Klereo Connect API. For API documentation, see API.md.
Support
For issues, questions, or feature requests:
- Open an issue on GitHub
- Check existing issues for solutions
- Provide logs and configuration details (redact sensitive information)
Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes with tests
- Submit a pull request
Acknowledgments
- Homebridge - HomeKit support for the impatient
- Klereo Connect - Pool automation system
License
This project is licensed under the MIT License - see the LICENSE file for details.
Disclaimer
This plugin is not officially associated with or endorsed by Klereo. Use at your own risk.
