p1monitor
Asynchronous Python client for the P1 Monitor
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively under MIT. Install it if you own a P1 Monitor device and need to read its data from Python—particularly for home automation or energy monitoring. The async design and modern Python support make it a straightforward choice for this use case.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or higher; P1 Monitor device must be accessible at the specified host and port.
- Low install friction with only two runtime dependencies (aiohttp and yarl).
- The package is actively maintained with recent commits and supports modern Python versions (3.11+).
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions, provided you include the license notice.
last release 2025-09-15 (333 days) · last repo commit 2026-08-13 · 13 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 73,450 downloads/mo, #14,997 on PyPI
Alternatives
Verify before relying
pip install p1monitor
import asyncio
from p1monitor import P1Monitor
async def main():
async with P1Monitor(host="192.168.1.2", port=80) as client:
smartmeter = await client.smartmeter()
print(smartmeter)
asyncio.run(main())- Whether the package handles authentication or if the P1 Monitor API requires credentials.
- Timeout behavior and retry logic when the P1 Monitor device is unreachable.
- Whether watermeter() and phases() methods are available in all P1 Monitor firmware versions.
What it is and what it does
p1monitor is an async Python client for querying P1 Monitor devices—hardware that reads the P1 serial port of smart meters. It wraps the P1 Monitor's HTTP API to fetch real-time meter data: smart meter readings (gas, power consumption/production, tariff info), three-phase voltage and current, and water meter consumption. The library uses aiohttp for non-blocking HTTP requests, making it suitable for integration into async applications like Home Assistant or other home automation platforms.
You instantiate a P1Monitor client with the device's IP and port, then call async methods (smartmeter(), watermeter(), settings(), phases()) to retrieve structured meter data. The library is actively maintained, supports Python 3.11–3.13, and carries no known vulnerabilities.
Use it for
- Integrate real-time energy consumption data into Home Assistant or other home automation systems.
- Build a dashboard that displays current power draw, gas usage, and tariff information from your smart meter.
- Monitor three-phase voltage and current across your home's electrical installation.
- Track daily and total water consumption when your P1 Monitor supports the water meter API.
- Collect meter readings for billing or energy analysis scripts running on a home server.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively under MIT. Install it if you own a P1 Monitor device and need to read its data from Python—particularly for home automation or energy monitoring. The async design and modern Python support make it a straightforward choice for this use case.
Install
p1monitor on PyPI
Before you install
Low install friction with only two runtime dependencies (aiohttp and yarl). The package is actively maintained with recent commits and supports modern Python versions (3.11+).
Requires Python 3.11 or higher; P1 Monitor device must be accessible at the specified host and port.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions, provided you include the license notice.
Quickstart
pip install p1monitor
import asyncio
from p1monitor import P1Monitor
async def main():
async with P1Monitor(host="192.168.1.2", port=80) as client:
smartmeter = await client.smartmeter()
print(smartmeter)
asyncio.run(main())
Verify before relying
- Whether the package handles authentication or if the P1 Monitor API requires credentials.
- Timeout behavior and retry logic when the P1 Monitor device is unreachable.
- Whether watermeter() and phases() methods are available in all P1 Monitor firmware versions.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesaiohttpyarl |
| Maintenance | Actively maintained 333 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 73,450 / month, #14,997 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: AsyncIOIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries :: Python Modules |
Evidence: p1monitor-3.2.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “p1 monitor api client”
- p1monitorAsynchronous Python client library for reading smart meter and water…
- python-homewizard-energyAsyncio client library for communicating with HomeWizard Energy…
- plugwiseProvides Python interface to networked Plugwise devices (Adam, Anna,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also energyzero · greeneye_monitor · python-homewizard-energy · pyTibber · sense-energy · pydiscovergy · ppk2-api · ovoenergy · pyemvue · dlms-cosem