Skip to main content

Read solar panel data from a GoodWe inverter

Project description

GoodWe

Get inverter data from a Goodwe XS inverter

This only has been tested with a GoodWe GW1000XS inverter.

Usage

  1. Your GoodWe inverter should already be connected to your home network, and accept UDP messages at port 8899.
  2. Write down your GoodWe inverter's IP address
  3. Install this package pip install goodwe
  4. Create an processor and inverter instance, example below
import asyncio
from goodwe import GoodWeInverter, GoodWeXSProcessor

async def get_data():
    ip_address = '192.168.200.100'
    processor = GoodWeXSProcessor(validator_func=None)
    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())

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.1.1.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

goodwe-0.1.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: goodwe-0.1.1.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for goodwe-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e4c8119ef6652b3001a651c2ef7b3c770bc982a8f63692c0c33af4e844bd90a6
MD5 35e9384f943d5f84cc69a93a7d990ef0
BLAKE2b-256 b6e9a3bf67070025625589ecc98d7f6eedf79c38f695dee7b5079f8ddd48641c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: goodwe-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for goodwe-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 757ce837c682a2bc8d15447dc0993c07d90dcfe813642ee3674062aa2681a6e4
MD5 8747649ef86098791bff1c93c014ae7e
BLAKE2b-256 f0e18ce18a6c01adf370a8bd31beb25b6548177eda28d020ce419eae61deddac

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