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.

Source Distribution

pysma-0.3.4.tar.gz (5.4 kB view hashes)

Uploaded Source

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