Skip to main content

Library to interface an SMA Solar WebConnect module

Project description

pysma library

image Codecov

SMA Webconnect library for Python 3. The library was originally created to integrate SMA with HomeAssistant

See http://www.sma-solar.com for more information on the SMA solar inverters

Currently tested on Sunnyboy 1.5 and various other Webconnect models, If you can access your SMA via your browser, this might work for you.

Other SMA interfaces include https://sbfspot.codeplex.com/ and a Python adaptation

Example usage

See example.py for a basic usage and tests

Home Assistant

The Home Assistant sma sensor documentation can be found here

By default ssl is disabled (Sunnyboy 1.5 WebConnect uses http://). If you access your SMA WebConnect via https:// you should set both ssl: true and verify_ssl: false.

Daily usage is not always available from the SMA WebConnect interface. It is possible to get around this by using a utility meter

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pysma, version 0.3.4
Filename, size File type Python version Upload date Hashes
Filename, size pysma-0.3.4.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page