goodwe
Read data from GoodWe inverter via local network
Decision gist · record as of 2026-08-14
Yes. The library is production-stable, actively maintained, has zero security vulnerabilities, no external dependencies, and works across modern Python versions. Install it if you own a GoodWe inverter or compatible model and need programmatic local-network access to its sensor data. The async API and low friction make it suitable for both standalone scripts and integration into larger home automation systems.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires network access to a GoodWe inverter listening on UDP port 8899 or TCP port 502 on the local network.
- Low friction install with no runtime dependencies.
- Actively maintained with recent commits and production-stable status across Python 3.8–3.13.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal legal friction for most projects.
last release 2026-03-29 (138 days) · last repo commit 2026-03-29 · 178 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 78,106 downloads/mo, #14,468 on PyPI
Alternatives
Verify before relying
pip install goodwe
import asyncio
import goodwe
async def main():
inverter = await goodwe.connect('192.168.1.14')
data = await inverter.read_runtime_data()
for sensor in inverter.sensors():
if sensor.id_ in data:
print(f"{sensor.name}: {data[sensor.id_]} {sensor.unit}")
asyncio.run(main())- Whether the library handles authentication or encryption for inverter communication beyond protocol support.
- Performance characteristics when polling multiple inverters or high-frequency sensor reads.
- Exact error handling and retry behavior for network timeouts or inverter unavailability.
What it is and what it does
goodwe is an async Python library for querying GoodWe solar inverters and compatible white-label models over a local network. It speaks the GoodWe proprietary protocol (UDP port 8899) and standard Modbus/TCP (port 502), letting you read real-time sensor values and configuration from inverters in the ET, EH, BT, BH, ES, EM, BP, DT, MS, D-NS, XS families and others that respond to these protocols.
The library is designed for home automation and monitoring integrations—it discovers inverters on the network, establishes a connection, and exposes sensor data as a dictionary keyed by sensor ID. It requires only Python 3.8+ and has no external dependencies, making it lightweight for embedded systems or Home Assistant integrations. Async-first design means it integrates cleanly with event loops and concurrent workloads.
Use it for
- Monitor real-time solar generation and inverter status in a home energy management dashboard.
- Integrate GoodWe inverter telemetry into Home Assistant or other home automation platforms.
- Poll multiple inverters on a local network to aggregate performance metrics for analysis.
- Build custom logging or alerting for inverter faults, temperature, or power output thresholds.
- Retrieve configuration parameters from inverters for diagnostic or reporting purposes.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The library is production-stable, actively maintained, has zero security vulnerabilities, no external dependencies, and works across modern Python versions. Install it if you own a GoodWe inverter or compatible model and need programmatic local-network access to its sensor data. The async API and low friction make it suitable for both standalone scripts and integration into larger home automation systems.
Install
goodwe on PyPI
Before you install
Low friction install with no runtime dependencies. Actively maintained with recent commits and production-stable status across Python 3.8–3.13.
Requires network access to a GoodWe inverter listening on UDP port 8899 or TCP port 502 on the local network.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal legal friction for most projects.
Quickstart
pip install goodwe
import asyncio
import goodwe
async def main():
inverter = await goodwe.connect('192.168.1.14')
data = await inverter.read_runtime_data()
for sensor in inverter.sensors():
if sensor.id_ in data:
print(f"{sensor.name}: {data[sensor.id_]} {sensor.unit}")
asyncio.run(main())
Verify before relying
- Whether the library handles authentication or encryption for inverter communication beyond protocol support.
- Performance characteristics when polling multiple inverters or high-frequency sensor reads.
- Exact error handling and retry behavior for network timeouts or inverter unavailability.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 138 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 78,106 / month, #14,468 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/StableIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules |
Evidence: goodwe-0.4.10-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 › “goodwe inverter communication”
- goodweConnects to GoodWe solar inverters over local network to retrieve…
- pyenphaseProvides a Python library to communicate with and control Enphase…
- huawei-solarProvides a Python interface to read and write data from Huawei…
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 growattServer · huawei-solar · pysma · nibe · pyenphase · brother · pymodbus · forecast-solar · pvanalytics · PyCampbellCR1000