Skip to main content

Library to interface an SMA Solar WebConnect module

Project description

pysma library

Workflow Status Codecov Documentation Status

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.6.2.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pysma-0.6.2-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file pysma-0.6.2.tar.gz.

File metadata

  • Download URL: pysma-0.6.2.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6

File hashes

Hashes for pysma-0.6.2.tar.gz
Algorithm Hash digest
SHA256 9ca9ce5953d1166ca5c1479bd32029307756f2f1af3c22e538691918d602d76f
MD5 16cb344a531918560119b4873d516594
BLAKE2b-256 f46db865d47bd3ffe1c2f18f213ade4a144254d601dd79dad98e81599a88af96

See more details on using hashes here.

File details

Details for the file pysma-0.6.2-py3-none-any.whl.

File metadata

  • Download URL: pysma-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6

File hashes

Hashes for pysma-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8710633ea0c0149c3fa56ae9e580bf9b8f617e4641d8cc5a5352cd776344e186
MD5 a90a02de19a98b79b632f0c19e879e3e
BLAKE2b-256 781da596786fda8ce5a83877b55f2854b7237583a5803e051c1a5a3b713a0566

See more details on using hashes here.

Supported by

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