sunnyportal-py
Python module to access PV systems in Sunny Portal.
sunnyportal2pvoutput
The script sunnyportal2pvoutput can be used to send data to PVOutput. It uses a config file to store the credentials for Sunny Portal and the API Key and System Id for PVOutput.
How to run
- Clone or download the repository.
- Enter the directory and run:
PYTHONPATH=. ./bin/sunnyportal2pvoutput --dry-run sunnyportal.config - Enter the requested information and verify that the script is able to connect to Sunny Portal.
- The information is saved in sunnyportal.config and can be edited/deleted if you misstype anything.
- Once it works, replace --dry-run with e.g. --output to upload the last seven days output data to pvoutput or --status to upload data for the current day.
- Add --quiet to silence the output.
$ PYTHONPATH=. ./bin/sunnyportal2pvoutput sunnyportal.config --help
usage: sunnyportal2pvoutput [-h] [-s] [-o] [-q] [-n] config
Connect Sunny Portal to PVoutput.org
positional arguments:
config Configuration file to use
optional arguments:
-h, --help show this help message and exit
-s, --status Report current status
-o, --output Report last output(s)
-q, --quiet Silence output
-n, --dry-run Don't send any data
Metadata
Release files for sunnyportal-py 0.0.4
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 | |
|---|---|---|---|---|
| sunnyportal_py-0.0.4.tar.gz | 7.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sunnyportal_py-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.3 kB
Release files / sunnyportal_py-0.0.4.tar.gz
| Download URL | sunnyportal_py-0.0.4.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1dbaccfadc2d87e0fe0b5f273ec4a4d30d1776b327b05434f400e4cfa877fc2d
|
|
BLAKE2b-256 checksum How to use checksums |
df1a5e9a624ee3b5aa30819631fd96bab41d989d9c0c5dcdc09d2027ca8dec4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.3
|
Release files / sunnyportal_py-0.0.4-py3-none-any.whl
| Download URL | sunnyportal_py-0.0.4-py3-none-any.whl |
|---|---|
| Size | 20.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f25ff930577529d95a95d9386f79d16156438f306ca1a08e71c0343ba677ec9f
|
|
BLAKE2b-256 checksum How to use checksums |
1d85090ebc1e1c654f6ffb8b13500addc071051effefe9a7b25f76cf8038044c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.3
|
Security for sunnyportal-py 0.0.4
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.