Introduction
The my-pv-lib Python package provides easy useage of products from my-pv GmbH in python projects.
Installation
pip install my-pv-lib
Usage
The Python package basicaly provides the following functionalities:
- Device implementations for access device data and settings in own projects like for example home automation solutions.
- Connecting Devices to Cloud Services
- Additional Tools
Devices
A device will handle connections to a real device and provides access to settings and data in an easy to use way. All devices provide acces to data via so called channels. Which channels are provided is depending on the specific device and it's functionalities an is descriped in the device description. Channels can be read-only, write-only or read-and-write depending on the devices capabilities. Using a channel in a wrong direction will cause an exception.
Power Meter
Channels
- power: power measured in W
Constructor
Powermeter(Serialnumber, [Hostname or IP Address of the device])`
Examples
Getting latest power value by reading the power channel
device = Powermeter("1530638", None)
device.readallregisters()
power = device.getchannelvalue("power")
print("Channel power: " + str(power))
Contribute
Please report bug, feature requests or your own code to info@my-pv.com
Metadata
Release files for my-pv-lib 1.2202.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| my-pv-lib-1.2202.2.tar.gz | 45.4 kB | Without provenance | Details for my-pv-lib-1.2202.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| my_pv_lib-1.2202.2-py3-none-any.whl | Python 3 | none | any | Details for my_pv_lib-1.2202.2-py3-none-any.whl |
Total release size: 105.8 kB
Release files / my-pv-lib-1.2202.2.tar.gz
| Download URL | my-pv-lib-1.2202.2.tar.gz |
|---|---|
| Size | 45.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa3b7949c8004cbd1fe9e19326faa03a455b40c23f93f8f2c82e6abe2fb16188
|
|
BLAKE2b-256 checksum How to use checksums |
a0bec84813b966561696bb87eeeb5f6d35417ee4ff522c9b45bd2e156a6db427
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9
|
Release files / my_pv_lib-1.2202.2-py3-none-any.whl
| Download URL | my_pv_lib-1.2202.2-py3-none-any.whl |
|---|---|
| Size | 60.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ccf3045dc716e87c3f4a7b075676414b01ec26f8592d6f75ddb5c863711ab833
|
|
BLAKE2b-256 checksum How to use checksums |
8d13aa8386ab14d913fc9404895be84a55ef248b3b552224464d9734061579a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9
|
Security for my-pv-lib 1.2202.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.