Skip to content
This repository has been archived by the owner on Apr 11, 2020. It is now read-only.

Unofficial python client for the MySmartBlinds smart bridge

License

Notifications You must be signed in to change notification settings

ianlevesque/smartblinds-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python MySmartBlinds Smart Bridge Client

PyPI version Build Status

This is an unofficial client for the MySmartBlinds Smart Bridge. 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

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)