Skip to main content

Read data from GoodWe inverter via local network

Project description

GoodWe

PyPi Python Versions Build Status License

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, BP, DT, MS, D-NS, and XS 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. You should ask manufacturer support to upgrade your ARM firmware (not just inverter firmware) to be able to communicate with the inveter via UDP.)

White-label (GoodWe manufactured) inverters may work as well, e.g. General Electric GEP (PSB, PSC) and GEH models.

Usage

  1. Install this package pip install goodwe
  2. Write down your GoodWe inverter's IP address (or invoke goodwe.search_inverters())
  3. 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())

References and useful links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

goodwe-0.3.2.tar.gz (47.1 kB view details)

Uploaded Source

Built Distribution

goodwe-0.3.2-py3-none-any.whl (36.9 kB view details)

Uploaded Python 3

File details

Details for the file goodwe-0.3.2.tar.gz.

File metadata

  • Download URL: goodwe-0.3.2.tar.gz
  • Upload date:
  • Size: 47.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for goodwe-0.3.2.tar.gz
Algorithm Hash digest
SHA256 1d0b8cfa623c7e61c6152aac3d56a278dbd73bd09589566c3dcfd6e34144afae
MD5 66af3159e8b933faf40dc52965affc77
BLAKE2b-256 1484fb6a87d329233bbba45b4b3027beefef50bac500b669f1e296a85b4d4d0f

See more details on using hashes here.

File details

Details for the file goodwe-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: goodwe-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 36.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for goodwe-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2644b17731454d1f68e9c9930f290426ef5acaacb4bd5cc322b05d013fb8f116
MD5 e52d1c3bed0ad8f0fa52d2eeb21aa085
BLAKE2b-256 82153fe7f28a7608ced6e857a0c8f362485e99b0d18a80345731c5b0659a1e29

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page