Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

beSMArt-1.0.1-py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page