Connect to SMA solar panel
Project description
beSMArt
Python connector for SMA solar panel
Usage
from beSMArt import get_data, get_attribute
data = get_data("192.168.1.100") # IP of your SMA device
total_yield = get_attribute(data, "total_yield") # You can check available fields in table underneath
Fields
I got this from https://github.com/kellerza/pysma thanks to @kellerza
API_ID | Field | Unit |
---|---|---|
6100_40263F00 |
grid_power | W |
6100_00465700 |
frequency | Hz |
6100_00464800 |
voltage_l1 | V |
6100_00464900 |
voltage_l2 | V |
6100_00464A00 |
voltage_l3 | V |
6100_40465300 |
current_l1 | A |
6100_40465400 |
current_l2 | A |
6100_40465500 |
current_l3 | A |
6100_0046C200 |
pv_power | W |
6380_40451F00 |
pv_voltage | V |
6380_40452100 |
pv_current | A |
6400_0046C300 |
pv_gen_meter | kWh |
6400_00260100 |
total_yield | kWh |
6400_00262200 |
daily_yield | Wh |
6100_40463600 |
grid_power_supplied | W |
6100_40463700 |
grid_power_absorbed | W |
6400_00462400 |
grid_total_yield | kWh |
6400_00462500 |
grid_total_absorbed | kWh |
6100_00543100 |
current_consumption | W |
6400_00543A00 |
total_consumption | kWh |
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
beSMArt-1.0.1.tar.gz
(2.6 kB
view details)
Built Distribution
File details
Details for the file beSMArt-1.0.1.tar.gz
.
File metadata
- Download URL: beSMArt-1.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3642d23574ecc53fa401232755661320655e30ee1e54357205f3f265d3aaea15 |
|
MD5 | ffe75b7b6f8fe48783b221a928e8cb4b |
|
BLAKE2b-256 | 026619d91ac8ec1d6c2fa894c705b47eb47043c3bf928c1eb7187c698d8b23a4 |
File details
Details for the file beSMArt-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: beSMArt-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b23d1050940d7770b151e41fdd01958a3145f45c992eb9c2de19f2ce3989679 |
|
MD5 | 8f49c9626a266daf0df5f9d2e6f70fad |
|
BLAKE2b-256 | fa54c309d114491b73fa8e982105b5621be7aab14120480b413f1b3da0e374f8 |