kohler-anthem
Python library for controlling Kohler Anthem digital showers.
DISCLAIMER: This is an unofficial library developed independently for personal use. It is not affiliated with, endorsed by, or supported by Kohler Co. This library was reverse-engineered from the Kohler Konnect mobile app and may break at any time if Kohler modifies their APIs. The author provides no warranty, assumes no liability, and offers no support for this software. Use at your own risk. The author is not responsible for any damage to your devices, property, or any other consequences resulting from the use of this library.
Installation
pip install kohler-anthem
Quick Start
import asyncio
from kohler_anthem import KohlerAnthemClient, KohlerConfig, Outlet
async def main():
config = KohlerConfig(
username="user@example.com",
password="password",
client_id="...",
apim_subscription_key="...",
api_resource="...",
)
async with KohlerAnthemClient(config) as client:
# Discover devices
customer = await client.get_customer("customer-id")
device = customer.get_all_devices()[0]
# Get state
state = await client.get_device_state(device.device_id)
print(f"Running: {state.is_running}")
# Control
await client.turn_on_outlet(device.device_id, Outlet.SHOWERHEAD, temperature_celsius=38.0)
await client.turn_off(device.device_id)
asyncio.run(main())
Configuration
| Parameter | Description |
|---|---|
username |
Kohler account email |
password |
Kohler account password |
client_id |
Azure AD B2C client ID |
apim_subscription_key |
Azure APIM subscription key |
api_resource |
Azure AD B2C API resource ID |
Obtaining Credentials
The client_id, api_resource, and apim_subscription_key must be extracted from the Kohler Konnect mobile app. See credential-extraction for automated tools and instructions.
Development
make deps # Install dependencies
make check # Run lint, typecheck, tests
make help # Show all targets
See Makefile for all available targets.
License
MIT
Metadata
Release files for kohler-anthem 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kohler_anthem-0.2.0.tar.gz | 30.6 kB | Without provenance | Details for kohler_anthem-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kohler_anthem-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for kohler_anthem-0.2.0-py3-none-any.whl |
Total release size: 60.2 kB
Release files / kohler_anthem-0.2.0.tar.gz
| Download URL | kohler_anthem-0.2.0.tar.gz |
|---|---|
| Size | 30.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75a36b1acdd37223302dd3a37301287d593192ffff5b0839a46057f2923b78ed
|
|
BLAKE2b-256 checksum How to use checksums |
b8e71afb0c23d9b90792d6d589f3b7e0eb95e2fb916a4b79d18e59df1de9ff69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / kohler_anthem-0.2.0-py3-none-any.whl
| Download URL | kohler_anthem-0.2.0-py3-none-any.whl |
|---|---|
| Size | 29.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad16408e4c6e9a5095cc8dc6e40aab8aff144e21f7f3dccd4b33424d3aec5f28
|
|
BLAKE2b-256 checksum How to use checksums |
e3b0be1464d16c824bff50e9ff470805f5fe05188548b574f51d0fd13c4a9fce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for kohler-anthem 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.