creedda / smartblinds-client

Unofficial python client for the MySmartBlinds smart bridge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python MySmartBlinds Smart Bridge Client

PyPI version

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)

About

Unofficial python client for the MySmartBlinds smart bridge

License:MIT License


Languages

Language:Python 100.0%