nwp500-python
Features
REST and MQTT: The REST API and real-time MQTT (AWS IoT).
Monitoring: Real-time tracking of temperature, power usage, tank charge, and component status.
Control: Remote control of target temperatures, operation modes, and vacation settings.
Scheduling: Reservations, time-of-use (TOU) schedules and anti-legionella cycles.
Simulator (optional): nwp500.sim, a physics model of the heater. It estimates recovery time and available hot water, projects the effect of a change to the schedule or settings, and calibrates against a heater’s own history. nwp-cli simulate runs it against the live heater or a scenario file. Install with pip install nwp500-python[sim].
Getting Started
pip install nwp500-python
Quick Example
import asyncio
from nwp500 import NavienAPIClient, NavienAuthClient, NavienMqttClient
async def main():
async with NavienAuthClient("email@example.com", "password") as auth:
api = NavienAPIClient(auth)
device = await api.get_first_device()
# Status and control go over MQTT.
mqtt = NavienMqttClient(auth)
await mqtt.connect()
try:
got = asyncio.Event()
def on_status(status):
print(f"Tank: {status.dhw_temperature}°F, "
f"setpoint {status.dhw_target_temperature_setting}°F")
got.set()
await mqtt.subscribe_device_status(device, on_status)
await mqtt.request_device_status(device)
await asyncio.wait_for(got.wait(), timeout=20)
await mqtt.set_dhw_temperature(device, 130)
finally:
await mqtt.disconnect()
asyncio.run(main())
Documentation
Tutorials: Start here if you’re new to the library.
How-to Guides: Practical step-by-step recipes for specific tasks.
Reference: Technical descriptions of the API, models, and protocol.
Explanation: How the library and the device work.
Contributing
We welcome contributions! Please see our Contributing Guide for more details.
License
This project is licensed under the MIT License. See the LICENSE.txt file for details.
Metadata
Release files for nwp500-python 9.5.1
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 | |
|---|---|---|---|---|
| nwp500_python-9.5.1.tar.gz | 1.2 MB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nwp500_python-9.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.7 MB
Release files / nwp500_python-9.5.1.tar.gz
| Download URL | nwp500_python-9.5.1.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9aa8a801eca51a341074b08505f41ab5e6b07ce141b9ae71275e37fb963fc84
|
|
BLAKE2b-256 checksum How to use checksums |
e6a547f8f6c13de5423e7ec7ab695a7dbcad658e2fa8f231c246d2aa1fa99c8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logRelease files / nwp500_python-9.5.1-py3-none-any.whl
| Download URL | nwp500_python-9.5.1-py3-none-any.whl |
|---|---|
| Size | 550.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7edc7dda8ba27ffdc3c53f67fd9c1d26a58462318317c8cb3aa9e50f4f0e3741
|
|
BLAKE2b-256 checksum How to use checksums |
648d722a910acea12eee10b8686b8c005008fcd9e93cbaf474bc9fda2d48d77e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logSecurity for nwp500-python 9.5.1
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for nwp500_python-9.5.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logA 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.