All Projects → kellerza → pysma

kellerza / pysma

Licence: MIT license
Async library for SMA Solar's WebConnect interface

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pysma

custom-brand-icons
Custom brand icons for Home Assistant
Stars: ✭ 242 (+450%)
Mutual labels:  homeassistant
PlexMeetsHomeAssistant
Custom card which integrates plex into Home Assistant and makes it possible to launch movies or tv shows on TV with a simple click
Stars: ✭ 73 (+65.91%)
Mutual labels:  homeassistant
ha-sengledapi
Home Assistant Integration for Sengled Bulbs. This is a custom component to allow control of Sengled Bulbs in Homeassistant using the unofficial Sengled API. Please note this mimics the Sengled app and therefore Sengled may cut off access at anytime.
Stars: ✭ 85 (+93.18%)
Mutual labels:  homeassistant
hassio-addons
My homeassistant addons
Stars: ✭ 646 (+1368.18%)
Mutual labels:  homeassistant
midea-ac-py
This is a library to allow communicating to a Midea appliance via the Midea cloud.
Stars: ✭ 72 (+63.64%)
Mutual labels:  homeassistant
winix
Home Assistant component for C545 Winix Air Purifier
Stars: ✭ 55 (+25%)
Mutual labels:  homeassistant
HA Garage Doors
Using Home Assistant and MQTT to open garage doors
Stars: ✭ 22 (-50%)
Mutual labels:  homeassistant
homeassistant-coronavirus-hessen
[Unmaintained] Home Assistant component to scrape the current SARS-CoV-2 data for the German state of Hessen from the website of the Hessisches Ministerium für Soziales und Integration.
Stars: ✭ 15 (-65.91%)
Mutual labels:  homeassistant
charger-card
A lovelace card for electrical vehicle (EV) home chargers and charging robots.
Stars: ✭ 57 (+29.55%)
Mutual labels:  homeassistant
ha-zha-new
update of the zha component
Stars: ✭ 57 (+29.55%)
Mutual labels:  homeassistant
HomeAssistant-Cupertino-Icons
Apple SF Symbols icons for Home Assistant! (3000+ icons)
Stars: ✭ 100 (+127.27%)
Mutual labels:  homeassistant
espkyogate
Serial Bridge for Bentel Kyo Alarm System.
Stars: ✭ 22 (-50%)
Mutual labels:  homeassistant
hass-foldingathomecontrol
Homeassistant integration for FoldingAtHomeControl
Stars: ✭ 15 (-65.91%)
Mutual labels:  homeassistant
hassio-addons
➕ Docker add-ons for Hass.io
Stars: ✭ 33 (-25%)
Mutual labels:  homeassistant
terneo thermostat
Terneo thermostat component for Home Assistant
Stars: ✭ 24 (-45.45%)
Mutual labels:  homeassistant
home-assistant-miele
Miele integration for Home assistant
Stars: ✭ 101 (+129.55%)
Mutual labels:  homeassistant
homeassistant-microsoft-todo
The integration allows you to create tasks in Microsoft To Do from Home Assistant.
Stars: ✭ 86 (+95.45%)
Mutual labels:  homeassistant
climate ewelink
Control your Midea air conditioner devices via the eWeLink cloud
Stars: ✭ 42 (-4.55%)
Mutual labels:  homeassistant
home-assistant-omnik-inverter
Read the current, daily and total Wh from your Omnik Inverter via local network (no cloud!)
Stars: ✭ 45 (+2.27%)
Mutual labels:  homeassistant
home-assistant-theme-outline
🎨 Home Assistant Theme: Outline
Stars: ✭ 20 (-54.55%)
Mutual labels:  homeassistant

pysma library

Workflow Status Codecov Documentation Status

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

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

Other SMA interfaces include SBFspot 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


This library uses Webconnect. Modbus is not supported

If you can access your SMA via your browser, this might work for you.


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 or more recently from the Energy management feature in Home Assistant

How to debug this addon

  1. Ensure you can access your SMA from your browser

To enable detailed logging in Home Assistant, you can add the following to your configuration

logger:
  default: info
  logs:
    homeassistant.components.sma: debug
    pysma: debug

Energy Meter

This library can read the second version of the emnergy meter, there is a seperate Home Assistant OS Addon that could also read older Energy Meters directly. See Energy Meter

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].