Metadata-Version: 2.1
Name: somfy-mylink
Version: 0.0.2
Summary: Python API bindings for the Somfy MyLink Synergy API
Home-page: https://github.com/advait/py-somfy-mylink
Author: Advait Shinde
Author-email: advait.shinde@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 4 - Beta
Classifier: Topic :: Software Development :: Libraries
Description-Content-Type: text/markdown

somfy-mylink
============

TCP API bindings for the [Somfy MyLink Synergy API](https://www.somfysystems.com/somfy-synergy-api).

## Usage

```python
from somfy_mylink import SomfyMyLink

somfy = SomfyMyLink('yoursystemid', '192.168.86.31')
cover = somfy.target('CC104FA2.1')

# Async open the shade
await cover.up()

# Async close the shade
await cover.down()

# Async stop the shade motion
await cover.stop()
```

## System ID and Target IDs
The System ID and Target IDs can be found in the "Integration Report"  in your Somfy MyLink app:
![Screenshot](https://user-images.githubusercontent.com/504011/47191668-7ff32480-d2fd-11e8-9b3a-573e0388aebf.png)


