GoodWe
Library for connecting to GoodWe inverter over local network and retrieving runtime sensor values and configuration parameters.
It has been reported to work on GoodWe ET, EH, BT, BH, ES, EM, DT, D-NS, XS and BP families of inverters. It may work on other inverters as well, as long as they listen on UDP port 8899 and respond to one of supported communication protocols.
(If you can't communicate with the inverter despite your model is listed above, it is possible you have old ARM firmware version. Usually the ARM firmware (not inverter firmware) has to be >=13. You should ask manufacturer support to upgrade your ARM firmware to be able to communicate with inveter via UDP.)
Usage
- Install this package
pip install goodwe - Write down your GoodWe inverter's IP address (or invoke
goodwe.search_inverters()) - Connect to inverter and read all runtime data, example below
import asyncio
import goodwe
async def get_runtime_data():
ip_address = '192.168.1.14'
inverter = await goodwe.connect(ip_address)
runtime_data = await inverter.read_runtime_data()
for sensor in inverter.sensors():
if sensor.id_ in runtime_data:
print(f"{sensor.id_}: \t\t {sensor.name} = {runtime_data[sensor.id_]} {sensor.unit}")
asyncio.run(get_runtime_data())
or the old way (for XS inverters only), create a processor and inverter instance:
import asyncio
from goodwe import GoodWeInverter, GoodWeXSProcessor
async def get_data():
ip_address = '192.168.200.100'
processor = GoodWeXSProcessor()
inverter = GoodWeInverter(inverter_address=(ip_address, 8899), processor=processor)
data = await inverter.request_data()
print(f'power is {data.power} at {data.date:%H:%M:%S}')
asyncio.run(get_data())
References and useful links
Metadata
Release files for goodwe-louigie 1.0.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 | Actions |
|---|---|---|---|---|
| goodwe_louigie-1.0.1.tar.gz | 30.5 kB | Without provenance | Details for goodwe_louigie-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| goodwe_louigie-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for goodwe_louigie-1.0.1-py3-none-any.whl |
Total release size: 71.2 kB
Release files / goodwe_louigie-1.0.1.tar.gz
| Download URL | goodwe_louigie-1.0.1.tar.gz |
|---|---|
| Size | 30.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2d955c0c42314721690d71097cfea81d9d13692d984006fed49836f96a2eab4
|
|
BLAKE2b-256 checksum How to use checksums |
b037e3da454e3fc5be249774b70264b007f46f87d4283e49b260863eec855b34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.9
|
Release files / goodwe_louigie-1.0.1-py3-none-any.whl
| Download URL | goodwe_louigie-1.0.1-py3-none-any.whl |
|---|---|
| Size | 40.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3734c0afb96e6f5624d122c6ee3601e592442316d444b4ee18f91898f6fe18c0
|
|
BLAKE2b-256 checksum How to use checksums |
5def004a9329074f3e55999363b8add1fa91156e044a6e0a9d7190dfc5cba206
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.9
|
Security for goodwe-louigie 1.0.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.
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.