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 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 and a Python adaptation

Example usage

See 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.5
Filename, size File type Python version Upload date Hashes
Filename, size pysma-0.3.5.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page