Skip to main content

A Python client for the EG4 Solar API

Project description

EG4 Solar Client

This is a client for the EG4 solar monitoring API.

Installation

pip install eg4-solar-client

Usage

from eg4_solar_client import EG4Client

    # Your EG4 account credentials.
    account = "your_account"
    password = "your_password"
    device_serial_number = "your_device_serial_number"

    # Instantiate the client.
    client = EG4Client(
        account=account,
        password=password,
        device_serial_number=device_serial_number
    )

    # Make the actual request to fetch inverter energy info.
    data = client.get_inverter_energy_info()

The data variable will contain a JSON object with the data returned by your device.

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

eg4_solar_client-0.1.1.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eg4_solar_client-0.1.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eg4_solar_client-0.1.1.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.27

File hashes

Hashes for eg4_solar_client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a27efff6e1adcc1a0df2c24f7ab0e0610c27a093bc711b487079ada1ac9596e3
MD5 83584be086eb56eedd8f226eb0f2e5a3
BLAKE2b-256 bfee8e0edc4333b3182f424e079f62174d692777d8ef38db82de4d7d8ea7167b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eg4_solar_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0ede375d45b754b23e9ebd5d20af8db270fceaf791d77cf74b99e88daf0c70e8
MD5 b0cbba8a7ea89860a07a290eef5f0e05
BLAKE2b-256 c429c9a5522eaccd2b5cb88b7b9146dfbb98d3688b30795f070b80691f20dd61

See more details on using hashes here.

Supported by

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