Metadata-Version: 2.1
Name: smartblinds-client
Version: 0.3
Summary: Unofficial client for the MySmartBlinds Smart Bridge
Home-page: http://github.com/ianlevesque/smartblinds-client
Author: Ian Levesque
Author-email: ian@ianlevesque.org
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Description-Content-Type: text/markdown
Requires-Dist: auth0-python
Requires-Dist: requests

# Python MySmartBlinds Smart Bridge Client

[![PyPI version](https://badge.fury.io/py/smartblinds-client.svg)](https://badge.fury.io/py/smartblinds-client)

This is an unofficial client for the [MySmartBlinds Smart Bridge](https://www.mysmartblinds.com/products/smart-hub). You 
must have configured your blinds and bridge with the official iOS or Android app first in order to use this.

USE AT YOUR OWN RISK.

## Usage

```python

from smartblinds_client import SmartBlindsClient

client = SmartBlindsClient("email", "password")
client.login()

blinds, rooms = client.get_blinds_and_rooms()
print(blinds)
print(rooms)
print(blinds[0].name)

states = client.get_blinds_state(blinds)
print(states[blinds[0].encoded_mac].position)

client.set_blinds_position(blinds, 100)

```


