Skip to main content

Asynchronous Python API for Solarman devices

Project description

Solarman

Python client for interacting with Solarman devices over local network.

Installation

pip install solarman-opendata

Usage

Basic Example

import asyncio
import aiohttp

from solarman_opendata.solarman import Solarman

async def main():
    host = "190.160.3.43"
    port = 8080

    async with aiohttp.ClientSession() as session:
        client = Solarman(
            session=session,
            host=host,
            port=port
        )

        data = await client.fetch_data()
        print(data)

if __name__ == "__main__":
    asyncio.run(main())

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

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

solarman_opendata-0.0.2.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

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

solarman_opendata-0.0.2-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file solarman_opendata-0.0.2.tar.gz.

File metadata

  • Download URL: solarman_opendata-0.0.2.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.7

File hashes

Hashes for solarman_opendata-0.0.2.tar.gz
Algorithm Hash digest
SHA256 88fad7a7d7b4334e622ff22d25e76117e65e145be9d164e0ccfcfb2fbdfc2b1b
MD5 fb2d59880aad7a68084d5daaa9e88bfd
BLAKE2b-256 c76a9cfd93efd7e561abb454d428e8f0a0c80a8d4e9512d7a2334f1998dc9b6b

See more details on using hashes here.

File details

Details for the file solarman_opendata-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for solarman_opendata-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3eb90630b4bfd0dce9087b0f5db1da804ec38e9cb010d8720ddf65863cea2f6a
MD5 b6590d150a27c180ec29413c45798476
BLAKE2b-256 f66f79da8e25e199e32cd302f66400d835941cc7ac257111e9d4dc88fb3256bc

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