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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file solarman_opendata-0.0.3.tar.gz.
File metadata
- Download URL: solarman_opendata-0.0.3.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20ed1af55411e6006eb43d9e3ea653e281ab18a525de2a6b6724a1bd6ec4deff
|
|
| MD5 |
554c91c5fb345d556933b28e73c63947
|
|
| BLAKE2b-256 |
125cfaf369ac6c3fafa23a723f9850f4269f6be4f862c524e4668bd7d9a45923
|
File details
Details for the file solarman_opendata-0.0.3-py3-none-any.whl.
File metadata
- Download URL: solarman_opendata-0.0.3-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f10808956f7ce4c1065e87b5349b03fc9884f2f0286394ab635564940951cb4
|
|
| MD5 |
30ffe16d4ef130160fe559a2a2174205
|
|
| BLAKE2b-256 |
c0588e02e9975184c8850ea0de9eb5c9736745978cf0a7b3b7f2a1b80c16abe3
|